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

Method CheckBufferFull

cpp/src/arrow/util/rle_encoding_internal.h:1632–1637  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1630}
1631
1632inline void RleBitPackedEncoder::CheckBufferFull() {
1633 int64_t bytes_written = bit_writer_.bytes_written();
1634 if (bytes_written + max_run_byte_size_ > bit_writer_.buffer_len()) {
1635 buffer_full_ = true;
1636 }
1637}
1638
1639inline void RleBitPackedEncoder::Clear() {
1640 buffer_full_ = false;

Callers

nothing calls this directly

Calls 2

bytes_writtenMethod · 0.80
buffer_lenMethod · 0.80

Tested by

no test coverage detected