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

Method append_n

arrow-buffer/src/builder/mod.rs:214–217  ·  view source on GitHub ↗
(&mut self, n: usize, v: T)

Source from the content-addressed store, hash-verified

212 /// ```
213 #[inline]
214 pub fn append_n(&mut self, n: usize, v: T) {
215 self.reserve(n);
216 self.extend(std::iter::repeat_n(v, n))
217 }
218
219 /// Appends `n`, zero-initialized values
220 ///

Callers 15

new_setMethod · 0.45
append_n_non_nullsMethod · 0.45
append_n_nullsMethod · 0.45
materializeMethod · 0.45
concat_dictionariesFunction · 0.45
concat_listsFunction · 0.45
concat_list_viewFunction · 0.45
concat_structsFunction · 0.45

Calls 2

reserveMethod · 0.45
extendMethod · 0.45

Tested by 1