Home
last modified time | relevance | path

Searched refs:cache (Results 1 – 9 of 9) sorted by relevance

/leveldb-1.20/db/
H A Dtable_cache.cc27 Cache* cache = reinterpret_cast<Cache*>(arg1); in UnrefEntry() local
29 cache->Release(h); in UnrefEntry()
H A Dc_test.c160 leveldb_cache_t* cache; in main() local
179 cache = leveldb_cache_create_lru(100000); in main()
184 leveldb_options_set_cache(options, cache); in main()
384 leveldb_cache_destroy(cache); in main()
H A Dc.cc566 void leveldb_cache_destroy(leveldb_cache_t* cache) { in leveldb_cache_destroy() argument
567 delete cache->rep; in leveldb_cache_destroy()
568 delete cache; in leveldb_cache_destroy()
H A Dversion_set.cc216 TableCache* cache = reinterpret_cast<TableCache*>(arg); in GetFileIterator() local
221 return cache->NewIterator(options, in GetFileIterator()
/leveldb-1.20/table/
H A Dtable.cc157 Cache* cache = reinterpret_cast<Cache*>(arg); in ReleaseBlock() local
159 cache->Release(handle); in ReleaseBlock()
/leveldb-1.20/doc/
H A Dindex.md341 each file stores a sequence of compressed blocks. If options.cache is non-NULL,
342 it is used to cache frequently used uncompressed block contents.
345 #include "leveldb/cache.h"
348 options.cache = leveldb::NewLRUCache(100 * 1048576); // 100MB cache
353 delete options.cache;
356 Note that the cache holds uncompressed data, and therefore it should be sized
359 buffer cache, or any custom Env implementation provided by the client.)
390 the metadata do not force us to fetch and cache bulky file contents.
H A Dimpl.md134 the level-0 files will have their blocks sitting uncompressed in the cache and
/leveldb-1.20/include/leveldb/
H A Dc.h264 extern void leveldb_cache_destroy(leveldb_cache_t* cache);
/leveldb-1.20/
H A DREADME.md86 cache for a while. The "overwrite" benchmark does random writes that
111 is not present in the operating system buffer cache will be dominated
130 read from disk. If we supply enough cache to the leveldb so it can hold the