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

Function dictObjHash

app/redis-6.2.6/src/server.c:1303–1306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1301}
1302
1303uint64_t dictObjHash(const void *key) {
1304 const robj *o = key;
1305 return dictGenHashFunction(o->ptr, sdslen((sds)o->ptr));
1306}
1307
1308uint64_t dictSdsHash(const void *key) {
1309 return dictGenHashFunction((unsigned char*)key, sdslen((char*)key));

Callers

nothing calls this directly

Calls 2

sdslenFunction · 0.85
dictGenHashFunctionFunction · 0.70

Tested by

no test coverage detected