Home
last modified time | relevance | path

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

/external/chromium_org/third_party/leveldatabase/src/include/leveldb/
Dcache.h30 extern Cache* NewLRUCache(size_t capacity);
/external/chromium_org/third_party/leveldatabase/src/db/
Dautocompact_test.cc22 tiny_cache_ = NewLRUCache(100); in AutoCompactTest()
Dtable_cache.cc38 cache_(NewLRUCache(entries)) { in TableCache()
Dc.cc31 using leveldb::NewLRUCache;
562 c->rep = NewLRUCache(capacity); in leveldb_cache_create_lru()
Dcorruption_test.cc36 tiny_cache_ = NewLRUCache(100); in CorruptionTest()
Ddb_bench.cc390 : cache_(FLAGS_cache_size >= 0 ? NewLRUCache(FLAGS_cache_size) : NULL), in Benchmark()
Ddb_impl.cc111 result.block_cache = NewLRUCache(8 << 20); in SanitizeOptions()
Ddb_test.cc1686 options.block_cache = NewLRUCache(0); // Prevent cache hits in TEST()
/external/chromium_org/third_party/leveldatabase/src/util/
Dcache_test.cc40 CacheTest() : cache_(NewLRUCache(kCacheSize)) { in CacheTest()
Dcache.cc321 Cache* NewLRUCache(size_t capacity) { in NewLRUCache() function