Home
last modified time | relevance | path

Searched refs:nbuckets_ (Results 1 – 2 of 2) sorted by relevance

/rocksdb-6.9/utilities/persistent_cache/
Dhash_table.h69 : nbuckets_(
75 assert(nbuckets_);
78 buckets_.reset(new Bucket[nbuckets_]);
80 mlock(buckets_.get(), nbuckets_ * sizeof(Bucket));
101 const uint32_t bucket_idx = h % nbuckets_; in Insert()
116 const uint32_t bucket_idx = h % nbuckets_; in Find()
137 const uint32_t bucket_idx = h % nbuckets_; in Erase()
151 const uint32_t bucket_idx = h % nbuckets_; in GetMutex()
158 for (uint32_t i = 0; i < nbuckets_; ++i) { in Clear()
223 for (size_t i = 0; i < nbuckets_; ++i) { in AssertEmptyBuckets()
[all …]
Dhash_table_evictable.h112 for (uint32_t i = 0; i < hash_table::nbuckets_; ++i) { in Clear()
147 const uint32_t bucket_idx = h % hash_table::nbuckets_; in GetBucket()
152 const uint32_t bucket_idx = h % hash_table::nbuckets_; in GetLRUList()
158 const uint32_t bucket_idx = h % hash_table::nbuckets_; in GetMutex()