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

Function dictSdsHash

src/redis-cli-cpphelper.cpp:39–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37struct clusterManager cluster_manager;
38
39extern "C" uint64_t dictSdsHash(const void *key) {
40 return dictGenHashFunction((unsigned char*)key, sdslen((char*)key));
41}
42
43extern "C" int dictSdsKeyCompare(void *privdata, const void *key1,
44 const void *key2)

Callers

nothing calls this directly

Calls 2

sdslenFunction · 0.85
dictGenHashFunctionFunction · 0.70

Tested by

no test coverage detected