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

Method Load

publication/source_code/include/chimp/chimp.hpp:183–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181 static constexpr uint8_t SIGNIFICANT_BITS_SIZE = 6;
182
183 static inline CHIMP_TYPE
184 Load(ChimpConstants::Flags flag, uint8_t leading_zeros[], uint32_t& leading_zero_index, DecompressState& state) {
185 if (DUCKDB_UNLIKELY(state.first)) {
186 return LoadFirst(state);
187 } else {
188 return DecompressValue(flag, leading_zeros, leading_zero_index, state);
189 }
190 }
191
192 static inline CHIMP_TYPE LoadFirst(DecompressState& state) {
193 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