Lines Matching defs:slab
9 let mut slab = Slab::new(); in insert_get_remove_one() localVariable
26 let mut slab = Slab::with_capacity(10); in insert_get_many() localVariable
45 let mut slab = Slab::with_capacity(10); in insert_get_remove_many() localVariable
67 let mut slab = Slab::with_capacity(1); in insert_with_vacant_entry() localVariable
81 let mut slab = Slab::<usize>::with_capacity(1); in get_vacant_entry_without_using() localVariable
89 let slab = Slab::<usize>::with_capacity(1); in invalid_get_panics() localVariable
96 let mut slab = Slab::<usize>::new(); in invalid_get_mut_panics() localVariable
103 let mut slab = Slab::<usize>::with_capacity(1); in double_remove_panics() localVariable
112 let mut slab = Slab::<usize>::with_capacity(1); in invalid_remove_panics() localVariable
118 let mut slab = Slab::new(); in slab_get_mut() localVariable
130 let mut slab = Slab::new(); in key_of_tagged() localVariable
139 let mut slab = Slab::new(); in key_of_layout_optimizable() localVariable
149 let mut slab = Slab::new(); in key_of_zst() localVariable
158 let mut slab = Slab::with_capacity(10); in reserve_does_not_allocate_if_available() localVariable
177 let mut slab = Slab::with_capacity(10); in reserve_exact_does_not_allocate_if_available() localVariable
197 let mut slab = Slab::with_capacity(10); in reserve_does_panic_with_capacity_overflow() localVariable
205 let mut slab = Slab::with_capacity(10); in reserve_does_panic_with_capacity_overflow_bytes() localVariable
213 let mut slab = Slab::with_capacity(10); in reserve_exact_does_panic_with_capacity_overflow() localVariable
220 let mut slab = Slab::with_capacity(2); in retain() localVariable
250 let mut slab = Slab::new(); in into_iter() localVariable
270 let mut slab = Slab::new(); in into_iter_rev() localVariable
287 let mut slab = Slab::new(); in iter() localVariable
311 let mut slab = Slab::new(); in iter_rev() localVariable
324 let mut slab = Slab::new(); in iter_mut() localVariable
350 let mut slab = Slab::new(); in iter_mut_rev() localVariable
376 let mut slab = (0..5).map(|i| (i, i)).collect::<Slab<_>>(); in from_iterator_sorted() localVariable
387 let mut slab = [(0, 'a'), (1, 'a'), (1, 'b'), (0, 'b'), (9, 'a'), (0, 'c')] in from_iterator_new_in_order() localVariable
401 let mut slab = vec![(1, "one"), (50, "fifty"), (3, "three"), (20, "twenty")] in from_iterator_unordered() localVariable
417 let mut slab: slab::Slab<()> = vec![(1, ())].into_iter().collect(); in from_iterator_issue_100() localVariable
423 let mut slab: slab::Slab<()> = vec![(1, ()), (2, ())].into_iter().collect(); in from_iterator_issue_100() localVariable
429 let mut slab: slab::Slab<()> = vec![(1, ()), (3, ())].into_iter().collect(); in from_iterator_issue_100() localVariable
435 let mut slab: slab::Slab<()> = vec![(0, ()), (2, ()), (3, ()), (5, ())] in from_iterator_issue_100() localVariable
446 let mut slab = Slab::new(); in clear() localVariable
473 let mut slab = Slab::<bool>::with_capacity(20); in shrink_to_fit_empty() localVariable
480 let mut slab = Slab::with_capacity(20); in shrink_to_fit_no_vacant() localVariable
488 let mut slab = Slab::with_capacity(8); in shrink_to_fit_doesnt_move() localVariable
505 let mut slab = Slab::with_capacity(16); in shrink_to_fit_doesnt_recreate_list_when_nothing_can_be_done() localVariable
521 let mut slab = Slab::new(); in compact_empty() localVariable
542 let mut slab = Slab::new(); in compact_no_moves_needed() localVariable
561 let mut slab = Slab::with_capacity(20); in compact_moves_successfully() localVariable
592 let mut slab = Slab::with_capacity(20); in compact_doesnt_move_if_closure_errors() localVariable
620 let mut slab = Slab::new(); in compact_handles_closure_panic() localVariable
654 let mut slab = Slab::new(); in fully_consumed_drain() localVariable
673 let mut slab = Slab::new(); in partially_consumed_drain() localVariable
689 let mut slab = Slab::new(); in drain_rev() localVariable
701 let mut slab = Slab::new(); in try_remove() localVariable