Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 397 for timedOut (0.08 sec)

  1. src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java

            // Create an expired handle
            HandleInfo expiredHandle = new HandleInfo("/test/file.txt", new HandleGuid(), new byte[16], HandleType.DURABLE_V2, 100, // 100ms timeout
                    null);
    
            // Wait for expiration
            Thread.sleep(150);
    
            CompletableFuture<HandleInfo> future = reconnector.reconnectHandle(expiredHandle, new IOException("Network error"));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTransportImplTest.java

            when(req.getOverrideTimeout()).thenReturn(1234);
    
            // Act
            int timeout = transport.getResponseTimeout(req);
    
            // Assert
            assertEquals(1234, timeout);
        }
    
        @Test
        @DisplayName("getResponseTimeout falls back to config for non-SMB requests")
        void getResponseTimeout_default() {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

            assertEquals((byte) 0x00, getFieldValue(netShareEnum, "maxSetupCount"));
            assertEquals(0, getFieldValue(netShareEnum, "setupCount"));
            assertEquals(5000, getFieldValue(netShareEnum, "timeout"));
    
            // Verify command and subcommand from parent class
            assertEquals(SmbComTransaction.SMB_COM_TRANSACTION, getFieldValue(netShareEnum, "command"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

         */
        public void setMaxRedirectCount(final int maxRedirectCount) {
            this.maxRedirectCount = maxRedirectCount;
        }
    
        /**
         * Sets the timeout for executor service termination during shutdown.
         *
         * @param executorTerminationTimeout the timeout in seconds
         */
        public void setExecutorTerminationTimeout(final int executorTerminationTimeout) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        private final AbstractFuture<?> future;
        private final long timeout;
        private final TimeUnit unit;
        private Exception exception;
        private volatile long startTime;
        private long timeSpentBlocked;
    
        TimedWaiterThread(AbstractFuture<?> future, long timeout, TimeUnit unit) {
          this.future = future;
          this.timeout = timeout;
          this.unit = unit;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/NetServerEnum2.java

            name = "\\PIPE\\LANMAN";
    
            maxParameterCount = 8;
            maxDataCount = 16384;
            maxSetupCount = (byte) 0x00;
            setupCount = 0;
            timeout = 5000;
        }
    
        @Override
        void reset(final int key, final String lastName) {
            super.reset();
            this.lastName = lastName;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

      public void testTimeoutOnGetWorksCorrectly() throws InterruptedException, ExecutionException {
    
        // The task thread waits for the latch, so we expect a timeout here.
        try {
          future.get(20, MILLISECONDS);
          fail("Should have timed out trying to get the value.");
        } catch (TimeoutException expected) {
        } finally {
          latch.countDown();
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java

         */
        @Override
        public final Integer getOverrideTimeout() {
            return this.overrideTimeout;
        }
    
        /**
         * Sets an override timeout for this request.
         *
         * @param overrideTimeout
         *            the overrideTimeout to set
         */
        public final void setOverrideTimeout(final Integer overrideTimeout) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java

            assertEquals(16384, netServerEnum2.maxDataCount);
            assertEquals(0, netServerEnum2.maxSetupCount);
            assertEquals(0, netServerEnum2.setupCount);
            assertEquals(5000, netServerEnum2.timeout);
        }
    
        /**
         * Test the reset method.
         */
        @Test
        void testReset() {
            String lastName = "LAST_NAME";
            netServerEnum2.reset(0, lastName);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt

    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.java.net.cookiejar.JavaNetCookieJar
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.Timeout
    import org.junit.jupiter.api.extension.RegisterExtension
    
    /** Derived from Android's CookiesTest.  */
    @Timeout(30)
    class CookiesTest {
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      @StartStop
      private val server = MockWebServer()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13K bytes
    - Viewed (0)
Back to top