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

Function GetMutableValues

cpp/src/arrow/array/data.h:348–354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

346 /// it is attached to a Array instance.
347 template <typename T>
348 inline T* GetMutableValues(int i, int64_t absolute_offset) {
349 if (buffers[i]) {
350 return reinterpret_cast<T*>(buffers[i]->mutable_data()) + absolute_offset;
351 } else {
352 return NULLPTR;
353 }
354 }
355
356 /// \brief Access a buffer's data as a mutable typed C pointer
357 ///

Callers

nothing calls this directly

Calls 1

mutable_dataMethod · 0.45

Tested by

no test coverage detected