Home
last modified time | relevance | path

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

/rocksdb-6.9/options/
Doptions_test.cc534 ASSERT_EQ(new_opt.block_cache->GetCapacity(), 1024UL*1024UL); in TEST_F()
536 ASSERT_EQ(new_opt.block_cache_compressed->GetCapacity(), 1024UL); in TEST_F()
600 ASSERT_EQ(new_opt.block_cache->GetCapacity(), 1024UL*1024UL); in TEST_F()
607 ASSERT_EQ(new_opt.block_cache_compressed->GetCapacity(), 1024UL*1024UL); in TEST_F()
622 ASSERT_EQ(new_opt.block_cache->GetCapacity(), 2*1024UL*1024UL); in TEST_F()
637 new_opt.block_cache_compressed->GetCapacity())); in TEST_F()
650 ASSERT_EQ(new_opt.block_cache->GetCapacity(), 0); in TEST_F()
657 ASSERT_EQ(new_opt.block_cache_compressed->GetCapacity(), 0); in TEST_F()
673 ASSERT_EQ(new_opt.block_cache->GetCapacity(), 1024UL*1024UL); in TEST_F()
681 ASSERT_EQ(new_opt.block_cache_compressed->GetCapacity(), 1024UL*1024UL); in TEST_F()
[all …]
Ddb_options.cc219 row_cache->GetCapacity()); in Dump()
/rocksdb-6.9/cache/
Dcache_test.cc541 ASSERT_EQ(5U, cache->GetCapacity()); in TEST_P()
556 ASSERT_EQ(5U, cache->GetCapacity()); in TEST_P()
580 ASSERT_EQ(5U, cache->GetCapacity()); in TEST_P()
583 ASSERT_EQ(10U, cache->GetCapacity()); in TEST_P()
596 ASSERT_EQ(10U, cache->GetCapacity()); in TEST_P()
601 ASSERT_EQ(10U, cache->GetCapacity()); in TEST_P()
604 ASSERT_EQ(7, cache->GetCapacity()); in TEST_P()
Dsharded_cache.h81 virtual size_t GetCapacity() const override;
Dsharded_cache.cc78 size_t ShardedCache::GetCapacity() const { in GetCapacity() function in ROCKSDB_NAMESPACE::ShardedCache
/rocksdb-6.9/utilities/simulator_cache/
Dsim_cache.cc224 size_t GetCapacity() const override { return cache_->GetCapacity(); } in GetCapacity() function in ROCKSDB_NAMESPACE::__anona55187990111::SimCacheImpl
259 return key_only_cache_->GetCapacity(); in GetSimCapacity()
/rocksdb-6.9/include/rocksdb/
Dcache.h244 virtual size_t GetCapacity() const = 0;
/rocksdb-6.9/db/
Dtable_cache.h189 if (cache_->GetCapacity() >= kInfiniteCapacity) { in SetTablesAreImmortal()
Ddb_options_test.cc592 ASSERT_LT(2000, tc->GetCapacity()); in TEST_F()
596 ASSERT_GT(1500, tc->GetCapacity()); in TEST_F()
Dversion_builder.cc645 size_t table_cache_capacity = table_cache_->get_cache()->GetCapacity(); in LoadTableHandlers()
Ddb_basic_test.cc2097 virtual size_t GetCapacity() const override { in GetCapacity() function in ROCKSDB_NAMESPACE::DBBasicTestWithParallelIO::MyBlockCache
2098 return target_->GetCapacity(); in GetCapacity()
Dinternal_stats.cc932 *value = static_cast<uint64_t>(block_cache->GetCapacity()); in HandleBlockCacheCapacity()
Dversion_set.cc2165 if (vset_->GetColumnFamilySet()->get_table_cache()->GetCapacity() == in UpdateAccumulatedStats()