Lines Matching +full:test +full:- +full:loom
5 #[cfg(not(loom))]
7 #[cfg(not(loom))]
9 #[cfg(loom)]
10 use loom::sync::{
15 #[cfg(loom)]
18 pub fn maybe_loom_model(test: impl Fn() + Sync + Send + 'static) { in maybe_loom_model()
19 #[cfg(loom)] in maybe_loom_model()
20 loom::model(test); in maybe_loom_model()
21 #[cfg(not(loom))] in maybe_loom_model()
22 test(); in maybe_loom_model()
33 pub fn new(value: T) -> (Self, DropCounterHandle) { in new()
44 pub fn value(&self) -> &T { in value()
48 pub fn into_value(mut self) -> T { in into_value()
54 pub fn count(&self) -> usize { in count()