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::AlpVectorState< T > Struct Template Reference
Collaboration diagram for duckdb::AlpVectorState< T >:

Public Member Functions

void Reset ()
template<bool SKIP = false>
void Scan (uint8_t *dest, idx_t count)
template<bool SKIP>
void LoadValues (T *value_buffer, idx_t count)

Public Attributes

idx_t index
T decoded_values [AlpConstants::ALP_VECTOR_SIZE]
T exceptions [AlpConstants::ALP_VECTOR_SIZE]
uint16_t exceptions_positions [AlpConstants::ALP_VECTOR_SIZE]
uint8_t for_encoded [AlpConstants::ALP_VECTOR_SIZE *8]
uint8_t v_exponent
uint8_t v_factor
uint16_t exceptions_count
uint64_t frame_of_reference
uint8_t bit_width

Member Function Documentation

◆ Reset()

template<class T>
void duckdb::AlpVectorState< T >::Reset ( )
inline
393558 {
393559 index = 0;
393560 }

◆ Scan()

template<class T>
template<bool SKIP = false>
void duckdb::AlpVectorState< T >::Scan ( uint8_t * dest,
idx_t count )
inline
393564 {
393565 if (!SKIP) {
393566 memcpy(dest, (void *)(decoded_values + index), sizeof(T) * count);
393567 }
393568 index += count;
393569 }
Definition duckdb.cpp:393556

◆ LoadValues()

template<class T>
template<bool SKIP>
void duckdb::AlpVectorState< T >::LoadValues ( T * value_buffer,
idx_t count )
inline
393572 {
393573 if (SKIP) {
393574 return;
393575 }
393576 value_buffer[0] = (T)0;
393577 alp::AlpDecompression<T>::Decompress(for_encoded, value_buffer, count, v_factor, v_exponent, exceptions_count,
393578 exceptions, exceptions_positions, frame_of_reference, bit_width);
393579 }

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