MCPcopy Create free account
hub / github.com/cwida/ALP / Load

Method Load

publication/source_code/include/chimp/chimp128.hpp:226–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224 }
225
226 static inline CHIMP_TYPE Load(ChimpConstants::Flags flag,
227 uint8_t leading_zeros[],
228 uint32_t& leading_zero_index,
229 UnpackedData unpacked_data[],
230 uint32_t& unpacked_index,
231 DecompressState& state) {
232 if (DUCKDB_UNLIKELY(state.first)) {
233 return LoadFirst(state);
234 } else {
235 return DecompressValue(flag, leading_zeros, leading_zero_index, unpacked_data, unpacked_index, state);
236 }
237 }
238
239 static inline CHIMP_TYPE LoadFirst(DecompressState& state) {
240 CHIMP_TYPE result = state.input.template ReadValue<CHIMP_TYPE, sizeof(CHIMP_TYPE) * 8>();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected