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

Method unpack

cpp/src/arrow/util/bpacking_simd_kernel_internal.h:1076–1085  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1074 static constexpr int kValuesUnpacked = WorkingKernel::kValuesUnpacked;
1075
1076 static const uint8_t* unpack(const uint8_t* in, unpacked_type* out) {
1077 using working_type = typename WorkingKernel::unpacked_type;
1078
1079 working_type buffer[kValuesUnpacked] = {};
1080 in = WorkingKernel::unpack(in, buffer);
1081 for (int k = 0; k < kValuesUnpacked; ++k) {
1082 out[k] = static_cast<unpacked_type>(buffer[k]);
1083 }
1084 return in;
1085 }
1086};
1087
1088/*******************************

Callers

nothing calls this directly

Calls 1

unpackFunction · 0.70

Tested by

no test coverage detected