MCPcopy Create free account
hub / github.com/ashvardanian/StringZilla / sz_find

Function sz_find

c/stringzilla.c:467–469  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

465}
466
467SZ_DYNAMIC sz_cptr_t sz_find(sz_cptr_t haystack, sz_size_t h_length, sz_cptr_t needle, sz_size_t n_length) {
468 return sz_dispatch_table.find(haystack, h_length, needle, n_length);
469}
470
471SZ_DYNAMIC sz_cptr_t sz_rfind(sz_cptr_t haystack, sz_size_t h_length, sz_cptr_t needle, sz_size_t n_length) {
472 return sz_dispatch_table.rfind(haystack, h_length, needle, n_length);

Callers 6

memmemFunction · 0.70
Str_inFunction · 0.50
Str_like_countFunction · 0.50
findFunction · 0.50
indexOfAPIFunction · 0.50
countAPIFunction · 0.50

Calls 1

findMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…