Lines Matching refs:ITERATIONS
1038 const ITERATIONS: usize = 103; in high_contention() constant
1046 for _ in 0..ITERATIONS { in high_contention()
1056 assert_eq!(*block_on(mu.read_lock()), THREADS * ITERATIONS); in high_contention()
1063 const ITERATIONS: usize = 103; in high_contention_with_cancel() constant
1066 for _ in 0..ITERATIONS { in high_contention_with_cancel()
1093 TASKS * ITERATIONS in high_contention_with_cancel()
1102 const ITERATIONS: usize = 103; in single_thread_async() constant
1106 for _ in 0..ITERATIONS { in single_thread_async()
1123 assert_eq!(*block_on(mu.read_lock()), TASKS * ITERATIONS); in single_thread_async()
1130 const ITERATIONS: usize = 103; in multi_thread_async() constant
1134 for _ in 0..ITERATIONS { in multi_thread_async()
1152 assert_eq!(*block_on(mu.read_lock()), TASKS * ITERATIONS); in multi_thread_async()
1194 const ITERATIONS: isize = 13; in rw_arc() constant
1202 for _ in 0..ITERATIONS { in rw_arc()
1229 assert_eq!(*block_on(mu.read_lock()), ITERATIONS); in rw_arc()
1271 for _ in 0..ITERATIONS { in rw_single_thread_async()
1292 const ITERATIONS: isize = 13; in rw_single_thread_async() constant
1310 assert_eq!(*block_on(mu.read_lock()), ITERATIONS); in rw_single_thread_async()
1318 for _ in 0..ITERATIONS { in rw_multi_thread_async()
1338 const ITERATIONS: isize = 13; in rw_multi_thread_async() constant
1361 assert_eq!(*block_on(mu.read_lock()), ITERATIONS); in rw_multi_thread_async()