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

Method Decode

cpp/src/parquet/decoder.cc:522–530  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

520
521template <typename DType>
522int PlainDecoder<DType>::Decode(T* buffer, int max_values) {
523 max_values = std::min(max_values, this->num_values_);
524 int bytes_consumed =
525 DecodePlain<T>(this->data_, this->len_, max_values, this->type_length_, buffer);
526 this->data_ += bytes_consumed;
527 this->len_ -= bytes_consumed;
528 this->num_values_ -= max_values;
529 return max_values;
530}
531
532// PLAIN decoder implementation for BOOLEAN
533

Callers 15

VerifyDecodingLevelsFunction · 0.45
DecodeLevelsFunction · 0.45
DecodeSpacedMethod · 0.45
DecodeDictMethod · 0.45
DecodeLengthsMethod · 0.45
SetDataMethod · 0.45
GetInternalMethod · 0.45
DecodeFunction · 0.45
Decode<BooleanType>Function · 0.45
BM_RleDecodingFunction · 0.45
PlainDecodeMethod · 0.45

Calls 3

CopyBitmapFunction · 0.50
AdvanceMethod · 0.45
GetBatchMethod · 0.45

Tested by 10

VerifyDecodingLevelsFunction · 0.36
TESTFunction · 0.36
CheckRoundtripMethod · 0.36
CheckRoundtripMethod · 0.36
CheckRoundtripMethod · 0.36
CheckDecodeMethod · 0.36
CheckDecodingMethod · 0.36
CheckRoundtripMethod · 0.36
CheckRoundtripMethod · 0.36