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

Function UnsafeAdvance

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

Advance builder without allocating nor writing any values The internal pointer is advanced by `length` values and the same number of non-null entries are appended to the validity bitmap. This method assumes that the `length` values were populated directly, for example using `GetMutableValue`.

Source from the content-addressed store, hash-verified

875 /// This method assumes that the `length` values were populated directly,
876 /// for example using `GetMutableValue`.
877 void UnsafeAdvance(int64_t length) {
878 byte_builder_.UnsafeAdvance(length * byte_width_);
879 UnsafeAppendToBitmap(length, true);
880 }
881
882 /// Advance builder without allocating nor writing any values
883 ///

Callers

nothing calls this directly

Calls 2

UnsafeAppendToBitmapFunction · 0.85
UnsafeAdvanceMethod · 0.45

Tested by

no test coverage detected