MCPcopy Create free account
hub / github.com/Unity-Technologies/HLSLcc / binstr

Function binstr

src/cbstring/bstrlib.c:1118–1203  ·  view source on GitHub ↗

int binstr (const_bstring b1, int pos, const_bstring b2) * * Search for the bstring b2 in b1 starting from position pos, and searching * forward. If it is found then return with the first position where it is * found, otherwise return BSTR_ERR. Note that this is just a brute force * string searcher that does not attempt clever things like the Boyer-Moore * search algorithm. Because o

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

bssplitstrcbFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected