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::RadixPartitioningConstants< radix_bits > Struct Template Reference

Templated radix partitioning constants, can be templated to the number of radix bits. More...

Static Public Member Functions

static hash_t ApplyMask (const hash_t hash)
 Apply bitmask and right shift to get a number between 0 and NUM_PARTITIONS.

Static Public Attributes

static constexpr idx_t NUM_PARTITIONS = RadixPartitioning::NumberOfPartitions(radix_bits)
 Bitmask of the upper bits starting at the 5th byte.
static constexpr idx_t SHIFT = RadixPartitioning::Shift(radix_bits)
static constexpr hash_t MASK = RadixPartitioning::Mask(radix_bits)

Detailed Description

template<idx_t radix_bits>
struct duckdb::RadixPartitioningConstants< radix_bits >

Templated radix partitioning constants, can be templated to the number of radix bits.

Member Function Documentation

◆ ApplyMask()

template<idx_t radix_bits>
hash_t duckdb::RadixPartitioningConstants< radix_bits >::ApplyMask ( const hash_t hash)
inlinestatic

Apply bitmask and right shift to get a number between 0 and NUM_PARTITIONS.

93564 {
93565 D_ASSERT((hash & MASK) >> SHIFT < NUM_PARTITIONS);
93566 return (hash & MASK) >> SHIFT;
93567 }
Templated radix partitioning constants, can be templated to the number of radix bits.
Definition duckdb.cpp:93555
static constexpr idx_t NUM_PARTITIONS
Bitmask of the upper bits starting at the 5th byte.
Definition duckdb.cpp:93558

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