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

Function memmem

c/stringzilla.c:611–613  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

609
610#if !defined(_MSC_VER)
611SZ_DYNAMIC void *memmem(void const *h, size_t h_len, void const *n, size_t n_len) {
612 return (void *)sz_find(h, h_len, n, n_len);
613}
614
615SZ_DYNAMIC void *memrchr(void const *s, int c_wide, size_t n) {
616 sz_u8_t c = (sz_u8_t)c_wide;

Callers 1

operator()Method · 0.85

Calls 1

sz_findFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…