Home
last modified time | relevance | path

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

/rocksdb-6.9/util/
Daligned_buffer.h60 size_t capacity_; variable
67 capacity_(0), in AlignedBuffer()
79 capacity_ = std::move(o.capacity_);
102 return capacity_; in Capacity()
121 capacity_ = 0; in Release()
174 capacity_ = new_capacity;
187 size_t buffer_remaining = capacity_ - cursize_; in Append()
222 assert((pad_size + cursize_) <= capacity_); in PadToAlignmentWith()
229 assert((pad_size + cursize_) <= capacity_); in PadWith()
/rocksdb-6.9/cache/
Dsharded_cache.cc23 capacity_(capacity), in ShardedCache()
34 capacity_ = capacity; in SetCapacity()
80 return capacity_; in GetCapacity()
135 capacity_); in GetPrintableOptions()
Dlru_cache.cc102 : capacity_(0), in LRUCacheShard()
237 while ((usage_ + charge) > capacity_ && lru_.next != &lru_) { in EvictFromLRU()
255 capacity_ = capacity; in SetCapacity()
256 high_pri_pool_capacity_ = capacity_ * high_pri_pool_ratio_; in SetCapacity()
298 high_pri_pool_capacity_ = capacity_ * high_pri_pool_ratio_; in SetHighPriorityPoolRatio()
313 if (usage_ > capacity_ || force_erase) { in Release()
370 if ((usage_ + total_charge) > capacity_ && in Insert()
Dclock_cache.cc368 std::atomic<size_t> capacity_; member in ROCKSDB_NAMESPACE::__anon9da5ff120111::ClockCacheShard
525 size_t capacity = capacity_.load(std::memory_order_relaxed); in EvictFromCache()
553 capacity_.store(capacity, std::memory_order_relaxed); in SetCapacity()
Dsharded_cache.h105 size_t capacity_; variable
Dlru_cache.h260 size_t capacity_; in ALIGN_AS() local