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

Method CheckBufferFull

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

Source from the content-addressed store, hash-verified

1499}
1500
1501inline void RleBitPackedEncoder::CheckBufferFull() {
1502 int64_t bytes_written = bit_writer_.bytes_written();
1503 if (bytes_written + max_run_byte_size_ > bit_writer_.buffer_len()) {
1504 buffer_full_ = true;
1505 }
1506}
1507
1508inline void RleBitPackedEncoder::Clear() {
1509 buffer_full_ = false;

Callers

nothing calls this directly

Calls 2

bytes_writtenMethod · 0.80
buffer_lenMethod · 0.80

Tested by

no test coverage detected