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

Method Deleter

src/leveldb/util/cache_test.cc:28–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26class CacheTest {
27 public:
28 static void Deleter(const Slice& key, void* v) {
29 current_->deleted_keys_.push_back(DecodeKey(key));
30 current_->deleted_values_.push_back(DecodeValue(v));
31 }
32
33 static const int kCacheSize = 1000;
34 std::vector<int> deleted_keys_;

Callers

nothing calls this directly

Calls 3

DecodeKeyFunction · 0.85
DecodeValueFunction · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected