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

Function AllocateBuffer

cpp/src/arrow/memory_pool.cc:1010–1012  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1008} // namespace
1009
1010Result<std::unique_ptr<Buffer>> AllocateBuffer(const int64_t size, MemoryPool* pool) {
1011 return AllocateBuffer(size, kDefaultBufferAlignment, pool);
1012}
1013
1014Result<std::unique_ptr<Buffer>> AllocateBuffer(const int64_t size,
1015 const int64_t alignment,

Calls

no outgoing calls

Tested by 15

TESTFunction · 0.56
TESTFunction · 0.56
TESTFunction · 0.40
TakeUsingVectorFunction · 0.40
TESTFunction · 0.40
TESTFunction · 0.40
MakeRandomTensorFunction · 0.40
UnalignBuffersFunction · 0.40
TESTFunction · 0.40
TESTFunction · 0.40
CreateMethod · 0.40
TEST_FFunction · 0.40