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

Method reserve

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

Source from the content-addressed store, hash-verified

177 /// ```
178 #[inline]
179 pub fn reserve(&mut self, n: usize) {
180 self.buffer.reserve(n * std::mem::size_of::<T>());
181 }
182
183 /// Appends a value of type `T` into the builder,
184 /// growing the internal buffer as needed.

Callers 5

claimMethod · 0.45
appendMethod · 0.45
append_nMethod · 0.45
reserve_length_overflowFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected