Home
last modified time | relevance | path

Searched refs:N_ROUNDS (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/once_cell/examples/
Dbench_vs_lazy_static.rs5 const N_ROUNDS: usize = 100_000_000; constant
40 for _ in 0..N_ROUNDS { in thread_once_cell()
47 for _ in 0..N_ROUNDS { in thread_lazy_static()
Dbench.rs6 const N_ROUNDS: usize = 100_000_000; constant
24 for _ in 0..N_ROUNDS { in thread_main()
Dtest_synchronization.rs13 const N_ROUNDS: usize = 1_000_000; constant
20 CELLS.get_or_init(|| vec![OnceCell::new(); N_ROUNDS]); in main()
Dbench_acquire.rs9 const N_ROUNDS: usize = 1_000_000; constant
31 for _ in 0..N_ROUNDS { in thread_main()