MCPcopy Create free account
hub / github.com/ElementsProject/elements / leveldb_options_set_cache

Function leveldb_options_set_cache

src/leveldb/db/c.cc:410–412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

408}
409
410void leveldb_options_set_cache(leveldb_options_t* opt, leveldb_cache_t* c) {
411 opt->rep.block_cache = c->rep;
412}
413
414void leveldb_options_set_block_size(leveldb_options_t* opt, size_t s) {
415 opt->rep.block_size = s;

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by 1

mainFunction · 0.68