Home
last modified time | relevance | path

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

/rocksdb-6.9/util/
Dcompression.h227 CacheAllocationPtr allocation_; member
260 : allocation_(std::move(allocation)), slice_(std::move(slice)) { in UncompressionDict()
271 allocation_(std::move(rhs.allocation_)), in UncompressionDict()
300 allocation_ = std::move(rhs.allocation_);
315 bool own_bytes() const { return !dict_.empty() || allocation_; } in own_bytes()
331 if (allocation_) { in ApproximateMemoryUsage()
332 auto allocator = allocation_.get_deleter().allocator; in ApproximateMemoryUsage()
334 usage += allocator->UsableSize(allocation_.get(), slice_.size()); in ApproximateMemoryUsage()