Home | History | Annotate | Download | only in utils

Lines Matching refs:HashType

38           typename HashType,
40 HashType kShard>
41 struct DedupeSet<InKey, StoreKey, Alloc, HashType, HashFunc, kShard>::Stats {
51 typename HashType,
53 HashType kShard>
54 class DedupeSet<InKey, StoreKey, Alloc, HashType, HashFunc, kShard>::Shard {
86 std::unordered_map<HashType, size_t> stats;
185 typename HashType,
187 HashType kShard>
188 const StoreKey* DedupeSet<InKey, StoreKey, Alloc, HashType, HashFunc, kShard>::Add(
194 HashType raw_hash = HashFunc()(key);
199 HashType shard_hash = raw_hash / kShard;
200 HashType shard_bin = raw_hash % kShard;
207 typename HashType,
209 HashType kShard>
210 DedupeSet<InKey, StoreKey, Alloc, HashType, HashFunc, kShard>::DedupeSet(const char* set_name,
213 for (HashType i = 0; i < kShard; ++i) {
223 typename HashType,
225 HashType kShard>
226 DedupeSet<InKey, StoreKey, Alloc, HashType, HashFunc, kShard>::~DedupeSet() {
233 typename HashType,
235 HashType kShard>
236 std::string DedupeSet<InKey, StoreKey, Alloc, HashType, HashFunc, kShard>::DumpStats(
239 for (HashType shard = 0; shard < kShard; ++shard) {