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

Method GetBufferWriter

cpp/src/arrow/device.cc:194–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194Result<std::shared_ptr<io::OutputStream>> CPUMemoryManager::GetBufferWriter(
195 std::shared_ptr<Buffer> buf) {
196 return std::make_shared<io::FixedSizeBufferWriter>(std::move(buf));
197}
198
199Result<std::unique_ptr<Buffer>> CPUMemoryManager::AllocateBuffer(int64_t size) {
200 return ::arrow::AllocateBuffer(size, pool_);

Callers 1

GetWriterMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected