MCPcopy Create free account
hub / github.com/SoftbearStudios/bitcode / reserve

Method reserve

src/derive/vec.rs:34–37  ·  view source on GitHub ↗
(&mut self, additional: NonZeroUsize)

Source from the content-addressed store, hash-verified

32 }
33
34 fn reserve(&mut self, additional: NonZeroUsize) {
35 self.lengths.reserve(additional);
36 // We don't know the lengths of the vectors, so we can't reserve more.
37 }
38}
39
40/// Copies `N` or `n` bytes from `src` to `dst` depending on if `src` lies within a memory page.

Callers 5

encodeMethod · 0.45
encodeFunction · 0.45
encodeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected