- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 149 for Delay (0.02 sec)
-
src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java
} @Test public void testRdmaErrorHandlerBehavior() { RdmaStatistics stats = new RdmaStatistics(); RdmaErrorHandler errorHandler = new RdmaErrorHandler(stats, 3, 50); // 3 retries, 50ms delay assertNotNull(errorHandler, "Error handler should not be null"); // Test error classification for different exception types
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 13.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheRefreshTest.java
assertEquals(Integer.valueOf(2), cache.getUnchecked(2)); assertEquals(expectedLoads, loader.getLoadCount()); assertEquals(expectedReloads, loader.getReloadCount()); // write to 1 to delay its refresh cache.asMap().put(1, -1); ticker.advance(1, MILLISECONDS); assertEquals(Integer.valueOf(1), cache.getUnchecked(0)); assertEquals(Integer.valueOf(-1), cache.getUnchecked(1));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheRefreshTest.java
assertEquals(Integer.valueOf(2), cache.getUnchecked(2)); assertEquals(expectedLoads, loader.getLoadCount()); assertEquals(expectedReloads, loader.getReloadCount()); // write to 1 to delay its refresh cache.asMap().put(1, -1); ticker.advance(1, MILLISECONDS); assertEquals(Integer.valueOf(1), cache.getUnchecked(0)); assertEquals(Integer.valueOf(-1), cache.getUnchecked(1));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/AndroidPlatform.kt
private val socketAdapters = listOfNotNull( StandardAndroidSocketAdapter.buildIfSupported(), DeferredSocketAdapter(AndroidSocketAdapter.playProviderFactory), // Delay and Defer any initialisation of Conscrypt and BouncyCastle DeferredSocketAdapter(ConscryptSocketAdapter.factory), DeferredSocketAdapter(BouncyCastleSocketAdapter.factory), ).filter { it.isSupported() }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu May 29 16:52:38 UTC 2025 - 6.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java
} interruptee.interrupt(); } } void stopInterrupting() { shouldStop = true; } } /** Interrupts the current thread after sleeping for the specified delay. */ static void requestInterruptIn(long time, TimeUnit unit) { checkNotNull(unit); Thread interruptee = Thread.currentThread(); new Thread( new Runnable() { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 4.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt
handshakeCertificates.trustManager, ).build() server.useHttps(handshakeCertificates.sslSocketFactory()) } private fun Call.cancelLater(delay: Duration) { thread(name = "canceler") { sleep(delay.inWholeMilliseconds) cancel() } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 18:57:05 UTC 2025 - 18K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java
} interruptee.interrupt(); } } void stopInterrupting() { shouldStop = true; } } /** Interrupts the current thread after sleeping for the specified delay. */ static void requestInterruptIn(long time, TimeUnit unit) { checkNotNull(unit); Thread interruptee = Thread.currentThread(); new Thread( new Runnable() { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 4.5K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/Android10Platform.kt
private val socketAdapters = listOfNotNull( Android10SocketAdapter.buildIfSupported(), DeferredSocketAdapter(AndroidSocketAdapter.playProviderFactory), // Delay and Defer any initialisation of Conscrypt and BouncyCastle DeferredSocketAdapter(ConscryptSocketAdapter.factory), DeferredSocketAdapter(BouncyCastleSocketAdapter.factory), ).filter { it.isSupported() }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Jul 20 11:25:50 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java
private HandleInfo testHandle; @BeforeEach public void setUp() { MockitoAnnotations.openMocks(this); reconnector = new HandleReconnector(mockManager, 2, 50); // 2 retries, 50ms delay HandleGuid guid = new HandleGuid(); byte[] fileId = new byte[16]; for (int i = 0; i < 16; i++) { fileId[i] = (byte) (i + 1); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 5.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt
* * This test uses [TaskFaker] to deterministically test racy code. Each function in this test has * the same structure: * * * prepare a set of plans, each with a predictable connect delay * * attempt to find a connection * * step through time, asserting that the expected side effects are performed. */ internal class FastFallbackExchangeFinderTest { private val taskFaker = TaskFaker()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 20.9K bytes - Viewed (0)