Searched refs:num_empty_slots (Results 1 – 2 of 2) sorted by relevance
347 pub fn num_empty_slots(&self) -> usize { in num_empty_slots() method544 assert_eq!(state.num_empty_slots(), usize::try_from(size).unwrap()); in test_next_available_allocation_strategy()546 assert_eq!(state.num_empty_slots(), usize::try_from(size - i).unwrap()); in test_next_available_allocation_strategy()566 assert_eq!(state.num_empty_slots(), 99); in test_affinity_allocation_strategy()585 assert_eq!(state.num_empty_slots(), 100); in test_affinity_allocation_strategy()592 assert_eq!(state.num_empty_slots(), 0); in test_affinity_allocation_strategy()
949 dbg!(pool.stripes[0].allocator.num_empty_slots()); in test_pooling_allocator_striping()950 dbg!(pool.stripes[1].allocator.num_empty_slots()); in test_pooling_allocator_striping()954 .map(|s| s.allocator.num_empty_slots()) in test_pooling_allocator_striping()