MCPcopy Create free account
hub / github.com/apache/arrow / AllBitRuns

Method AllBitRuns

cpp/src/arrow/util/bitmap_test.cc:294–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292
293 template <typename SetBitRunReaderType>
294 std::vector<SetBitRun> AllBitRuns(SetBitRunReaderType* reader) {
295 std::vector<SetBitRun> runs;
296 auto run = reader->NextRun();
297 while (!run.AtEnd()) {
298 runs.push_back(run);
299 run = reader->NextRun();
300 }
301 return runs;
302 }
303
304 template <typename SetBitRunReaderType>
305 void AssertBitRuns(SetBitRunReaderType* reader,

Callers

nothing calls this directly

Calls 3

push_backMethod · 0.80
NextRunMethod · 0.45
AtEndMethod · 0.45

Tested by

no test coverage detected