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

Method append_n_zeroed

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

Source from the content-addressed store, hash-verified

230 /// ```
231 #[inline]
232 pub fn append_n_zeroed(&mut self, n: usize) {
233 self.buffer.extend_zeros(n * std::mem::size_of::<T>());
234 }
235
236 /// Appends a slice of type `T`, growing the internal buffer as needed.
237 ///

Callers 4

try_binaryFunction · 0.80
try_unaryMethod · 0.80
unary_optMethod · 0.80

Calls 1

extend_zerosMethod · 0.80

Tested by

no test coverage detected