Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/KeyDB
/ hash
Function
hash
src/semiorderedset.h:22–25 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
20
{
21
template<typename T>
22
size_t hash(const T& key)
23
{
24
return (size_t)dictGenHashFunction(&key, sizeof(key));
25
}
26
27
template<>
28
size_t hash(const sdsview &);
Callers
1
idxFromObj
Method · 0.70
Calls
1
dictGenHashFunction
Function · 0.70
Tested by
no test coverage detected