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

Static Public Member Functions

static void Generate (TestVectorInfo &info)

Member Function Documentation

◆ Generate()

void duckdb::TestVectorDictionary::Generate ( TestVectorInfo & info)
inlinestatic
250969 {
250970 idx_t current_chunk = info.entries.size();
250971
250972 unordered_set<idx_t> slice_entries {1, 2};
250973
250974 TestVectorFlat::Generate(info);
250975 idx_t current_idx = 0;
250976 for (idx_t i = current_chunk; i < info.entries.size(); i++) {
250977 auto &chunk = *info.entries[i];
250978 SelectionVector sel(STANDARD_VECTOR_SIZE);
250979 idx_t sel_idx = 0;
250980 for (idx_t k = 0; k < chunk.size(); k++) {
250981 if (slice_entries.count(current_idx + k) > 0) {
250982 sel.set_index(sel_idx++, k);
250983 }
250984 }
250985 chunk.Slice(sel, sel_idx);
250986 current_idx += chunk.size();
250987 }
250988 }
uint64_t idx_t
a saner size_t for loop indices etc
Definition duckdb.hpp:237

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