Home
last modified time | relevance | path

Searched refs:N_THREADS (Results 1 – 7 of 7) sorted by relevance

/third_party/pulseaudio/src/tests/
Donce-test.c53 #define N_THREADS 100 macro
92 pa_thread* threads[N_THREADS]; in START_TEST()
95 fail_unless(pthread_barrier_init(&barrier, NULL, N_THREADS) == 0); in START_TEST()
101 for (i = 0; i < N_THREADS; i++) in START_TEST()
104 for (i = 0; i < N_THREADS; i++) in START_TEST()
110 for (i = 0; i < N_THREADS; i++) { in START_TEST()
/third_party/rust/crates/once_cell/examples/
Dbench.rs5 const N_THREADS: usize = 32; constant
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()
Dbench_vs_lazy_static.rs4 const N_THREADS: usize = 32; constant
16 let threads = (0..N_THREADS) in main()
26 let threads = (0..N_THREADS) in main()
Dtest_synchronization.rs12 const N_THREADS: usize = 32; constant
22 (0..N_THREADS).map(|i| std::thread::spawn(move || thread_main(i))).collect::<Vec<_>>(); in main()
Dbench_acquire.rs8 const N_THREADS: usize = 16; constant
17 (0..N_THREADS).map(|i| std::thread::spawn(move || thread_main(i))).collect::<Vec<_>>(); in main()
/third_party/gstreamer/gstplugins_bad/tests/check/libs/
Dvkimage.c143 #define N_THREADS 2 macro
154 GstHarnessThread *threads[N_THREADS];
201 for (i = 0; i < N_THREADS; i++) { in GST_START_TEST()
212 for (i = 0; i < N_THREADS; i++) { in GST_START_TEST()
/third_party/python/Lib/test/
Dtest_gc.py371 N_THREADS = 2
416 for i in range(N_THREADS):