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

Function UnsafeAppend

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

\brief Append without checking capacity Builder should have been presized using Reserve() and ReserveData(), respectively, and the value must not be larger than 2GB

Source from the content-addressed store, hash-verified

628 /// Builder should have been presized using Reserve() and ReserveData(),
629 /// respectively, and the value must not be larger than 2GB
630 void UnsafeAppend(const uint8_t* value, int64_t length) {
631 UnsafeAppendToBitmap(true);
632 auto v = data_heap_builder_.Append</*Safe=*/false>(value, length);
633 data_builder_.UnsafeAppend(v);
634 }
635
636 void UnsafeAppend(const char* value, int64_t length) {
637 UnsafeAppend(reinterpret_cast<const uint8_t*>(value), length);

Callers 6

AppendArraySliceMethod · 0.70
AppendMethod · 0.70
UnsafeAppendMethod · 0.70
UnsafeAppendMethod · 0.70
AppendArraySliceMethod · 0.70
AppendFunction · 0.70

Calls 4

UnsafeAppendToBitmapFunction · 0.85
UnsafeAppendMethod · 0.45
sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected