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

Static Public Member Functions

static void Generate (TestVectorInfo &info)

Member Function Documentation

◆ Generate()

void duckdb::TestVectorConstant::Generate ( TestVectorInfo & info)
inlinestatic
250864 {
250865 auto values = TestVectorFlat::GenerateValues(info);
250866 for (idx_t cur_row = 0; cur_row < TestVectorFlat::TEST_VECTOR_CARDINALITY; cur_row += STANDARD_VECTOR_SIZE) {
250867 auto result = make_uniq<DataChunk>();
250868 result->Initialize(Allocator::DefaultAllocator(), info.types);
250869 auto cardinality = MinValue<idx_t>(STANDARD_VECTOR_SIZE, TestVectorFlat::TEST_VECTOR_CARDINALITY - cur_row);
250870 for (idx_t c = 0; c < info.types.size(); c++) {
250871 result->data[c].SetValue(0, values.GetValue(0, c));
250872 result->data[c].SetVectorType(VectorType::CONSTANT_VECTOR);
250873 }
250874 result->SetCardinality(cardinality);
250875
250876 info.entries.push_back(std::move(result));
250877 }
250878 }
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: