Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 239 for Timeout (0.04 sec)

  1. cmd/dynamic-timeouts.go

    		// so decrease the timeout towards 25 % of maximum time spent.
    		maxDur = maxDur * 125 / 100
    
    		timeout := atomic.LoadInt64(&dt.timeout)
    		if maxDur < time.Duration(timeout) {
    			// Move 50% toward the max.
    			timeout = (int64(maxDur) + timeout) / 2
    		}
    		if timeout < dt.minimum {
    			timeout = dt.minimum
    		}
    		atomic.StoreInt64(&dt.timeout, timeout)
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

       * uninterruptibly.
       */
      @J2ktIncompatible
      @GwtIncompatible // concurrency
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      public static boolean awaitUninterruptibly(CountDownLatch latch, long timeout, TimeUnit unit) {
        boolean interrupted = false;
        try {
          long remainingNanos = unit.toNanos(timeout);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        FUTURE(Timeout.SMALL, Timeout.MAX),
        SMALL(Timeout.SMALL),
        FINITE(Timeout.MIN, Timeout.MINUS_SMALL, Timeout.ZERO, Timeout.SMALL),
        INFINITE(Timeout.LARGE, Timeout.MAX);
    
        final ImmutableList<Timeout> timeouts;
    
        TimeoutsToUse(Timeout... timeouts) {
          this.timeouts = ImmutableList.copyOf(timeouts);
        }
      }
    
      /** Possible outcomes of calling any of the methods under test. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

        }
    
        @Test
        @DisplayName("Should handle broadcast resolution timeout")
        @Timeout(value = 1, unit = TimeUnit.SECONDS) // Very short timeout
        void testBroadcastTimeout() {
            // Configure for broadcast-only resolution with very short timeout
            when(mockConfig.getResolveOrder()).thenReturn(Arrays.asList(ResolverType.RESOLVER_BCAST));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/transport/Transport.java

                doSend(request);
                response.expiration = System.currentTimeMillis() + timeout;
                while (!response.isReceived) {
                    wait(timeout);
                    timeout = response.expiration - System.currentTimeMillis();
                    if (timeout <= 0) {
                        throw new TransportException(name + " timedout waiting for response to " + request);
                    }
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. cmd/dynamic-timeouts_test.go

    	timeout := newDynamicTimeout(time.Minute, time.Second)
    
    	initial := timeout.Timeout()
    
    	for range dynamicTimeoutLogSize {
    		timeout.LogFailure()
    	}
    
    	adjusted := timeout.Timeout()
    
    	for range dynamicTimeoutLogSize {
    		timeout.LogFailure()
    	}
    
    	adjustedAgain := timeout.Timeout()
    
    	if initial >= adjusted || adjusted >= adjustedAgain {
    		t.Errorf("Failure to increase timeout multiple times")
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

      }
    
      /**
       * Sets the delegate of `timeout` to [Timeout.NONE] and resets its underlying timeout
       * to the default configuration. Use this to avoid unexpected sharing of timeouts between pooled
       * connections.
       */
      private fun detachTimeout(timeout: ForwardingTimeout) {
        val oldDelegate = timeout.delegate
        timeout.setDelegate(Timeout.NONE)
        oldDelegate.clearDeadline()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (7)
  8. src/main/java/jcifs/util/transport/Transport.java

            return false;
        }
    
        /**
         * Gets the response timeout for a specific request.
         *
         * @param request the request to get timeout for
         * @return the timeout in milliseconds
         */
        protected abstract int getResponseTimeout(Request request);
    
        private void loop() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java

        }
    
        @Test
        public void testScrollTimeout() {
            // Test setting scroll timeout
            SuggestSettingsBuilder result = builder.scrollTimeout("10s");
            assertEquals(builder, result); // Test method chaining
            assertEquals("10s", builder.timeoutSettings.scrollTimeout);
    
            // Test updating scroll timeout
            builder.scrollTimeout("30s");
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

            /** Timeout for process destruction in milliseconds. */
            private final long timeout;
    
            /**
             * Constructor for ProcessDestroyer.
             * @param p The process to monitor.
             * @param ist The input stream thread.
             * @param timeout The destruction timeout.
             */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Fri Jul 18 14:34:06 UTC 2025
    - 14.7K bytes
    - Viewed (0)
Back to top