Home
last modified time | relevance | path

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

/art/libartbase/base/
Dhash_set.h507 size_t num_buckets = num_elements / max_load_factor_; in reserve() local
509 while (static_cast<size_t>(num_buckets * max_load_factor_) <= num_elements + 1u) { in reserve()
510 ++num_buckets; in reserve()
512 if (num_buckets > NumBuckets()) { in reserve()
513 Resize(num_buckets); in reserve()
658 void AllocateStorage(size_t num_buckets) { in AllocateStorage() argument
659 num_buckets_ = num_buckets; in AllocateStorage()
729 const size_t num_buckets = NumBuckets(); in NextNonEmptySlot() local
730 DCHECK_LT(index, num_buckets); in NextNonEmptySlot()
733 } while (index < num_buckets && IsFreeSlot(index)); in NextNonEmptySlot()