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

Method CheckBufferFull

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

Source from the content-addressed store, hash-verified

1477}
1478
1479inline void RleBitPackedEncoder::CheckBufferFull() {
1480 int64_t bytes_written = bit_writer_.bytes_written();
1481 if (bytes_written + max_run_byte_size_ > bit_writer_.buffer_len()) {
1482 buffer_full_ = true;
1483 }
1484}
1485
1486inline void RleBitPackedEncoder::Clear() {
1487 buffer_full_ = false;

Callers

nothing calls this directly

Calls 2

bytes_writtenMethod · 0.80
buffer_lenMethod · 0.80

Tested by

no test coverage detected