MCPcopy Create free account
hub / github.com/apache/arrow / Allocate

Function Allocate

cpp/src/arrow/memory_pool.h:119–121  ·  view source on GitHub ↗

Allocate a new memory region of at least size bytes. The allocated region shall be 64-byte aligned.

Source from the content-addressed store, hash-verified

117 ///
118 /// The allocated region shall be 64-byte aligned.
119 Status Allocate(int64_t size, uint8_t** out) {
120 return Allocate(size, kDefaultBufferAlignment, out);
121 }
122
123 /// Allocate a new memory region of at least size bytes aligned to alignment.
124 virtual Status Allocate(int64_t size, int64_t alignment, uint8_t** out) = 0;

Callers 3

EnsureAllocatedMethod · 0.85
TEST_FFunction · 0.85
ScheduleConvertTasksMethod · 0.85

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.68