Home
last modified time | relevance | path

Searched refs:buckets_ (Results 1 – 9 of 9) sorted by relevance

/rocksdb-6.9/utilities/persistent_cache/
Dhash_table.h78 buckets_.reset(new Bucket[nbuckets_]);
80 mlock(buckets_.get(), nbuckets_ * sizeof(Bucket));
90 assert(buckets_);
105 auto& bucket = buckets_[bucket_idx]; in Insert()
122 auto& bucket = buckets_[bucket_idx]; in Find()
142 auto& bucket = buckets_[bucket_idx]; in Erase()
161 for (auto& t : buckets_[i].list_) { in Clear()
164 buckets_[i].list_.clear(); in Clear()
225 assert(buckets_[i].list_.empty()); in AssertEmptyBuckets()
231 std::unique_ptr<Bucket[]> buckets_; // Spine of the hash buckets variable
Dhash_table_evictable.h116 auto& bucket = hash_table::buckets_[i]; in Clear()
148 return hash_table::buckets_[bucket_idx]; in GetBucket()
/rocksdb-6.9/monitoring/
Dhistogram.cc66 assert(num_buckets_ == sizeof(buckets_) / sizeof(*buckets_)); in HistogramStat()
77 buckets_[b].store(0, std::memory_order_relaxed); in Clear()
89 buckets_[index].store(buckets_[index].load(std::memory_order_relaxed) + 1, in Add()
129 buckets_[b].fetch_add(other.bucket_at(b), std::memory_order_relaxed); in Merge()
Dhistogram.h74 return buckets_[b].load(std::memory_order_relaxed); in bucket_at()
92 std::atomic_uint_fast64_t buckets_[109]; // 109==BucketMapper::BucketCount() member
Dhistogram_windowing.cc161 stats_.buckets_[b].fetch_sub( in SwapHistoryBucket()
/rocksdb-6.9/table/block_based/
Dblock_prefix_index.h41 delete[] buckets_; in ~BlockPrefixIndex()
56 buckets_(buckets), in BlockPrefixIndex()
62 uint32_t* buckets_; variable
Dblock_prefix_index.cc214 uint32_t block_id = buckets_[bucket]; in GetBlocks()
219 *blocks = &buckets_[bucket]; in GetBlocks()
/rocksdb-6.9/memtable/
Dhash_skiplist_rep.cc58 std::atomic<Bucket*>* buckets_; member in ROCKSDB_NAMESPACE::__anon252bdc020111::HashSkipListRep
72 return buckets_[i].load(std::memory_order_acquire); in GetBucket()
245 buckets_ = new (mem) std::atomic<Bucket*>[bucket_size]; in HashSkipListRep()
248 buckets_[i].store(nullptr, std::memory_order_relaxed); in HashSkipListRep()
263 buckets_[hash].store(bucket, std::memory_order_release); in GetInitializedBucket()
Dhash_linklist_rep.cc196 Pointer* buckets_; member in ROCKSDB_NAMESPACE::__anoncfd1c5190111::HashLinkListRep
225 return static_cast<Pointer*>(buckets_[i].load(std::memory_order_acquire)); in GetBucket()
512 buckets_ = new (mem) Pointer[bucket_size]; in HashLinkListRep()
515 buckets_[i].store(nullptr, std::memory_order_relaxed); in HashLinkListRep()
576 auto& bucket = buckets_[GetHash(transformed)]; in Insert()