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

Function mutable_span_as

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

Source from the content-addressed store, hash-verified

317 /// \brief Return the buffer's mutable data as a span
318 template <typename T>
319 std::span<T> mutable_span_as() {
320 return std::span(mutable_data_as<T>(), static_cast<size_t>(size() / sizeof(T)));
321 }
322
323 /// \brief Return the device address of the buffer's data
324 uintptr_t address() const { return reinterpret_cast<uintptr_t>(data_); }

Callers

nothing calls this directly

Calls 1

sizeFunction · 0.70

Tested by

no test coverage detected