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

Public Member Functions

 TupleDataBlock (BufferManager &buffer_manager, MemoryTag tag, idx_t capacity_p)
 
 TupleDataBlock (const TupleDataBlock &other)=delete
 Disable copy constructors.
 
TupleDataBlockoperator= (const TupleDataBlock &)=delete
 
 TupleDataBlock (TupleDataBlock &&other) noexcept
 Enable move constructors.
 
TupleDataBlockoperator= (TupleDataBlock &&) noexcept
 
idx_t RemainingCapacity () const
 Remaining capacity (in bytes)
 
idx_t RemainingCapacity (idx_t row_width) const
 Remaining capacity (in rows)
 

Public Attributes

shared_ptr< BlockHandlehandle
 The underlying row block.
 
idx_t capacity
 Capacity (in bytes)
 
idx_t size
 Occupied size (in bytes)
 

Member Function Documentation

◆ RemainingCapacity() [1/2]

idx_t duckdb::TupleDataBlock::RemainingCapacity ( ) const
inline

Remaining capacity (in bytes)

57427 {
57428 D_ASSERT(size <= capacity);
57429 return capacity - size;
57430 }
idx_t capacity
Capacity (in bytes)
Definition duckdb.cpp:57441
idx_t size
Occupied size (in bytes)
Definition duckdb.cpp:57443
Here is the call graph for this function:

◆ RemainingCapacity() [2/2]

idx_t duckdb::TupleDataBlock::RemainingCapacity ( idx_t  row_width) const
inline

Remaining capacity (in rows)

57433 {
57434 return RemainingCapacity() / row_width;
57435 }
idx_t RemainingCapacity() const
Remaining capacity (in bytes)
Definition duckdb.cpp:57427

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