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

Method find

libCacheSim/dataStructure/splaytree.hpp:125–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123 ~SplayTree() {}
124 void insert(const K &key, const V &val);
125 iterator find(const K &key) { return find_(key) ? iterator(find_(key)) : end(); }
126 V getK(int k) { return getK_(root_.get(), k); }
127 int getRank(K key) { return getRank_(root_.get(), key); }
128

Callers

nothing calls this directly

Calls 2

endFunction · 0.85
iteratorClass · 0.70

Tested by

no test coverage detected