Home
last modified time | relevance | path

Searched refs:N_THREADS (Results 1 - 8 of 8) sorted by relevance

/third_party/pulseaudio/src/tests/
H A Donce-test.c51 #define N_THREADS 100 macro
90 pa_thread* threads[N_THREADS]; in START_TEST()
93 fail_unless(pthread_barrier_init(&barrier, NULL, N_THREADS) == 0); in START_TEST()
99 for (i = 0; i < N_THREADS; i++) in START_TEST()
102 for (i = 0; i < N_THREADS; i++) in START_TEST()
108 for (i = 0; i < N_THREADS; i++) { in START_TEST()
/third_party/rust/crates/once_cell/examples/
H A Dbench.rs5 const N_THREADS: usize = 32; consts
13 (0..N_THREADS).map(|i| std::thread::spawn(move || thread_main(i))).collect::<Vec<_>>(); in main()
26 assert!(value < N_THREADS) in thread_main()
H A Dbench_vs_lazy_static.rs4 const N_THREADS: usize = 32; consts
16 let threads = (0..N_THREADS) in main()
26 let threads = (0..N_THREADS) in main()
H A Dtest_synchronization.rs12 const N_THREADS: usize = 32; consts
22 (0..N_THREADS).map(|i| std::thread::spawn(move || thread_main(i))).collect::<Vec<_>>(); in main()
H A Dbench_acquire.rs8 const N_THREADS: usize = 16; consts
17 (0..N_THREADS).map(|i| std::thread::spawn(move || thread_main(i))).collect::<Vec<_>>(); in main()
/third_party/node/deps/v8/third_party/wasm-api/example/
H A Dthreads.cc8 const int N_THREADS = 10; variable
106 std::thread threads[N_THREADS]; in main()
107 for (int i = 0; i < N_THREADS; ++i) { in main()
115 for (int i = 0; i < N_THREADS; ++i) { in main()
H A Dthreads.c12 const int N_THREADS = 10; variable
134 pthread_t threads[N_THREADS]; in main()
135 for (int i = 0; i < N_THREADS; i++) { in main()
144 for (int i = 0; i < N_THREADS; i++) { in main()
/third_party/python/Lib/test/
H A Dtest_gc.py439 N_THREADS = 2
484 for i in range(N_THREADS):

Completed in 4 milliseconds