Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 393 for immediatetly (0.19 sec)

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

       * it only remembers the last request. What if the RateLimiter was unused for a long period of
       * time, then a request arrived and was immediately granted? This RateLimiter would immediately
       * forget about that past underutilization. This may result in either underutilization or
       * overflow, depending on the real world consequences of not using the expected rate.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * it only remembers the last request. What if the RateLimiter was unused for a long period of
       * time, then a request arrived and was immediately granted? This RateLimiter would immediately
       * forget about that past underutilization. This may result in either underutilization or
       * overflow, depending on the real world consequences of not using the expected rate.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/wait/wait_test.go

    	}, 30*time.Second, ch)
    	if now.Add(25 * time.Second).Before(time.Now()) {
    		t.Errorf("Until did not return immediately when the stop chan was closed inside the func")
    	}
    }
    
    func TestJitterUntil(t *testing.T) {
    	ch := make(chan struct{})
    	// if a channel is closed JitterUntil never calls function f
    	// and returns immediately
    	close(ch)
    	JitterUntil(func() {
    		t.Fatal("should not have been invoked")
    	}, 0, 1.0, true, ch)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  4. pkg/util/async/bounded_frequency_runner_test.go

    	// Start.
    	go runner.Loop(stop)
    	upd = <-timer.updated // wait for initial time to be set to max
    	checkTimer("init", t, upd, true, maxInterval)
    	checkReceiver("init", t, obj, false)
    
    	// Run once, immediately.
    	// rel=0ms
    	runner.Run()
    	waitForRun("first run", t, timer, obj)
    
    	// Run again, before minInterval expires.
    	timer.advance(500 * time.Millisecond) // rel=500ms
    	runner.Run()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 15 09:36:26 UTC 2022
    - 12.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Service.java

       * 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
       * stopped. If the service has already been stopped, this method returns immediately without
       * taking action.
       *
       * @return this
       * @since 15.0
       */
      @CanIgnoreReturnValue
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/wasm/ssa.go

       the Wasm stack each time we want to switch goroutines.
    
       To support unwinding a stack, each function call returns on the Wasm
       stack a boolean that tells the function whether it should return
       immediately or not. When returning immediately, a return address
       is left on the top of the Go stack indicating where the goroutine
       should be resumed.
    
       Stack pointer:
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/Service.java

       * 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
       * stopped. If the service has already been stopped, this method returns immediately without
       * taking action.
       *
       * @return this
       * @since 15.0
       */
      @CanIgnoreReturnValue
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleExecuter.java

         */
        void assertCanExecute() throws AssertionError;
    
        /**
         * Adds an action to be called immediately before execution, to allow extra configuration to be injected.
         */
        void beforeExecute(Action<? super GradleExecuter> action);
    
        /**
         * Adds an action to be called immediately before execution, to allow extra configuration to be injected.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/work/DefaultWorkerLeaseServiceWorkerLeaseTest.groovy

    import static org.gradle.internal.resources.DefaultResourceLockCoordinationService.unlock
    
    class DefaultWorkerLeaseServiceWorkerLeaseTest extends AbstractWorkerLeaseServiceTest {
    
        def "worker start runs immediately when there are sufficient leases available"() {
            def registry = workerLeaseService(2)
    
            expect:
            async {
                start {
                    def cl = registry.startWorker()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

            toEvict.socket().closeQuietly()
            connectionListener.connectionClosed(toEvict)
            if (connections.isEmpty()) cleanupQueue.cancelAll()
    
            // Clean up again immediately.
            return 0L
          }
    
          earliestEvictableConnection != null -> {
            // A connection will be ready to evict soon.
            return earliestEvictableIdleAtNs + keepAliveDurationNs - now
          }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top