Home
last modified time | relevance | path

Searched refs:reserve (Results 1 – 2 of 2) sorted by relevance

/rust/alloc/vec/
Dmod.rs1025 pub fn reserve(&mut self, additional: usize) { in reserve() method
1026 self.buf.reserve(self.len, additional); in reserve()
1564 self.reserve(1); in insert()
2081 self.reserve(count); in append_elements()
2632 self.reserve(range.len()); in extend_from_within()
2707 self.reserve(n); in extend_with()
3040 self.reserve(additional); in extend_reserve()
3060 self.reserve(lower.saturating_add(1)); in extend_desugared()
3112 self.reserve(additional); in extend_trusted()
3287 self.reserve(additional); in extend_reserve()
/rust/alloc/
Draw_vec.rs311 pub fn reserve(&mut self, len: usize, additional: usize) { in reserve() method