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

Function dictGenHashFunction

app/redis-6.2.6/src/dict.c:86–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84uint64_t siphash_nocase(const uint8_t *in, const size_t inlen, const uint8_t *k);
85
86uint64_t dictGenHashFunction(const void *key, int len) {
87 return siphash(key,len,dict_hash_function_seed);
88}
89
90uint64_t dictGenCaseHashFunction(const unsigned char *buf, int len) {
91 return siphash_nocase(buf,len,dict_hash_function_seed);

Callers 9

hashCallbackFunction · 0.70
dictSdsHashFunction · 0.70
dictObjHashFunction · 0.70
dictSdsHashFunction · 0.70
dictEncObjHashFunction · 0.70
dictSdsHashFunction · 0.70
dictCStringKeyHashFunction · 0.70
dictStringHashFunction · 0.70
dictKeyHashFunction · 0.50

Calls 1

siphashFunction · 0.85

Tested by

no test coverage detected