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

Function AllocateBuffer

cpp/src/arrow/memory_pool.cc:1005–1007  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1003} // namespace
1004
1005Result<std::unique_ptr<Buffer>> AllocateBuffer(const int64_t size, MemoryPool* pool) {
1006 return AllocateBuffer(size, kDefaultBufferAlignment, pool);
1007}
1008
1009Result<std::unique_ptr<Buffer>> AllocateBuffer(const int64_t size,
1010 const int64_t alignment,

Callers 15

TESTFunction · 0.70
ToTensorImplFunction · 0.70
VisitMethod · 0.70
AllocateBufferMethod · 0.70
FinishFunction · 0.70
TESTFunction · 0.70
ARROW_ASSIGN_OR_RAISEFunction · 0.50
BuildMethod · 0.50
ConvertMethod · 0.50
MemoryBandwidthFunction · 0.50
ParallelMemoryCopyFunction · 0.50

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