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

Method raw_data_size

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

Source from the content-addressed store, hash-verified

171 constexpr const uint8_t* raw_data_ptr() const noexcept { return data_; }
172
173 constexpr rle_size_t raw_data_size(rle_size_t value_bit_width) const noexcept {
174 auto out = bit_util::BytesForBits(static_cast<int64_t>(value_bit_width) *
175 static_cast<int64_t>(values_count_));
176 ARROW_DCHECK_LE(out, std::numeric_limits<rle_size_t>::max());
177 return static_cast<rle_size_t>(out);
178 }
179
180 /// Maximum number of bytes allowed to be read in the buffer.
181 /// This is used for unpacking operations that may need to read more bytes than they

Callers

nothing calls this directly

Calls 1

BytesForBitsFunction · 0.85

Tested by

no test coverage detected