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

Method request

libCacheSim/cache/eviction/LRB/lrb.h:158–161  ·  view source on GitHub ↗

the hashtable (location information is maintained outside, and assume it is always correct)

Source from the content-addressed store, hash-verified

156 // the hashtable (location information is maintained outside, and assume it is
157 // always correct)
158 list<int64_t>::const_iterator request(int64_t key) {
159 dq.emplace_front(key);
160 return dq.cbegin();
161 }
162
163 list<int64_t>::const_iterator re_request(list<int64_t>::const_iterator it) {
164 if (it != dq.cbegin()) {

Callers 1

admitMethod · 0.45

Calls 1

cbeginMethod · 0.45

Tested by

no test coverage detected