Home
last modified time | relevance | path

Searched refs:max_load_factor_ (Results 1 – 1 of 1) sorted by relevance

/art/libartbase/base/
Dhash_set.h198 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()
[all …]