Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/KeyDB
/ hash
Function
hash
src/keydbutils.cpp:6–9 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
4
{
5
template<>
6
size_t hash(const sdsview& t)
7
{
8
return (size_t)dictGenHashFunction(static_cast<const char*>(t), t.size());
9
}
10
}
Callers
1
testHashingFunction
Function · 0.50
Calls
2
dictGenHashFunction
Function · 0.70
size
Method · 0.45
Tested by
no test coverage detected