Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::Chimp128DecompressionState< CHIMP_TYPE > Struct Template Reference
Collaboration diagram for duckdb::Chimp128DecompressionState< CHIMP_TYPE >:

Public Member Functions

void Reset ()
void ResetZeros ()
void SetLeadingZeros (uint8_t value)
void SetTrailingZeros (uint8_t value)
uint8_t LeadingZeros () const
uint8_t TrailingZeros () const

Public Attributes

BitReader input
uint8_t leading_zeros
uint8_t trailing_zeros
CHIMP_TYPE reference_value = 0
RingBuffer< CHIMP_TYPE > ring_buffer
bool first

Constructor & Destructor Documentation

◆ Chimp128DecompressionState()

template<class CHIMP_TYPE>
duckdb::Chimp128DecompressionState< CHIMP_TYPE >::Chimp128DecompressionState ( )
inline
397167 : reference_value(0), first(true) {
397168 ResetZeros();
397169 }

Member Function Documentation

◆ Reset()

template<class CHIMP_TYPE>
void duckdb::Chimp128DecompressionState< CHIMP_TYPE >::Reset ( )
inline
397171 {
397172 ResetZeros();
397173 reference_value = 0;
397174 ring_buffer.Reset();
397175 first = true;
397176 }

◆ ResetZeros()

template<class CHIMP_TYPE>
void duckdb::Chimp128DecompressionState< CHIMP_TYPE >::ResetZeros ( )
inline
397178 {
397179 leading_zeros = NumericLimits<uint8_t>::Maximum();
397180 trailing_zeros = 0;
397181 }
Definition duckdb.cpp:397165

◆ SetLeadingZeros()

template<class CHIMP_TYPE>
void duckdb::Chimp128DecompressionState< CHIMP_TYPE >::SetLeadingZeros ( uint8_t value)
inline
397183 {
397184 leading_zeros = value;
397185 }

◆ SetTrailingZeros()

template<class CHIMP_TYPE>
void duckdb::Chimp128DecompressionState< CHIMP_TYPE >::SetTrailingZeros ( uint8_t value)
inline
397187 {
397188 D_ASSERT(value <= sizeof(CHIMP_TYPE) * 8);
397189 trailing_zeros = value;
397190 }

◆ LeadingZeros()

template<class CHIMP_TYPE>
uint8_t duckdb::Chimp128DecompressionState< CHIMP_TYPE >::LeadingZeros ( ) const
inline
397192 {
397193 return leading_zeros;
397194 }

◆ TrailingZeros()

template<class CHIMP_TYPE>
uint8_t duckdb::Chimp128DecompressionState< CHIMP_TYPE >::TrailingZeros ( ) const
inline
397195 {
397196 return trailing_zeros;
397197 }

The documentation for this struct was generated from the following file: