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

Method AllBitRuns

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

Source from the content-addressed store, hash-verified

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