Lines Matching defs:total
845 total: Arc<AtomicUsize>,
851 total: Arc<AtomicUsize>,
856 self.total.fetch_sub(1, SeqCst);
861 fn total(&self) -> usize {
862 self.total.load(SeqCst)
865 self.total.fetch_add(1, SeqCst);
866 Pebble { val, total: Arc::clone(&self.total) }
902 assert_eq!(heap.total(), 1);
904 assert_eq!(heap.total(), 0);
915 assert_eq!(heap.total(), 1);
919 assert_eq!(heap.total(), 1);
922 assert_eq!(heap.total(), 0);