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

Function dictSdsHash

src/redis-benchmark.cpp:256–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254}
255
256static uint64_t dictSdsHash(const void *key) {
257 return dictGenHashFunction((unsigned char*)key, sdslen((char*)key));
258}
259
260static int dictSdsKeyCompare(void *privdata, const void *key1,
261 const void *key2)

Callers

nothing calls this directly

Calls 2

sdslenFunction · 0.85
dictGenHashFunctionFunction · 0.70

Tested by

no test coverage detected