Home
last modified time | relevance | path

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

/art/libartbase/base/
Dhash_set.h204 max_load_factor_(max_load_factor) { in HashSet()
220 max_load_factor_(kDefaultMaxLoadFactor) { in HashSet()
234 max_load_factor_(other.max_load_factor_) { in HashSet()
254 max_load_factor_(other.max_load_factor_) { in HashSet()
276 offset = ReadFromBytes(ptr, offset, &max_load_factor_); in HashSet()
301 offset = WriteToBytes(ptr, offset, max_load_factor_); in WriteToMemory()
492 std::swap(max_load_factor_, other.max_load_factor_); in swap()
501 Resize(size() / max_load_factor_); in ShrinkToMaximumLoad()
507 size_t num_buckets = num_elements / max_load_factor_; in reserve()
509 while (static_cast<size_t>(num_buckets * max_load_factor_) <= num_elements + 1u) { in reserve()
[all …]