Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 408 for ontimeout (0.07 sec)

  1. guava/src/com/google/common/util/concurrent/ImmediateFuture.java

      // TODO(lukes): Consider throwing InterruptedException when appropriate.
      @Override
      @ParametricNullness
      public V get() {
        return value;
      }
    
      @Override
      @ParametricNullness
      public V get(long timeout, TimeUnit unit) throws ExecutionException {
        checkNotNull(unit);
        return get();
      }
    
      @Override
      public boolean isCancelled() {
        return false;
      }
    
      @Override
      public boolean isDone() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt

              IllegalStateException("Invalid content-type: ${body.contentType()}"),
              response,
            )
            return
          }
    
          // This is a long-lived response. Cancel full-call timeouts.
          call?.timeout()?.cancel()
    
          // Replace the body with a stripped one so the callbacks can't see real data.
          val response = response.stripBody()
    
          val reader = ServerSentEventReader(body.source(), this)
          try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top