Searched refs:IsCacheEnabled (Results 1 – 5 of 5) sorted by relevance
64 << (IsCacheEnabled() ? "enabled" : "disabled"); in block_size_()117 bool IsCacheEnabled() const override { in IsCacheEnabled() function
40 TEST(RamFileBlockCacheTest, IsCacheEnabled) { in TEST() argument51 EXPECT_FALSE(cache1.IsCacheEnabled()); in TEST()52 EXPECT_FALSE(cache2.IsCacheEnabled()); in TEST()53 EXPECT_FALSE(cache3.IsCacheEnabled()); in TEST()54 EXPECT_TRUE(cache4.IsCacheEnabled()); in TEST()
93 virtual bool IsCacheEnabled() const = 0;
164 if (!IsCacheEnabled()) { in Read()
840 if (file_block_cache_->IsCacheEnabled()) { in NewRandomAccessFile()