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

Method AppendEmptyValues

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

Source from the content-addressed store, hash-verified

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

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