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

Method GetRepeatedValue

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

Source from the content-addressed store, hash-verified

515
516template <typename T>
517inline T RleBatchDecoder<T>::GetRepeatedValue(int32_t num_repeats_to_consume) {
518 DCHECK_GE(num_repeats_to_consume, 0);
519 DCHECK_GE(repeat_count_, num_repeats_to_consume);
520 repeat_count_ -= num_repeats_to_consume;
521 return repeated_value_;
522}
523
524template <typename T>
525inline void RleBatchDecoder<T>::SkipRepeatedValues(int32_t num_values) {

Callers 4

GetValuesMemsetFunction · 0.45
GetRleValuesMethod · 0.45
GetNextValuesMethod · 0.45
DecodeNextValueMethod · 0.45

Calls

no outgoing calls

Tested by 1

GetRleValuesMethod · 0.36