Home
last modified time | relevance | path

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

/art/libartbase/base/
Dhash_set.h249 AllocateStorage(other.NumBuckets()); in HashSet()
387 return iterator(this, NumBuckets()); in end()
392 return const_iterator(this, NumBuckets()); in end()
436 unwrapped_next_index += NumBuckets(); in erase()
441 unwrapped_next_ideal_index += NumBuckets(); in erase()
554 if (num_buckets > NumBuckets()) { in reserve()
563 for (size_t i = 0; i < NumBuckets(); ++i) { in TotalProbeDistance()
568 total += i + NumBuckets() - ideal_location; in TotalProbeDistance()
579 return static_cast<double>(size()) / static_cast<double>(NumBuckets()); in CalculateLoadFactor()
618 elements_until_expand_ = NumBuckets() * max_load_factor_; in SetLoadFactor()
[all …]
Dhash_set_test.cc343 const size_t buckets_before = hash_set.NumBuckets(); in TEST_F()
351 CHECK_EQ(hash_set.NumBuckets(), buckets_before); in TEST_F()
/art/runtime/interpreter/
Dunstarted_runtime.cc2055 DCHECK_EQ(invoke_handlers_.NumBuckets(), kInvokeHandlersBufferSize); in InitializeInvokeHandlers()
2067 DCHECK_EQ(jni_handlers_.NumBuckets(), kJniHandlersBufferSize); in InitializeJNIHandlers()