/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/hotspot/jtreg/gc/stress/ |
H A D | TestStressG1Humongous.java | 84 private static final int THREAD_COUNT = Integer.getInteger("threads", 2); field in TestStressG1HumongousImpl 101 threads = new Thread[THREAD_COUNT]; in TestStressG1HumongousImpl() 109 countDownLatch = new CountDownLatch(THREAD_COUNT); in run() 140 int objectsPerThread = totalObjects / THREAD_COUNT; in startAllocationThreads() 141 int objectsForLastThread = objectsPerThread + totalObjects % THREAD_COUNT; in startAllocationThreads() 142 for (int i = 0; i < THREAD_COUNT - 1; ++i) { in startAllocationThreads() 145 …threads[THREAD_COUNT - 1] = new Thread(new AllocationThread(countDownLatch, objectsForLastThread, … in startAllocationThreads() 146 for (int i = 0; i < THREAD_COUNT; ++i) { in startAllocationThreads()
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/hotspot/jtreg/gc/stress/ |
H A D | TestStressG1Humongous.java | 84 private static final int THREAD_COUNT = Integer.getInteger("threads", 2); field in TestStressG1HumongousImpl 101 threads = new Thread[THREAD_COUNT]; in TestStressG1HumongousImpl() 109 countDownLatch = new CountDownLatch(THREAD_COUNT); in run() 140 int objectsPerThread = totalObjects / THREAD_COUNT; in startAllocationThreads() 141 int objectsForLastThread = objectsPerThread + totalObjects % THREAD_COUNT; in startAllocationThreads() 142 for (int i = 0; i < THREAD_COUNT - 1; ++i) { in startAllocationThreads() 145 …threads[THREAD_COUNT - 1] = new Thread(new AllocationThread(countDownLatch, objectsForLastThread, … in startAllocationThreads() 146 for (int i = 0; i < THREAD_COUNT; ++i) { in startAllocationThreads()
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/hotspot/jtreg/gc/stress/ |
H A D | TestStressG1Humongous.java | 84 private static final int THREAD_COUNT = Integer.getInteger("threads", 2); field in TestStressG1HumongousImpl 101 threads = new Thread[THREAD_COUNT]; in TestStressG1HumongousImpl() 109 countDownLatch = new CountDownLatch(THREAD_COUNT); in run() 140 int objectsPerThread = totalObjects / THREAD_COUNT; in startAllocationThreads() 141 int objectsForLastThread = objectsPerThread + totalObjects % THREAD_COUNT; in startAllocationThreads() 142 for (int i = 0; i < THREAD_COUNT - 1; ++i) { in startAllocationThreads() 145 …threads[THREAD_COUNT - 1] = new Thread(new AllocationThread(countDownLatch, objectsForLastThread, … in startAllocationThreads() 146 for (int i = 0; i < THREAD_COUNT; ++i) { in startAllocationThreads()
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/hotspot/jtreg/gc/stress/ |
H A D | TestStressG1Humongous.java | 84 private static final int THREAD_COUNT = Integer.getInteger("threads", 2); field in TestStressG1HumongousImpl 101 threads = new Thread[THREAD_COUNT]; in TestStressG1HumongousImpl() 109 countDownLatch = new CountDownLatch(THREAD_COUNT); in run() 140 int objectsPerThread = totalObjects / THREAD_COUNT; in startAllocationThreads() 141 int objectsForLastThread = objectsPerThread + totalObjects % THREAD_COUNT; in startAllocationThreads() 142 for (int i = 0; i < THREAD_COUNT - 1; ++i) { in startAllocationThreads() 145 …threads[THREAD_COUNT - 1] = new Thread(new AllocationThread(countDownLatch, objectsForLastThread, … in startAllocationThreads() 146 for (int i = 0; i < THREAD_COUNT; ++i) { in startAllocationThreads()
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/hotspot/jtreg/gc/stress/ |
H A D | TestStressG1Humongous.java | 82 private static final int THREAD_COUNT = Integer.getInteger("threads", 2); field in TestStressG1HumongousImpl 99 threads = new Thread[THREAD_COUNT]; in TestStressG1HumongousImpl() 107 countDownLatch = new CountDownLatch(THREAD_COUNT); in run() 138 int objectsPerThread = totalObjects / THREAD_COUNT; in startAllocationThreads() 139 int objectsForLastThread = objectsPerThread + totalObjects % THREAD_COUNT; in startAllocationThreads() 140 for (int i = 0; i < THREAD_COUNT - 1; ++i) { in startAllocationThreads() 143 …threads[THREAD_COUNT - 1] = new Thread(new AllocationThread(countDownLatch, objectsForLastThread, … in startAllocationThreads() 144 for (int i = 0; i < THREAD_COUNT; ++i) { in startAllocationThreads()
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/hotspot/jtreg/gc/stress/ |
H A D | TestStressG1Humongous.java | 82 private static final int THREAD_COUNT = Integer.getInteger("threads", 2); field in TestStressG1HumongousImpl 99 threads = new Thread[THREAD_COUNT]; in TestStressG1HumongousImpl() 107 countDownLatch = new CountDownLatch(THREAD_COUNT); in run() 138 int objectsPerThread = totalObjects / THREAD_COUNT; in startAllocationThreads() 139 int objectsForLastThread = objectsPerThread + totalObjects % THREAD_COUNT; in startAllocationThreads() 140 for (int i = 0; i < THREAD_COUNT - 1; ++i) { in startAllocationThreads() 143 …threads[THREAD_COUNT - 1] = new Thread(new AllocationThread(countDownLatch, objectsForLastThread, … in startAllocationThreads() 144 for (int i = 0; i < THREAD_COUNT; ++i) { in startAllocationThreads()
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/hotspot/jtreg/gc/stress/ |
H A D | TestStressG1Humongous.java | 84 private static final int THREAD_COUNT = Integer.getInteger("threads", 2); field in TestStressG1HumongousImpl 101 threads = new Thread[THREAD_COUNT]; in TestStressG1HumongousImpl() 109 countDownLatch = new CountDownLatch(THREAD_COUNT); in run() 140 int objectsPerThread = totalObjects / THREAD_COUNT; in startAllocationThreads() 141 int objectsForLastThread = objectsPerThread + totalObjects % THREAD_COUNT; in startAllocationThreads() 142 for (int i = 0; i < THREAD_COUNT - 1; ++i) { in startAllocationThreads() 145 …threads[THREAD_COUNT - 1] = new Thread(new AllocationThread(countDownLatch, objectsForLastThread, … in startAllocationThreads() 146 for (int i = 0; i < THREAD_COUNT; ++i) { in startAllocationThreads()
|
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/.gnulib/tests/ |
H A D | test-simple-atomic.c | 30 #define THREAD_COUNT 4 macro 49 static unsigned int counter[THREAD_COUNT][5]; 169 gl_thread_t threads[THREAD_COUNT]; in main() 172 for (i = 0; i < THREAD_COUNT; i++) in main() 177 for (i = 0; i < THREAD_COUNT; i++) in main() 181 for (i = 0; i < THREAD_COUNT; i++) in main() 189 for (i = 0; i < THREAD_COUNT; i++) in main()
|
/dports/security/vault/vault-1.8.2/vendor/github.com/apple/foundationdb/bindings/java/src/test/com/apple/foundationdb/test/ |
H A D | SerialInsertion.java | 32 private static final int THREAD_COUNT = 10; field in SerialInsertion 41 List<InsertionThread> threads = new ArrayList<InsertionThread>(THREAD_COUNT); in main() 42 int nodesPerThread = NODES / THREAD_COUNT; in main() 43 for(int i = 0; i < THREAD_COUNT; i++) { in main() 45 if(i == THREAD_COUNT - 1) { in main() 46 nodesPerThread += (NODES % THREAD_COUNT); in main()
|
/dports/devel/boost-docs/boost_1_72_0/libs/log/test/run/ |
H A D | util_once_block.cpp | 35 THREAD_COUNT = 20, enumerator 78 boost::barrier barrier(static_cast< unsigned int >(THREAD_COUNT)); in BOOST_AUTO_TEST_CASE() 82 for (unsigned int i = 0; i < THREAD_COUNT; ++i) in BOOST_AUTO_TEST_CASE() 127 boost::barrier barrier(static_cast< unsigned int >(THREAD_COUNT)); in BOOST_AUTO_TEST_CASE() 131 for (unsigned int i = 0; i < THREAD_COUNT; ++i) in BOOST_AUTO_TEST_CASE() 181 boost::barrier barrier(static_cast< unsigned int >(THREAD_COUNT)); in BOOST_AUTO_TEST_CASE() 185 for (unsigned int i = 0; i < THREAD_COUNT; ++i) in BOOST_AUTO_TEST_CASE()
|
/dports/devel/slf4j/slf4j-1.7.21/slf4j-nop/src/test/java/org/slf4j/impl/ |
H A D | MultithreadedInitializationTest.java | 46 final static int THREAD_COUNT = 4 + Runtime.getRuntime().availableProcessors() * 2; field in MultithreadedInitializationTest 50 final CyclicBarrier barrier = new CyclicBarrier(THREAD_COUNT + 1); 71 System.out.println("THREAD_COUNT=" + THREAD_COUNT); in multiThreadedInitialization() 87 LoggerAccessingThread[] threads = new LoggerAccessingThread[THREAD_COUNT]; in harness() 88 final CyclicBarrier barrier = new CyclicBarrier(THREAD_COUNT + 1); in harness() 89 for (int i = 0; i < THREAD_COUNT; i++) { in harness() 95 for (int i = 0; i < THREAD_COUNT; i++) { in harness()
|
/dports/devel/boost-python-libs/boost_1_72_0/libs/log/test/run/ |
H A D | util_once_block.cpp | 35 THREAD_COUNT = 20, enumerator 78 boost::barrier barrier(static_cast< unsigned int >(THREAD_COUNT)); in BOOST_AUTO_TEST_CASE() 82 for (unsigned int i = 0; i < THREAD_COUNT; ++i) in BOOST_AUTO_TEST_CASE() 127 boost::barrier barrier(static_cast< unsigned int >(THREAD_COUNT)); in BOOST_AUTO_TEST_CASE() 131 for (unsigned int i = 0; i < THREAD_COUNT; ++i) in BOOST_AUTO_TEST_CASE() 181 boost::barrier barrier(static_cast< unsigned int >(THREAD_COUNT)); in BOOST_AUTO_TEST_CASE() 185 for (unsigned int i = 0; i < THREAD_COUNT; ++i) in BOOST_AUTO_TEST_CASE()
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/lldb/test/API/tools/lldb-server/ |
H A D | TestGdbRemote_qThreadStopInfo.py | 10 THREAD_COUNT = 5 variable in TestGdbRemote_qThreadStopInfo 107 (stop_replies, _) = self.gather_stop_replies_via_qThreadStopInfo(self.THREAD_COUNT) 111 self.assertGreaterEqual(len(stop_replies), self.THREAD_COUNT) 113 self.assertEqual(len(stop_replies), self.THREAD_COUNT) 121 (stop_replies, _) = self.gather_stop_replies_via_qThreadStopInfo(self.THREAD_COUNT) 136 self.assertGreaterEqual(no_stop_reason_count, self.THREAD_COUNT - 1) 138 self.assertEqual(no_stop_reason_count, self.THREAD_COUNT - 1)
|
/dports/databases/percona57-pam-for-mysql/boost_1_59_0/libs/log/test/run/ |
H A D | util_once_block.cpp | 35 THREAD_COUNT = 20, enumerator 78 boost::barrier barrier(static_cast< unsigned int >(THREAD_COUNT)); in BOOST_AUTO_TEST_CASE() 82 for (unsigned int i = 0; i < THREAD_COUNT; ++i) in BOOST_AUTO_TEST_CASE() 127 boost::barrier barrier(static_cast< unsigned int >(THREAD_COUNT)); in BOOST_AUTO_TEST_CASE() 131 for (unsigned int i = 0; i < THREAD_COUNT; ++i) in BOOST_AUTO_TEST_CASE() 181 boost::barrier barrier(static_cast< unsigned int >(THREAD_COUNT)); in BOOST_AUTO_TEST_CASE() 185 for (unsigned int i = 0; i < THREAD_COUNT; ++i) in BOOST_AUTO_TEST_CASE()
|
/dports/devel/llvm12/llvm-project-12.0.1.src/lldb/test/API/tools/lldb-server/ |
H A D | TestGdbRemote_qThreadStopInfo.py | 10 THREAD_COUNT = 5 variable in TestGdbRemote_qThreadStopInfo 107 (stop_replies, _) = self.gather_stop_replies_via_qThreadStopInfo(self.THREAD_COUNT) 111 self.assertGreaterEqual(len(stop_replies), self.THREAD_COUNT) 113 self.assertEqual(len(stop_replies), self.THREAD_COUNT) 121 (stop_replies, _) = self.gather_stop_replies_via_qThreadStopInfo(self.THREAD_COUNT) 136 self.assertGreaterEqual(no_stop_reason_count, self.THREAD_COUNT - 1) 138 self.assertEqual(no_stop_reason_count, self.THREAD_COUNT - 1)
|
/dports/databases/percona57-server/boost_1_59_0/libs/log/test/run/ |
H A D | util_once_block.cpp | 35 THREAD_COUNT = 20, enumerator 78 boost::barrier barrier(static_cast< unsigned int >(THREAD_COUNT)); in BOOST_AUTO_TEST_CASE() 82 for (unsigned int i = 0; i < THREAD_COUNT; ++i) in BOOST_AUTO_TEST_CASE() 127 boost::barrier barrier(static_cast< unsigned int >(THREAD_COUNT)); in BOOST_AUTO_TEST_CASE() 131 for (unsigned int i = 0; i < THREAD_COUNT; ++i) in BOOST_AUTO_TEST_CASE() 181 boost::barrier barrier(static_cast< unsigned int >(THREAD_COUNT)); in BOOST_AUTO_TEST_CASE() 185 for (unsigned int i = 0; i < THREAD_COUNT; ++i) in BOOST_AUTO_TEST_CASE()
|
/dports/databases/xtrabackup/boost_1_59_0/libs/log/test/run/ |
H A D | util_once_block.cpp | 35 THREAD_COUNT = 20, enumerator 78 boost::barrier barrier(static_cast< unsigned int >(THREAD_COUNT)); in BOOST_AUTO_TEST_CASE() 82 for (unsigned int i = 0; i < THREAD_COUNT; ++i) in BOOST_AUTO_TEST_CASE() 127 boost::barrier barrier(static_cast< unsigned int >(THREAD_COUNT)); in BOOST_AUTO_TEST_CASE() 131 for (unsigned int i = 0; i < THREAD_COUNT; ++i) in BOOST_AUTO_TEST_CASE() 181 boost::barrier barrier(static_cast< unsigned int >(THREAD_COUNT)); in BOOST_AUTO_TEST_CASE() 185 for (unsigned int i = 0; i < THREAD_COUNT; ++i) in BOOST_AUTO_TEST_CASE()
|
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/lldb/test/API/tools/lldb-server/ |
H A D | TestGdbRemote_qThreadStopInfo.py | 10 THREAD_COUNT = 5 variable in TestGdbRemote_qThreadStopInfo 107 (stop_replies, _) = self.gather_stop_replies_via_qThreadStopInfo(self.THREAD_COUNT) 111 self.assertGreaterEqual(len(stop_replies), self.THREAD_COUNT) 113 self.assertEqual(len(stop_replies), self.THREAD_COUNT) 121 (stop_replies, _) = self.gather_stop_replies_via_qThreadStopInfo(self.THREAD_COUNT) 136 self.assertGreaterEqual(no_stop_reason_count, self.THREAD_COUNT - 1) 138 self.assertEqual(no_stop_reason_count, self.THREAD_COUNT - 1)
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/lldb/test/API/tools/lldb-server/ |
H A D | TestGdbRemote_qThreadStopInfo.py | 10 THREAD_COUNT = 5 variable in TestGdbRemote_qThreadStopInfo 107 (stop_replies, _) = self.gather_stop_replies_via_qThreadStopInfo(self.THREAD_COUNT) 111 self.assertGreaterEqual(len(stop_replies), self.THREAD_COUNT) 113 self.assertEqual(len(stop_replies), self.THREAD_COUNT) 121 (stop_replies, _) = self.gather_stop_replies_via_qThreadStopInfo(self.THREAD_COUNT) 136 self.assertGreaterEqual(no_stop_reason_count, self.THREAD_COUNT - 1) 138 self.assertEqual(no_stop_reason_count, self.THREAD_COUNT - 1)
|
/dports/databases/percona57-client/boost_1_59_0/libs/log/test/run/ |
H A D | util_once_block.cpp | 35 THREAD_COUNT = 20, enumerator 78 boost::barrier barrier(static_cast< unsigned int >(THREAD_COUNT)); in BOOST_AUTO_TEST_CASE() 82 for (unsigned int i = 0; i < THREAD_COUNT; ++i) in BOOST_AUTO_TEST_CASE() 127 boost::barrier barrier(static_cast< unsigned int >(THREAD_COUNT)); in BOOST_AUTO_TEST_CASE() 131 for (unsigned int i = 0; i < THREAD_COUNT; ++i) in BOOST_AUTO_TEST_CASE() 181 boost::barrier barrier(static_cast< unsigned int >(THREAD_COUNT)); in BOOST_AUTO_TEST_CASE() 185 for (unsigned int i = 0; i < THREAD_COUNT; ++i) in BOOST_AUTO_TEST_CASE()
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/lldb/test/API/tools/lldb-server/ |
H A D | TestGdbRemote_qThreadStopInfo.py | 10 THREAD_COUNT = 5 variable in TestGdbRemote_qThreadStopInfo 107 (stop_replies, _) = self.gather_stop_replies_via_qThreadStopInfo(self.THREAD_COUNT) 111 self.assertGreaterEqual(len(stop_replies), self.THREAD_COUNT) 113 self.assertEqual(len(stop_replies), self.THREAD_COUNT) 121 (stop_replies, _) = self.gather_stop_replies_via_qThreadStopInfo(self.THREAD_COUNT) 136 self.assertGreaterEqual(no_stop_reason_count, self.THREAD_COUNT - 1) 138 self.assertEqual(no_stop_reason_count, self.THREAD_COUNT - 1)
|
/dports/devel/boost-libs/boost_1_72_0/libs/log/test/run/ |
H A D | util_once_block.cpp | 35 THREAD_COUNT = 20, enumerator 78 boost::barrier barrier(static_cast< unsigned int >(THREAD_COUNT)); in BOOST_AUTO_TEST_CASE() 82 for (unsigned int i = 0; i < THREAD_COUNT; ++i) in BOOST_AUTO_TEST_CASE() 127 boost::barrier barrier(static_cast< unsigned int >(THREAD_COUNT)); in BOOST_AUTO_TEST_CASE() 131 for (unsigned int i = 0; i < THREAD_COUNT; ++i) in BOOST_AUTO_TEST_CASE() 181 boost::barrier barrier(static_cast< unsigned int >(THREAD_COUNT)); in BOOST_AUTO_TEST_CASE() 185 for (unsigned int i = 0; i < THREAD_COUNT; ++i) in BOOST_AUTO_TEST_CASE()
|
/dports/databases/mysqlwsrep57-server/boost_1_59_0/libs/log/test/run/ |
H A D | util_once_block.cpp | 35 THREAD_COUNT = 20, enumerator 78 boost::barrier barrier(static_cast< unsigned int >(THREAD_COUNT)); in BOOST_AUTO_TEST_CASE() 82 for (unsigned int i = 0; i < THREAD_COUNT; ++i) in BOOST_AUTO_TEST_CASE() 127 boost::barrier barrier(static_cast< unsigned int >(THREAD_COUNT)); in BOOST_AUTO_TEST_CASE() 131 for (unsigned int i = 0; i < THREAD_COUNT; ++i) in BOOST_AUTO_TEST_CASE() 181 boost::barrier barrier(static_cast< unsigned int >(THREAD_COUNT)); in BOOST_AUTO_TEST_CASE() 185 for (unsigned int i = 0; i < THREAD_COUNT; ++i) in BOOST_AUTO_TEST_CASE()
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/lldb/test/API/tools/lldb-server/ |
H A D | TestGdbRemote_qThreadStopInfo.py | 10 THREAD_COUNT = 5 variable in TestGdbRemote_qThreadStopInfo 107 (stop_replies, _) = self.gather_stop_replies_via_qThreadStopInfo(self.THREAD_COUNT) 111 self.assertGreaterEqual(len(stop_replies), self.THREAD_COUNT) 113 self.assertEqual(len(stop_replies), self.THREAD_COUNT) 121 (stop_replies, _) = self.gather_stop_replies_via_qThreadStopInfo(self.THREAD_COUNT) 136 self.assertGreaterEqual(no_stop_reason_count, self.THREAD_COUNT - 1) 138 self.assertEqual(no_stop_reason_count, self.THREAD_COUNT - 1)
|
/dports/devel/llvm13/llvm-project-13.0.1.src/lldb/test/API/tools/lldb-server/ |
H A D | TestGdbRemote_qThreadStopInfo.py | 10 THREAD_COUNT = 5 variable in TestGdbRemote_qThreadStopInfo 107 (stop_replies, _) = self.gather_stop_replies_via_qThreadStopInfo(self.THREAD_COUNT) 111 self.assertGreaterEqual(len(stop_replies), self.THREAD_COUNT) 113 self.assertEqual(len(stop_replies), self.THREAD_COUNT) 121 (stop_replies, _) = self.gather_stop_replies_via_qThreadStopInfo(self.THREAD_COUNT) 136 self.assertGreaterEqual(no_stop_reason_count, self.THREAD_COUNT - 1) 138 self.assertEqual(no_stop_reason_count, self.THREAD_COUNT - 1)
|