MCPcopy Create free account
hub / github.com/apache/arrow-rs / append_n_non_nulls

Method append_n_non_nulls

arrow-buffer/src/builder/null.rs:105–111  ·  view source on GitHub ↗
(&mut self, n: usize)

Source from the content-addressed store, hash-verified

103 /// to indicate that these `n` items are not nulls.
104 #[inline]
105 pub fn append_n_non_nulls(&mut self, n: usize) {
106 if let Some(buf) = self.bitmap_builder.as_mut() {
107 buf.append_n(n, true)
108 } else {
109 self.len += n;
110 }
111 }
112
113 /// Appends a `true` into the builder
114 /// to indicate that this item is not null.

Callers 15

test_null_buffer_builderFunction · 0.80
copy_rowsMethod · 0.80
copy_rowsMethod · 0.80
append_arrayMethod · 0.80
try_append_value_nMethod · 0.80
append_arrayMethod · 0.80

Calls 1

append_nMethod · 0.45