| 972 | |
| 973 | template <typename T> |
| 974 | RleCountUpToResult RleBitPackedDecoder<T>::CountUpTo(value_type value, |
| 975 | rle_size_t batch_size) { |
| 976 | rle_size_t count = 0; |
| 977 | const rle_size_t processed_count = ProcessValues( |
| 978 | [value, this, &count](auto& decoder, rle_size_t run_batch_size) { |
| 979 | const auto result = decoder.CountUpTo({ |
| 980 | .value = value, |
| 981 | .batch_size = run_batch_size, |
| 982 | .value_bit_width = value_bit_width_, |
| 983 | }); |
| 984 | count += result.matching_count; |
| 985 | return result.processed_count; |
| 986 | }, |
| 987 | batch_size); |
| 988 | return {.matching_count = count, .processed_count = processed_count}; |
| 989 | } |
| 990 | |
| 991 | template <typename T> |
| 992 | bool RleBitPackedDecoder<T>::Get(value_type* val) { |
no outgoing calls