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

Method AllocateBuffer

cpp/src/arrow/device.cc:199–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197}
198
199Result<std::unique_ptr<Buffer>> CPUMemoryManager::AllocateBuffer(int64_t size) {
200 return ::arrow::AllocateBuffer(size, pool_);
201}
202
203Result<std::shared_ptr<Buffer>> CPUMemoryManager::CopyBufferFrom(
204 const std::shared_ptr<Buffer>& buf, const std::shared_ptr<MemoryManager>& from) {

Callers

nothing calls this directly

Calls 1

AllocateBufferFunction · 0.70

Tested by

no test coverage detected