MCPcopy Create free account
hub / github.com/cwida/ALP / RingBuffer

Method RingBuffer

publication/source_code/include/chimp/ring_buffer.hpp:26–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 void Reset() { index = 0; }
25
26 RingBuffer()
27 : index(0) {}
28 template <bool FIRST = false>
29 void Insert(uint64_t value) {
30 if (!FIRST) { index++; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected