Home
last modified time | relevance | path

Searched refs:try_reserve_exact (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-6.6/rust/alloc/
H A Draw_vec.rs372 handle_reserve(self.try_reserve_exact(len, additional)); in reserve_exact()
376 pub fn try_reserve_exact( in try_reserve_exact() functions
/kernel/linux/linux-6.6/rust/alloc/vec/
H A Dmod.rs1100 /// allocations. After calling `try_reserve_exact`, capacity will be greater
1124 /// output.try_reserve_exact(data.len())?;
1136 pub fn try_reserve_exact(&mut self, additional: usize) -> Result<(), TryReserveError> { in try_reserve_exact() functions
1137 self.buf.try_reserve_exact(self.len, additional) in try_reserve_exact()

Completed in 5 milliseconds