Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ Hash
Method
Hash
libs/search/cbv.cpp:118–125 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
116
}
117
118
uint64_t CBV::Hash() const
119
{
120
if (IsEmpty())
121
return 0;
122
if (IsFull())
123
return kModulo;
124
return coding::CompressedBitVectorHasher::Hash(*m_p) % kModulo;
125
}
126
} // namespace search
Callers
1
FindStreets
Function · 0.45
Calls
2
IsFull
Function · 0.85
Hash
Function · 0.50
Tested by
no test coverage detected