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

Function mutable_offsets

cpp/src/arrow/compute/light_array_internal.h:138–142  ·  view source on GitHub ↗

\brief Return a mutable version of the offsets buffer Only valid if this is a view into a varbinary type

Source from the content-addressed store, hash-verified

136 ///
137 /// Only valid if this is a view into a varbinary type
138 uint32_t* mutable_offsets() {
139 ARROW_DCHECK(!metadata_.is_fixed_length);
140 ARROW_DCHECK_EQ(metadata_.fixed_length, sizeof(uint32_t));
141 return reinterpret_cast<uint32_t*>(mutable_data(kFixedLengthBuffer));
142 }
143 /// \brief Return a read-only version of the offsets buffer
144 ///
145 /// Only valid if this is a view into a varbinary type

Callers

nothing calls this directly

Calls 1

mutable_dataFunction · 0.70

Tested by

no test coverage detected