Searched refs:hasher_ (Results 1 – 1 of 1) sorted by relevance
75 Hash hasher_; variable79 explicit HashTable(const Hash& hasher = Hash()) : hasher_(hasher) { in hasher_() function81 insertion_table_.reset(new Partition(kInitialHashBuckets, hasher_)); in hasher_()104 Hash hasher_; variable109 : hash_buckets_(size), hasher_(hasher) { in Partition()132 auto key = hasher_.GetKey(value); in Insert()133 Index bucket_index = hasher_.Hash(key) % hash_buckets_; in Insert()148 assert(hash_value == hasher_.Hash(key)); in Lookup()155 } else if (hasher_.Compare(key, value)) { in Lookup()176 assert(Lookup(hasher_.GetKey(value)) == nullptr); in Insert()[all …]