Lines Matching defs:init
963 ($($fname:ident, $type:ty, $count:expr, $init:expr);*) => {
968 let src: Vec<$type> = black_box(vec![$init; $count]);
14602 fn allocate_in(capacity: usize, init: AllocInit, alloc: A) -> Self {
14616 let result = match init {
22794 let (init, tail) = self.split_at(target.len());
22797 target.clone_from_slice(init);
37991 unsafe fn init(this: *mut Self) {
38005 LeafNode::init(leaf.as_mut_ptr());
38038 LeafNode::init(ptr::addr_of_mut!((*node.as_mut_ptr()).data));
43345 fn try_fold<B, F, R>(&mut self, init: B, mut f: F) -> R
43355 final_res = iter.try_fold(init, &mut f);
43360 let res = back_iter.try_fold(init, &mut f);
43419 fn try_rfold<B, F, R>(&mut self, init: B, mut f: F) -> R
43429 final_res = iter.try_rfold(init, &mut f);
43434 let res = front_iter.try_rfold(init, &mut f);
48824 /// let (init, uninit) = v.split_at_spare_mut();
48825 /// let sum = init.iter().copied().sum::<u32>();
48846 let (init, spare, _) = unsafe { self.split_at_spare_mut_with_len() };
48847 (init, spare)
49098 let (init, spare) = self.split_at_spare_mut();
49102 let source = unsafe { init.get_unchecked(src) };
49166 let (init, tail) = other.split_at(self.len());
49169 self.clone_from_slice(init);