Searched refs:_curr (Results 1 – 2 of 2) sorted by relevance
69 RotMem() : _curr(0) {} in RotMem()70 Mem& curr() { return m[_curr % MAX_ROT_MEM]; } in curr()71 const Mem& curr() const { return m[_curr % MAX_ROT_MEM]; } in curr()72 Mem& prev() { return m[(_curr+1) % MAX_ROT_MEM]; } in prev()73 RotMem& operator++() { ++_curr; return *this; }76 uint32_t _curr; member