| 25 | }; |
| 26 | |
| 27 | uint64_t GCSFilter::HashToRange(const Element& element) const |
| 28 | { |
| 29 | uint64_t hash = CSipHasher(m_params.m_siphash_k0, m_params.m_siphash_k1) |
| 30 | .Write(element.data(), element.size()) |
| 31 | .Finalize(); |
| 32 | return FastRange64(hash, m_F); |
| 33 | } |
| 34 | |
| 35 | std::vector<uint64_t> GCSFilter::BuildHashedSet(const ElementSet& elements) const |
| 36 | { |
nothing calls this directly
no test coverage detected