Home
last modified time | relevance | path

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

/openbmc/linux/rust/alloc/vec/
H A Dmod.rs537 Self::try_with_capacity_in(capacity, Global) in try_with_capacity()
787 pub fn try_with_capacity_in(capacity: usize, alloc: A) -> Result<Self, TryReserveError> { in try_with_capacity_in() method
788 Ok(Vec { buf: RawVec::try_with_capacity_in(capacity, alloc)?, len: 0 }) in try_with_capacity_in()
/openbmc/linux/rust/alloc/
H A Draw_vec.rs138 pub fn try_with_capacity_in(capacity: usize, alloc: A) -> Result<Self, TryReserveError> { in try_with_capacity_in() method