MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / strnshash

Function strnshash

extern/btyacc/mstring.c:92–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92unsigned int strnshash(const char *s)
93{
94unsigned int h = 0;
95
96 while (*s) {
97 if (!isspace(*s))
98 h = (h<<5) - h + *s;
99 s++; }
100 return h;
101}

Callers 2

lookup_arg_cacheFunction · 0.85
insert_arg_cacheFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected