MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / dictSdsHash

Function dictSdsHash

src/server.cpp:1402–1404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1400}
1401
1402uint64_t dictSdsHash(const void *key) {
1403 return dictGenHashFunction((unsigned char*)key, sdslen((char*)key));
1404}
1405
1406uint64_t dictSdsCaseHash(const void *key) {
1407 return dictGenCaseHashFunction((unsigned char*)key, sdslen((char*)key));

Callers 4

prefetchKeysAsyncMethod · 0.70
cacheKeyMethod · 0.70
eraseMethod · 0.70
retrieveMethod · 0.70

Calls 2

sdslenFunction · 0.85
dictGenHashFunctionFunction · 0.70

Tested by

no test coverage detected