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::ArenaChunk Struct Reference
Collaboration diagram for duckdb::ArenaChunk:

Public Member Functions

 ArenaChunk (Allocator &allocator, idx_t size)

Public Attributes

AllocatedData data
idx_t current_position
idx_t maximum_size
unsafe_unique_ptr< ArenaChunk > next
ArenaChunk * prev

Constructor & Destructor Documentation

◆ ArenaChunk()

duckdb::ArenaChunk::ArenaChunk ( Allocator & allocator,
idx_t size )
386053 : current_position(0), maximum_size(size), prev(nullptr) {
386054 D_ASSERT(size > 0);
386055 data = allocator.Allocate(size);
386056}

◆ ~ArenaChunk()

duckdb::ArenaChunk::~ArenaChunk ( )
386057 {
386058 if (next) {
386059 auto current_next = std::move(next);
386060 while (current_next) {
386061 current_next = std::move(current_next->next);
386062 }
386063 }
386064}

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