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

Class Position

libCacheSim/dataStructure/sparsepp/spp.h:2997–3006  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2995 enum pos_type { pt_empty = 0, pt_erased, pt_full };
2996 // -------------------------------------------------------------------
2997 class Position
2998 {
2999 public:
3000
3001 Position() : _t(pt_empty) {}
3002 Position(pos_type t, size_type idx) : _t(t), _idx(idx) {}
3003
3004 pos_type _t;
3005 size_type _idx;
3006 };
3007
3008 // Returns a pair:
3009 // - 'first' is a code, 2 if key already present, 0 or 1 otherwise.

Callers 1

_find_positionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected