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

Function AppendRleRun

cpp/src/arrow/util/rle_bitmap_test.cc:389–394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

387}
388
389void AppendRleRun(std::vector<uint8_t>& bytes, std::vector<bool>& expected, bool value,
390 rle_size_t count) {
391 AppendLeb128(bytes, static_cast<uint32_t>(count) << 1); // low bit 0 => RLE
392 bytes.push_back(value ? 1 : 0);
393 expected.insert(expected.end(), count, value);
394}
395
396void AppendBitPackedRun(std::vector<uint8_t>& bytes, std::vector<bool>& expected,
397 const std::vector<uint8_t>& packed) {

Callers 1

TESTFunction · 0.85

Calls 4

AppendLeb128Function · 0.85
push_backMethod · 0.80
insertMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected