Home
last modified time | relevance | path

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

/external/libchrome/base/sampling_heap_profiler/
Dlock_free_address_hash_set.cc13 LockFreeAddressHashSet::LockFreeAddressHashSet(size_t buckets_count) in LockFreeAddressHashSet() argument
14 : buckets_(buckets_count), bucket_mask_(buckets_count - 1) { in LockFreeAddressHashSet()
15 DCHECK(bits::IsPowerOfTwo(buckets_count)); in LockFreeAddressHashSet()
Dlock_free_address_hash_set_unittest.cc55 EXPECT_EQ(size_t(8), set.buckets_count()); in TEST_F()
72 EXPECT_EQ(size_t(8), set.buckets_count()); in TEST_F()
174 size_t average_per_bucket = count / set.buckets_count(); in TEST_F()
175 for (size_t i = 0; i < set.buckets_count(); ++i) { in TEST_F()
Dlock_free_address_hash_set.h44 explicit LockFreeAddressHashSet(size_t buckets_count);
72 size_t buckets_count() const { return buckets_.size(); } in buckets_count() function
Dsampling_heap_profiler.cc414 std::make_unique<LockFreeAddressHashSet>(current_set.buckets_count() * 2); in BalanceAddressesHashSet()