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

Method AppendEmptyValues

cpp/src/arrow/array/builder_binary.cc:153–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153Status FixedSizeBinaryBuilder::AppendEmptyValues(int64_t length) {
154 RETURN_NOT_OK(Reserve(length));
155 UnsafeAppendToBitmap(length, true);
156 byte_builder_.UnsafeAppend(/*num_copies=*/length * byte_width_, 0);
157 return Status::OK();
158}
159
160void FixedSizeBinaryBuilder::Reset() {
161 ArrayBuilder::Reset();

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected