Lines Matching refs:max_load_factor_
198 max_load_factor_(max_load_factor) { in HashSet()
214 max_load_factor_(kDefaultMaxLoadFactor) { in HashSet()
228 max_load_factor_(other.max_load_factor_) { in HashSet()
248 max_load_factor_(other.max_load_factor_) { in HashSet()
270 offset = ReadFromBytes(ptr, offset, &max_load_factor_); in HashSet()
295 offset = WriteToBytes(ptr, offset, max_load_factor_); in WriteToMemory()
479 std::swap(max_load_factor_, other.max_load_factor_); in swap()
488 Resize(size() / max_load_factor_); in ShrinkToMaximumLoad()
494 size_t num_buckets = num_elements / max_load_factor_; in reserve()
496 while (static_cast<size_t>(num_buckets * max_load_factor_) <= num_elements + 1u) { in reserve()
552 return max_load_factor_; in GetMaxLoadFactor()
562 max_load_factor_ = max_load_factor; in SetLoadFactor()
563 elements_until_expand_ = NumBuckets() * max_load_factor_; in SetLoadFactor()
567 if (load_factor > max_load_factor_) { in SetLoadFactor()
568 Resize(size() / ((min_load_factor_ + max_load_factor_) * 0.5)); in SetLoadFactor()
693 elements_until_expand_ = NumBuckets() * max_load_factor_; in Resize()
744 double max_load_factor_; variable