MCPcopy Create free account
hub / github.com/citp/BlockSci / DenseHashMapCache

Method DenseHashMapCache

tools/parser/hash_index_creator.hpp:63–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 size_t cacheItems = 0;
62
63 DenseHashMapCache() : cache({Key{}, 1}, {Key{}, 2}) {
64 cache.resize(cacheSize);
65 }
66
67 void clear() {
68 cache.clear_no_resize();

Callers

nothing calls this directly

Calls 1

resizeMethod · 0.45

Tested by

no test coverage detected