Searched refs:buckets_count (Results 1 – 4 of 4) sorted by relevance
13 LockFreeAddressHashSet::LockFreeAddressHashSet(size_t buckets_count) in LockFreeAddressHashSet() argument14 : buckets_(buckets_count), bucket_mask_(buckets_count - 1) { in LockFreeAddressHashSet()15 DCHECK(bits::IsPowerOfTwo(buckets_count)); in LockFreeAddressHashSet()
55 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()
44 explicit LockFreeAddressHashSet(size_t buckets_count);72 size_t buckets_count() const { return buckets_.size(); } in buckets_count() function
414 std::make_unique<LockFreeAddressHashSet>(current_set.buckets_count() * 2); in BalanceAddressesHashSet()