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

Method InsertScan

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

Source from the content-addressed store, hash-verified

33 }
34 template <bool FIRST = false>
35 void InsertScan(uint64_t value) {
36 if (!FIRST) { index++; }
37 buffer[index % RING_SIZE] = value;
38 }
39 inline const uint64_t& Top() const { return buffer[index % RING_SIZE]; }
40 //! Get the index where values that produce this 'key' are stored
41 inline const uint64_t& IndexOf(const uint64_t& key) const { return indices[key]; }

Callers 1

DecompressValueMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected