MCPcopy 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
118uint64_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

FindStreetsFunction · 0.45

Calls 2

IsFullFunction · 0.85
HashFunction · 0.50

Tested by

no test coverage detected