Home
last modified time | relevance | path

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

/rocksdb-6.9/table/
Dblock_fetcher.cc115 heap_buf_ = CacheAllocationPtr(raw_data.release()); in TryGetCompressedBlockFromPersistentCache()
116 used_buf_ = heap_buf_.get(); in TryGetCompressedBlockFromPersistentCache()
117 slice_ = Slice(heap_buf_.get(), block_size_); in TryGetCompressedBlockFromPersistentCache()
141 heap_buf_ = in PrepareBufferForBlockFromFile()
143 used_buf_ = heap_buf_.get(); in PrepareBufferForBlockFromFile()
168 assert(used_buf_ != heap_buf_.get()); in CopyBufferToHeap()
169 heap_buf_ = AllocateBlock(block_size_ + kBlockTrailerSize, memory_allocator_); in CopyBufferToHeap()
170 memcpy(heap_buf_.get(), used_buf_, block_size_ + kBlockTrailerSize); in CopyBufferToHeap()
187 heap_buf_ = std::move(compressed_buf_); in GetBlockContents()
190 *contents_ = BlockContents(std::move(heap_buf_), block_size_); in GetBlockContents()
Dblock_fetcher.h89 CacheAllocationPtr heap_buf_; variable