MCPcopy Create free account
hub / github.com/AimRT/AimRT / Reserve

Method Reserve

src/interface/aimrt_module_cpp_interface/util/buffer.h:70–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68 aimrt_buffer_t* Data() const { return buffer_array_.data; }
69
70 void Reserve(size_t new_cap) {
71 allocator_ptr_->reserve(allocator_ptr_->impl, &buffer_array_, new_cap);
72 }
73
74 aimrt_buffer_t NewBuffer(size_t size) {
75 return allocator_ptr_->allocate(allocator_ptr_->impl, &buffer_array_, size);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected