Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ Add
Method
Add
libs/coding/file_sort.hpp:51–57 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
49
}
50
51
void Add(T const & item)
52
{
53
if (m_Buffer.size() == m_BufferCapacity)
54
FlushToTmpFile();
55
m_Buffer.push_back(item);
56
++m_ItemCount;
57
}
58
59
void SortAndFinish()
60
{
Callers
2
UNIT_TEST
Function · 0.45
TestFileSorter
Function · 0.45
Calls
2
size
Method · 0.45
push_back
Method · 0.45
Tested by
2
UNIT_TEST
Function · 0.36
TestFileSorter
Function · 0.36