Lines Matching refs:block_holder
1158 std::unique_ptr<TBlocklike> block_holder( in GetDataBlockFromCache() local
1164 if (block_cache != nullptr && block_holder->own_bytes() && in GetDataBlockFromCache()
1166 size_t charge = block_holder->ApproximateMemoryUsage(); in GetDataBlockFromCache()
1168 s = block_cache->Insert(block_cache_key, block_holder.get(), charge, in GetDataBlockFromCache()
1173 block->SetCachedValue(block_holder.release(), block_cache, in GetDataBlockFromCache()
1181 block->SetOwnedValue(block_holder.release()); in GetDataBlockFromCache()
1218 std::unique_ptr<TBlocklike> block_holder; in PutDataBlockToCache() local
1232 block_holder.reset(BlocklikeTraits<TBlocklike>::Create( in PutDataBlockToCache()
1237 block_holder.reset(BlocklikeTraits<TBlocklike>::Create( in PutDataBlockToCache()
1270 if (block_cache != nullptr && block_holder->own_bytes()) { in PutDataBlockToCache()
1271 size_t charge = block_holder->ApproximateMemoryUsage(); in PutDataBlockToCache()
1273 s = block_cache->Insert(block_cache_key, block_holder.get(), charge, in PutDataBlockToCache()
1278 cached_block->SetCachedValue(block_holder.release(), block_cache, in PutDataBlockToCache()
1286 cached_block->SetOwnedValue(block_holder.release()); in PutDataBlockToCache()