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

Function MakeDeltaBitPackingInputWide

cpp/src/parquet/encoding_benchmark.cc:679–685  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

677
678template <typename DType>
679static auto MakeDeltaBitPackingInputWide(size_t length) {
680 using T = typename DType::c_type;
681 auto numbers = std::vector<T>(length);
682 ::arrow::randint<T, T>(length, std::numeric_limits<T>::min() >> 2,
683 std::numeric_limits<T>::max() >> 2, &numbers);
684 return numbers;
685}
686
687template <typename DType, typename NumberGenerator>
688static void BM_DeltaBitPackingEncode(benchmark::State& state, NumberGenerator gen) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected