Searched refs:NewLRUCache (Results 1 – 10 of 10) sorted by relevance
30 extern Cache* NewLRUCache(size_t capacity);
22 tiny_cache_ = NewLRUCache(100); in AutoCompactTest()
38 cache_(NewLRUCache(entries)) { in TableCache()
31 using leveldb::NewLRUCache;562 c->rep = NewLRUCache(capacity); in leveldb_cache_create_lru()
36 tiny_cache_ = NewLRUCache(100); in CorruptionTest()
390 : cache_(FLAGS_cache_size >= 0 ? NewLRUCache(FLAGS_cache_size) : NULL), in Benchmark()
111 result.block_cache = NewLRUCache(8 << 20); in SanitizeOptions()
1686 options.block_cache = NewLRUCache(0); // Prevent cache hits in TEST()
40 CacheTest() : cache_(NewLRUCache(kCacheSize)) { in CacheTest()
321 Cache* NewLRUCache(size_t capacity) { in NewLRUCache() function