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_re2::HashMix Class Reference

Public Member Functions

 HashMix (size_t val)
void Mix (size_t val)
size_t get () const

Private Attributes

size_t hash_

Constructor & Destructor Documentation

◆ HashMix() [1/2]

duckdb_re2::HashMix::HashMix ( )
inline
462198: hash_(1) {}

◆ HashMix() [2/2]

duckdb_re2::HashMix::HashMix ( size_t val)
inlineexplicit
462199: hash_(val + 83) {}

Member Function Documentation

◆ Mix()

void duckdb_re2::HashMix::Mix ( size_t val)
inline
462200 {
462201 static const size_t kMul = static_cast<size_t>(0xdc3eb94af8ab4c93ULL);
462202 hash_ *= kMul;
462203 hash_ = ((hash_ << 19) |
462204 (hash_ >> (std::numeric_limits<size_t>::digits - 19))) + val;
462205 }

◆ get()

size_t duckdb_re2::HashMix::get ( ) const
inline
462206{ return hash_; }

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