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

Method CheckBufferFull

be/src/util/rle-encoding.h:477–482  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

475}
476
477inline void RleEncoder::CheckBufferFull() {
478 int bytes_written = bit_writer_.bytes_written();
479 if (bytes_written + max_run_byte_size_ > bit_writer_.buffer_len()) {
480 buffer_full_ = true;
481 }
482}
483
484inline void RleEncoder::Clear() {
485 buffer_full_ = false;

Callers

nothing calls this directly

Calls 2

bytes_writtenMethod · 0.45
buffer_lenMethod · 0.45

Tested by

no test coverage detected