MCPcopy Create free account
hub / github.com/acl-dev/acl / find

Method find

lib_acl_cpp/src/stdlib/string.cpp:1228–1235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1226}
1227
1228int string::find(char ch) const
1229{
1230 char *ptr = acl_vstring_memchr(vbf_, ch);
1231 if (ptr == NIL) {
1232 return -1;
1233 }
1234 return (int)(ptr - STR(vbf_));
1235}
1236
1237char* string::find(const char* needle, bool case_sensitive) const
1238{

Callers 15

directMethod · 0.45
removeMethod · 0.45
runMethod · 0.45
doServiceMethod · 0.45
runMethod · 0.45
user_loginMethod · 0.45
mainFunction · 0.45
remove_userFunction · 0.45
client_loginFunction · 0.45
client_chatFunction · 0.45
client_kickFunction · 0.45
remove_userFunction · 0.45

Calls 3

acl_vstring_memchrFunction · 0.85
acl_vstring_strstrFunction · 0.85
acl_vstring_strcasestrFunction · 0.85

Tested by 2

test_token_tree_cppFunction · 0.36
test_stdmapFunction · 0.36