MCPcopy Create free account
hub / github.com/1a1a11a/libCacheSim / exist

Method exist

libCacheSim/cache/eviction/LRB/cache.h:37–39  ·  view source on GitHub ↗

check whether an object in a cache. Not update metadata

Source from the content-addressed store, hash-verified

35 virtual bool lookup(const SimpleRequest &req) = 0;
36 // check whether an object in a cache. Not update metadata
37 virtual bool exist(const int64_t &key) {
38 throw runtime_error("Error: exist() function not implemented");
39 }
40
41 virtual void admit(const SimpleRequest &req) = 0;
42

Callers 1

LRB_findFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected