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

Method GetWriter

cpp/src/arrow/buffer.cc:120–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120Result<std::shared_ptr<io::OutputStream>> Buffer::GetWriter(std::shared_ptr<Buffer> buf) {
121 if (!buf->is_mutable()) {
122 return Status::Invalid("Expected mutable buffer");
123 }
124 return buf->memory_manager_->GetBufferWriter(std::move(buf));
125}
126
127Result<std::shared_ptr<Buffer>> Buffer::Copy(std::shared_ptr<Buffer> source,
128 const std::shared_ptr<MemoryManager>& to) {

Callers

nothing calls this directly

Calls 2

InvalidFunction · 0.70
GetBufferWriterMethod · 0.45

Tested by

no test coverage detected