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

Function is_mutable

cpp/src/arrow/buffer.h:353–353  ·  view source on GitHub ↗

\brief Whether the buffer is mutable If this function returns true, you are allowed to modify buffer contents using the pointer returned by `mutable_data()` or `mutable_address()`.

Source from the content-addressed store, hash-verified

351 /// If this function returns true, you are allowed to modify buffer contents
352 /// using the pointer returned by `mutable_data()` or `mutable_address()`.
353 bool is_mutable() const { return is_mutable_; }
354
355 const std::shared_ptr<Device>& device() const { return memory_manager_->device(); }
356

Callers 1

CheckMutableMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected