- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 776 for thread (0.13 sec)
-
impl/maven-core/src/test/java/org/apache/maven/internal/MultilineMessageHelperTest.java
msgs.add("* as @threadSafe to support parallel building. *"); msgs.add("* While this /may/ work fine, please look for plugin updates *"); msgs.add("* and/or request plugins be made thread-safe. *"); msgs.add("* If reporting an issue, report it against the plugin in *"); msgs.add("* question, not against maven-core *");
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java
} }).start(); } // Signal all threads to start at once startLatch.countDown(); // Wait for all threads to complete assertTrue("Threads did not complete in time", doneLatch.await(5, TimeUnit.SECONDS)); // All threads should fail with the same IOException (project ID is blank)Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java
ClassLoader oldClassLoader = Thread.currentThread().getContextClassLoader(); Thread.currentThread().setContextClassLoader(classLoader); try { Class<?> test = classLoader.loadClass(AbstractFutureTest.class.getName()); test.getMethod(getName()).invoke(test.getDeclaredConstructor().newInstance()); } finally { Thread.currentThread().setContextClassLoader(oldClassLoader); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/WholeOperationTimeoutTest.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 10.6K bytes - Viewed (0) -
okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt
} } @Test fun threadIsInterruptedOnFirstRead() { Thread.currentThread().interrupt() try { val result = publicSuffixDatabase.getEffectiveTldPlusOne("squareup.com") assertThat(result).isEqualTo("squareup.com") } finally { assertThat(Thread.interrupted()).isTrue() } } @Test fun secondReadFailsSameAsFirst() {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue May 27 22:00:49 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityTest.java
fail("Thread failed: " + e.getMessage()); } finally { doneLatch.countDown(); } }); } // Start all threads at once startLatch.countDown(); // Wait for completion assertTrue(doneLatch.await(5, TimeUnit.SECONDS), "Threads did not complete in time"); executor.shutdown();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt
// Enqueueing the red task starts a thread because the head of the queue changed. redQueue.execute("red task") { log += "red:starting@${taskFaker.nanoTime}" taskFaker.sleep(100.µs) log += "red:finishing@${taskFaker.nanoTime}" } assertThat(taskFaker.executeCallCount).isEqualTo(1) // Enqueueing the blue task doesn't start a thread because the red one is still starting.Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 23K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsule.java
return Optional.of(plexusContainer.getContainerRealm()); } @Override public void close() { try { plexusContainer.dispose(); } finally { Thread.currentThread().setContextClassLoader(previousClassLoader); } }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Mar 24 14:09:05 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java
assertTrue(seq2 > seq1); assertTrue(seq3 > seq2); } @Test void testHeartbeatUpdate() throws InterruptedException { long initialTime = registration.getLastHeartbeat(); Thread.sleep(50); // Ensure sufficient time difference registration.updateHeartbeat(); // After update, should not be expired with long timeout assertFalse(registration.isExpired(60000));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/audit/SecurityAuditLogger.java
return true; }); } private void addMdcContext(Map<String, Object> context) { // Add MDC context efficiently context.put("thread", Thread.currentThread().getName()); context.put("threadId", Thread.currentThread().getId()); String sessionId = MDC.get("sessionId"); if (sessionId != null) { context.put("sessionId", sessionId); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 26.6K bytes - Viewed (0)