MCPcopy Create free account
hub / github.com/comaps/comaps / Push

Method Push

libs/coding/file_sort.hpp:128–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126 }
127
128 void Push(PriorityQueue & q, uint32_t i, FileReader const & reader)
129 {
130 T item;
131 reader.Read(static_cast<uint64_t>(i) * sizeof(T), &item, sizeof(T));
132 q.push(std::pair<T, uint32_t>(item, i));
133 }
134
135 std::string const m_TmpFileName;
136 size_t const m_BufferCapacity;

Callers

nothing calls this directly

Calls 2

pushMethod · 0.80
ReadMethod · 0.45

Tested by

no test coverage detected