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

Method raw_data_size

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

The number of bytes used for the raw repeated value.

Source from the content-addressed store, hash-verified

128
129 /// The number of bytes used for the raw repeated value.
130 constexpr rle_size_t raw_data_size(rle_size_t value_bit_width) const noexcept {
131 auto out = bit_util::BytesForBits(value_bit_width);
132 ARROW_DCHECK_LE(out, std::numeric_limits<rle_size_t>::max());
133 return static_cast<rle_size_t>(out);
134 }
135
136 private:
137 /// The repeated value raw bytes stored inside the class with enough space to store

Callers 1

TESTFunction · 0.45

Calls 1

BytesForBitsFunction · 0.85

Tested by 1

TESTFunction · 0.36