MCPcopy Create free account
hub / github.com/F-Stack/f-stack / luaS_eqstr

Function luaS_eqstr

freebsd/contrib/openzfs/module/lua/lstring.c:44–47  ·  view source on GitHub ↗

** equality for strings */

Source from the content-addressed store, hash-verified

42** equality for strings
43*/
44int luaS_eqstr (TString *a, TString *b) {
45 return (a->tsv.tt == b->tsv.tt) &&
46 (a->tsv.tt == LUA_TSHRSTR ? eqshrstr(a, b) : luaS_eqlngstr(a, b));
47}
48
49
50unsigned int luaS_hash (const char *str, size_t l, unsigned int seed) {

Callers 6

searchupvalueFunction · 0.85
searchvarFunction · 0.85
closegotoFunction · 0.85
findlabelFunction · 0.85
findgotosFunction · 0.85
checkrepeatedFunction · 0.85

Calls 1

luaS_eqlngstrFunction · 0.85

Tested by

no test coverage detected