Searched refs:has_dropped (Results 1 – 4 of 4) sorted by relevance
28 has_dropped: Flag, field32 pub fn new(has_dropped: &Flag) -> Self { in new()34 has_dropped: Flag { in new()35 atomic: Arc::clone(&has_dropped.atomic), in new()51 let already_dropped = self.has_dropped.atomic.swap(true, SeqCst); in drop()
26 let has_dropped = Flag::new(); in test_drop() localVariable27 drop(Error::new(DetectDrop::new(&has_dropped))); in test_drop()28 assert!(has_dropped.get()); in test_drop()
11 let has_dropped = Flag::new(); in test_convert() localVariable12 let error = Error::new(DetectDrop::new(&has_dropped)); in test_convert()16 assert!(has_dropped.get()); in test_convert()
81 let has_dropped = Flag::new(); in test_drop() localVariable82 let error = Error::new(DetectDrop::new(&has_dropped)); in test_drop()84 assert!(has_dropped.get()); in test_drop()