Home
last modified time | relevance | path

Searched refs:Bucket (Results 1 – 6 of 6) sorted by relevance

/rocksdb-6.9/memtable/
Dhash_skiplist_rep.cc58 std::atomic<Bucket*>* buckets_;
71 inline Bucket* GetBucket(size_t i) const { in GetBucket()
74 inline Bucket* GetBucket(const Slice& slice) const { in GetBucket()
79 Bucket* GetInitializedBucket(const Slice& transformed);
83 explicit Iterator(Bucket* list, bool own_list = true, in Iterator()
153 void Reset(Bucket* list) { in Reset()
165 Bucket* list_;
166 Bucket::Iterator iter_;
294 Bucket::Iterator iter(bucket); in Get()
305 auto list = new Bucket(compare_, new_arena); in GetIterator()
[all …]
Dvectorrep.cc101 typedef std::vector<const char*> Bucket; typedef in ROCKSDB_NAMESPACE::__anonfd4f76000111::VectorRep
102 std::shared_ptr<Bucket> bucket_;
139 bucket_(new Bucket()), in VectorRep()
254 std::shared_ptr<Bucket> bucket; in Get()
259 bucket.reset(new Bucket(*bucket_)); // make a copy in Get()
284 std::shared_ptr<Bucket> tmp; in GetIterator()
285 tmp.reset(new Bucket(*bucket_)); // make a copy in GetIterator()
/rocksdb-6.9/utilities/persistent_cache/
Dhash_table.h78 buckets_.reset(new Bucket[nbuckets_]);
80 mlock(buckets_.get(), nbuckets_ * sizeof(Bucket));
170 struct Bucket { struct
184 bool Insert(Bucket* bucket, const T& t) { in Insert() argument
196 bool Find(Bucket* bucket, const T& t, T* ret) { in Find()
207 bool Erase(Bucket* bucket, const T& t, T* ret) { in Erase()
231 std::unique_ptr<Bucket[]> buckets_; // Spine of the hash buckets
Dhash_table_evictable.h44 typename hash_table::Bucket& bucket = GetBucket(h); in Insert()
64 typename hash_table::Bucket& bucket = GetBucket(h); in Find()
95 typename hash_table::Bucket& bucket = GetBucket(h);
146 typename hash_table::Bucket& GetBucket(const uint64_t h) { in GetBucket()
/rocksdb-6.9/third-party/folly/folly/synchronization/
DParkingLot.cpp13 Bucket& Bucket::bucketFor(uint64_t key) { in bucketFor()
19 static Indestructible<std::array<Bucket, kNumBuckets>> gBuckets; in bucketFor()
DParkingLot.h66 struct Bucket { struct
72 static Bucket& bucketFor(uint64_t key); argument
250 auto& bucket = parking_lot_detail::Bucket::bucketFor(key); in park_until()
288 auto& bucket = parking_lot_detail::Bucket::bucketFor(key); in unpark()