- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 193 for shutDown (0.04 sec)
-
src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java
} finally { latch.countDown(); } }); } assertTrue(latch.await(10, TimeUnit.SECONDS)); executor.shutdown(); } @Test @DisplayName("Test invalid session ID handling") public void testInvalidSessionIdHandling() { assertThrows(CIFSException.class, () -> {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
// Cause acceptConnections() to break out. serverSocket.closeQuietly() // Await shutdown. for (queue in taskRunner.activeQueues()) { if (!queue.idleLatch().await(5, TimeUnit.SECONDS)) { throw AssertionError("Gave up waiting for queue to shut down") } } taskRunnerBackend.shutdown() } private fun serveConnection( connectionIndex: Int, raw: Socket,Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Aug 02 20:36:00 UTC 2025 - 40.3K bytes - Viewed (0) -
docs/smb3-features/06-witness-protocol-design.md
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
timings.add(endTime - startTime); assertFalse(result, "Passwords should not be equal"); } }); } executor.shutdown(); assertTrue(executor.awaitTermination(30, TimeUnit.SECONDS), "All threads should complete within timeout"); // Analyze timing consistency across threads if (!timings.isEmpty()) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java
} } }); } startLatch.countDown(); endLatch.await(10, TimeUnit.SECONDS); executor.shutdown(); assertEquals(threadCount * operationsPerThread, crawlerContext.getAccessCount()); } /** * Test status getter and setter */ public void test_status() {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 25.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt
socketFactory[proxyServer2] = server2.socketAddress println("\n\nRequest to ${server2.socketAddress}") executeSynchronously(request) .apply { // We may have a single failed request if not clean shutdown if (cleanClose) { assertSuccessful() assertCode(200) assertThat(server2.requestCount).isEqualTo(1) } else {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 11.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Service.java
/** Returns the lifecycle state of the service. */ State state(); /** * If the service is {@linkplain State#STARTING starting} or {@linkplain State#RUNNING running}, * this initiates service shutdown and returns immediately. If the service is {@linkplain * State#NEW new}, it is {@linkplain State#TERMINATED terminated} without having been started nor
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 10.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ServiceManager.java
* MoreExecutors.directExecutor()); * * Runtime.getRuntime().addShutdownHook(new Thread() { * public void run() { * // Give the services 5 seconds to stop to ensure that we are responsive to shutdown * // requests. * try { * manager.stopAsync().awaitStopped(5, TimeUnit.SECONDS); * } catch (TimeoutException timeout) { * // stopping timed out * }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 17:49:12 UTC 2025 - 32.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ServiceManager.java
* MoreExecutors.directExecutor()); * * Runtime.getRuntime().addShutdownHook(new Thread() { * public void run() { * // Give the services 5 seconds to stop to ensure that we are responsive to shutdown * // requests. * try { * manager.stopAsync().awaitStopped(5, TimeUnit.SECONDS); * } catch (TimeoutException timeout) { * // stopping timed out * }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 17:49:12 UTC 2025 - 33.2K bytes - Viewed (1) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
assertThat(Sets.union(cache.asMap().keySet(), removalNotifications.keySet())) .isEqualTo(expectedKeys); assertThat(cache.asMap().keySet()).containsNoneIn(removalNotifications.keySet()); threadPool.shutdown(); threadPool.awaitTermination(300, SECONDS); } /** * Calls get() repeatedly from many different threads, and tests that all of the removed entries
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 25.4K bytes - Viewed (0)