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::HashCSVStateMachineConfig Struct Reference

Hash function used in out state machine cache, it hashes and combines all options used to generate a state machine. More...

Public Member Functions

hash_t operator() (CSVStateMachineOptions const &config) const noexcept

Detailed Description

Hash function used in out state machine cache, it hashes and combines all options used to generate a state machine.

Member Function Documentation

◆ operator()()

hash_t duckdb::HashCSVStateMachineConfig::operator() ( CSVStateMachineOptions const & config) const
inlinenoexcept
165807 {
165808 auto h_delimiter = Hash(config.delimiter.GetValue().c_str());
165809 auto h_quote = Hash(config.quote.GetValue());
165810 auto h_escape = Hash(config.escape.GetValue());
165811 auto h_newline = Hash(static_cast<uint8_t>(config.new_line.GetValue()));
165812 auto h_comment = Hash(static_cast<uint8_t>(config.comment.GetValue()));
165813 return CombineHash(h_delimiter, CombineHash(h_quote, CombineHash(h_escape, CombineHash(h_newline, h_comment))));
165814 }
::uint8_t uint8_t
hash_t CombineHash(hash_t left, hash_t right)
Combine two hashes by XORing them.
Definition duckdb.hpp:4635

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