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

Function FillTable

tools/track_analyzing/track_analyzer/cmd_balance_csv.cpp:29–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27using namespace std;
28
29void FillTable(basic_istream<char> & tableCsvStream, MwmToDataPoints & matchedDataPoints, vector<TableRow> & table)
30{
31 for (auto const & row :
32 coding::CSVRunner(coding::CSVReader(tableCsvStream, true /* hasHeader */, ',' /* delimiter */)))
33 {
34 CHECK_EQUAL(row.size(), kTableColumns, (row));
35 auto const & mwmName = row[kMwmNameCsvColumn];
36 matchedDataPoints[mwmName] += 1;
37 table.push_back(row);
38 }
39}
40
41void RemoveKeysSmallValue(MwmToDataPoints & checkedMap, MwmToDataPoints & additionalMap, uint64_t ignoreDataPointNumber)
42{

Callers 2

BalanceDataPointsFunction · 0.85
UNIT_TESTFunction · 0.85

Calls 4

CSVRunnerClass · 0.85
CSVReaderClass · 0.85
sizeMethod · 0.45
push_backMethod · 0.45

Tested by 1

UNIT_TESTFunction · 0.68