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

Method AppendEmptyValues

cpp/src/arrow/array/builder_binary.h:133–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131 }
132
133 Status AppendEmptyValues(int64_t length) final {
134 const int64_t num_bytes = value_data_builder_.length();
135 ARROW_RETURN_NOT_OK(Reserve(length));
136 for (int64_t i = 0; i < length; ++i) {
137 offsets_builder_.UnsafeAppend(static_cast<offset_type>(num_bytes));
138 }
139 UnsafeAppendToBitmap(length, true);
140 return Status::OK();
141 }
142
143 /// \brief Append without checking capacity
144 ///

Callers

nothing calls this directly

Calls 5

UnsafeAppendToBitmapFunction · 0.85
ReserveFunction · 0.70
OKFunction · 0.50
lengthMethod · 0.45
UnsafeAppendMethod · 0.45

Tested by

no test coverage detected