MCPcopy Create free account
hub / github.com/James-Jones/HLSLCrossCompiler / bpattern

Function bpattern

src/cbstring/bstrlib.c:1754–1766  ·  view source on GitHub ↗

int bpattern (bstring b, int len) * * Replicate the bstring, b in place, end to end repeatedly until it * surpasses len characters, then chop the result to exactly len characters. * This function operates in-place. The function will return with BSTR_ERR * if b is NULL or of length 0, otherwise BSTR_OK is returned. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

bReplicateFunction · 0.85

Calls 2

ballocFunction · 0.85
bsetstrFunction · 0.85

Tested by

no test coverage detected