Home
last modified time | relevance | path

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

/rocksdb-6.9/utilities/table_properties_collectors/
Dcompact_on_deletion_collector.cc16 : bucket_size_((sliding_window_size + kNumBuckets - 1) / kNumBuckets), in CompactOnDeletionCollector()
23 memset(num_deletions_in_buckets_, 0, sizeof(size_t) * kNumBuckets); in CompactOnDeletionCollector()
50 current_bucket_ = (current_bucket_ + 1) % kNumBuckets; in AddUserKey()
Dcompact_on_deletion_collector.h52 static const int kNumBuckets = 128; variable
59 size_t num_deletions_in_buckets_[kNumBuckets];
/rocksdb-6.9/third-party/folly/folly/synchronization/
DParkingLot.cpp14 constexpr size_t const kNumBuckets = 4096; in bucketFor() local
19 static Indestructible<std::array<Bucket, kNumBuckets>> gBuckets; in bucketFor()
20 return (*gBuckets)[key % kNumBuckets]; in bucketFor()