Lines Matching refs:ITERATIONS
1161 const ITERATIONS: usize = 103; in high_contention() constant
1169 for _ in 0..ITERATIONS { in high_contention()
1179 assert_eq!(*block_on(mu.read_lock()), THREADS * ITERATIONS); in high_contention()
1186 const ITERATIONS: usize = 103; in high_contention_with_cancel() constant
1189 for _ in 0..ITERATIONS { in high_contention_with_cancel()
1216 TASKS * ITERATIONS in high_contention_with_cancel()
1225 const ITERATIONS: usize = 103; in single_thread_async() constant
1229 for _ in 0..ITERATIONS { in single_thread_async()
1246 assert_eq!(*block_on(mu.read_lock()), TASKS * ITERATIONS); in single_thread_async()
1253 const ITERATIONS: usize = 103; in multi_thread_async() constant
1257 for _ in 0..ITERATIONS { in multi_thread_async()
1275 assert_eq!(*block_on(mu.read_lock()), TASKS * ITERATIONS); in multi_thread_async()
1317 const ITERATIONS: isize = 13; in rw_arc() constant
1325 for _ in 0..ITERATIONS { in rw_arc()
1352 assert_eq!(*block_on(mu.read_lock()), ITERATIONS); in rw_arc()
1392 for _ in 0..ITERATIONS { in rw_single_thread_async()
1413 const ITERATIONS: isize = 13; in rw_single_thread_async() constant
1431 assert_eq!(*block_on(mu.read_lock()), ITERATIONS); in rw_single_thread_async()
1439 for _ in 0..ITERATIONS { in rw_multi_thread_async()
1459 const ITERATIONS: isize = 13; in rw_multi_thread_async() constant
1482 assert_eq!(*block_on(mu.read_lock()), ITERATIONS); in rw_multi_thread_async()