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

Method MaxRleBufferSize

cpp/src/parquet/encoder.cc:1711–1714  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1709 void PutImpl(const SequenceType& src, int num_values);
1710
1711 int64_t MaxRleBufferSize() const noexcept {
1712 return RlePreserveBufferSize(static_cast<int64_t>(buffered_append_values_.size()),
1713 kBitWidth);
1714 }
1715
1716 constexpr static int32_t kBitWidth = 1;
1717 /// 4 bytes in little-endian, which indicates the length.

Callers

nothing calls this directly

Calls 2

RlePreserveBufferSizeFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected