Home
last modified time | relevance | path

Searched refs:num_buckets_ (Results 1 – 7 of 7) sorted by relevance

/rocksdb-6.9/table/block_based/
Ddata_block_hash_index.cc78 num_buckets_ = DecodeFixed16(data + size - sizeof(uint16_t)); in Initialize()
79 assert(num_buckets_ > 0); in Initialize()
80 assert(size > num_buckets_ * sizeof(uint8_t)); in Initialize()
82 num_buckets_ * sizeof(uint8_t)); in Initialize()
88 uint16_t idx = static_cast<uint16_t>(hash_value % num_buckets_); in Lookup()
Dblock_prefix_index.h30 (num_block_array_buffer_entries_ + num_buckets_) * sizeof(uint32_t); in ApproximateMemoryUsage()
54 num_buckets_(num_buckets), in BlockPrefixIndex()
60 uint32_t num_buckets_; variable
Ddata_block_hash_index.h118 DataBlockHashIndex() : num_buckets_(0) {} in DataBlockHashIndex()
124 inline bool Valid() { return num_buckets_ != 0; } in Valid()
133 uint16_t num_buckets_;
Dblock_prefix_index.cc213 uint32_t bucket = PrefixToBucket(prefix, num_buckets_); in GetBlocks()
/rocksdb-6.9/monitoring/
Dhistogram.cc65 : num_buckets_(bucketMapper.BucketCount()) { in HistogramStat()
66 assert(num_buckets_ == sizeof(buckets_) / sizeof(*buckets_)); in HistogramStat()
76 for (unsigned int b = 0; b < num_buckets_; b++) { in Clear()
88 assert(index < num_buckets_); in Add()
128 for (unsigned int b = 0; b < num_buckets_; b++) { in Merge()
140 for (unsigned int b = 0; b < num_buckets_; b++) { in Percentile()
204 for (unsigned int b = 0; b < num_buckets_; b++) { in ToString()
Dhistogram_windowing.cc78 if (stats_.num_buckets_ != other.stats_.num_buckets_ || in Merge()
160 for (size_t b = 0; b < stats_.num_buckets_; b++){ in SwapHistoryBucket()
Dhistogram.h93 const uint64_t num_buckets_; member