OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:buckets_count
(Results
1 - 4
of
4
) sorted by null
/external/libchrome/base/sampling_heap_profiler/
lock_free_address_hash_set.cc
13
LockFreeAddressHashSet::LockFreeAddressHashSet(size_t
buckets_count
)
14
: buckets_(
buckets_count
), bucket_mask_(
buckets_count
- 1) {
15
DCHECK(bits::IsPowerOfTwo(
buckets_count
));
lock_free_address_hash_set.h
44
explicit LockFreeAddressHashSet(size_t
buckets_count
);
72
size_t
buckets_count
() const { return buckets_.size(); }
function in class:base::LockFreeAddressHashSet
lock_free_address_hash_set_unittest.cc
55
EXPECT_EQ(size_t(8), set.
buckets_count
());
72
EXPECT_EQ(size_t(8), set.
buckets_count
());
174
size_t average_per_bucket = count / set.
buckets_count
();
175
for (size_t i = 0; i < set.
buckets_count
(); ++i) {
sampling_heap_profiler.cc
414
std::make_unique<LockFreeAddressHashSet>(current_set.
buckets_count
() * 2);
Completed in 113 milliseconds