Home
last modified time | relevance | path

Searched refs:with_capacity (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/rust/alloc/
H A Dslice.rs506 let mut buf = Vec::with_capacity(capacity); in repeat()
714 let mut result = Vec::with_capacity(size); in concat()
734 let mut result = Vec::with_capacity(size); in join()
758 let mut result = Vec::with_capacity(size); in join()
H A Draw_vec.rs93 pub fn with_capacity(capacity: usize) -> Self { in with_capacity() method
H A Dboxed.rs639 unsafe { RawVec::with_capacity(len).into_box(len) } in new_uninit_slice()
1503 let buf = RawVec::with_capacity(len); in from_slice()
/openbmc/linux/rust/macros/
H A Dzeroable.rs17 let mut new_impl_generics = Vec::with_capacity(impl_generics.len()); in derive()
/openbmc/openbmc/poky/meta/recipes-devtools/rust/files/
H A Drepro-issue-fix-with-cc-crate-hashmap.patch16 let mut objects = Vec::with_capacity(files.len());
59 let mut objects = Vec::with_capacity(files.len());
/openbmc/linux/rust/alloc/vec/
H A Dmod.rs481 pub fn with_capacity(capacity: usize) -> Self { in with_capacity() method