Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,948 for waits (0.04 sec)

  1. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/ExclusiveCacheAccessingWorkerTest.groovy

            then:
            counter == 1
            def e = thrown(RuntimeException)
            e == failure
    
            cleanup:
            cacheAccessWorker?.stop()
        }
    
        def "stop waits for queued actions to complete"() {
            given:
            def counter = 0
            def action = {
                thread.block()
                counter++
            }
            cacheAccessWorker.enqueue(action)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/wait/poll.go

    // wait: user specified WaitFunc function that controls at what interval the condition
    // function should be invoked periodically and whether it is bound by a timeout.
    // condition: user specified ConditionWithContextFunc function.
    //
    // Deprecated: will be removed in favor of loopConditionUntilContext.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 26 06:13:35 UTC 2023
    - 14K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/kuberuntime_termination_order.go

    			previousSidecarName = ic.Name
    		}
    	}
    	return to
    }
    
    // waitForTurn waits until it is time for the container with the specified name to begin terminating, up until
    // the specified grace period.  If gracePeriod = 0, there is no wait.
    func (o *terminationOrdering) waitForTurn(name string, gracePeriod int64) float64 {
    	// if there is no grace period, we don't wait
    	if gracePeriod <= 0 {
    		return 0
    	}
    
    	start := time.Now()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 18 00:07:21 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. pilot/pkg/xds/adstest.go

    	}
    	return nil
    }
    
    // ExpectError waits until an error is received and returns it
    func (a *AdsTest) ExpectError(t test.Failer) error {
    	t.Helper()
    	select {
    	case <-time.After(a.timeout):
    		t.Fatalf("did not get error in time")
    	case err := <-a.error:
    		return err
    	}
    	return nil
    }
    
    // ExpectNoResponse waits a short period of time and ensures no response is received
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Feb 04 03:39:42 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/internal/work/AsyncWorkTracker.java

        void registerWork(BuildOperationRef operation, AsyncWorkCompletion completion);
    
        /**
         * Blocks waiting for the completion of all items of asynchronous work associated with the provided build operation.
         * Only waits for work that has been registered at the moment the method is called.  In the event that there are failures in
         * the asynchronous work, a {@link org.gradle.internal.exceptions.MultiCauseException} will be thrown with any exceptions
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 11:22:05 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. test/fixedbugs/issue44370.dir/a.go

    // Copyright 2021 The Go Authors. All rights reserved.  Use of this
    // source code is governed by a BSD-style license that can be found in
    // the LICENSE file.
    
    package a
    
    // A StoppableWaitGroup waits for a collection of goroutines to finish.
    type StoppableWaitGroup struct {
    	// i is the internal counter which can store tolerate negative values
    	// as opposed the golang's library WaitGroup.
    	i *int64
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 26 02:11:50 UTC 2021
    - 682 bytes
    - Viewed (0)
  7. src/sync/waitgroup.go

    package sync
    
    import (
    	"internal/race"
    	"sync/atomic"
    	"unsafe"
    )
    
    // A WaitGroup waits for a collection of goroutines to finish.
    // The main goroutine calls [WaitGroup.Add] to set the number of
    // goroutines to wait for. Then each of the goroutines
    // runs and calls [WaitGroup.Done] when finished. At the same time,
    // [WaitGroup.Wait] can be used to block until all goroutines have finished.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. pkg/keepalive/options.go

    type Options struct {
    	// After a duration of this time if the server/client doesn't see any activity it pings the peer to see if the transport is still alive.
    	Time time.Duration
    	// After having pinged for keepalive check, the server waits for a duration of Timeout and if no activity is seen even after that
    	// the connection is closed.
    	Timeout time.Duration
    	// MaxServerConnectionAge is a duration for the maximum amount of time a
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/Monitor.java

        try {
          return satisfied = guard.isSatisfied();
        } finally {
          if (!satisfied) {
            lock.unlock();
          }
        }
      }
    
      /**
       * Waits for the guard to be satisfied. Waits indefinitely, but may be interrupted. May be called
       * only by a thread currently occupying this monitor.
       *
       * @throws InterruptedException if interrupted while waiting
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 18:22:01 UTC 2023
    - 42.5K bytes
    - Viewed (0)
  10. manifests/charts/ztunnel/values.yaml

      meshConfig:
        defaultConfig:
          proxyMetadata: {}
    
      # This value defines:
      # 1. how many seconds kube waits for ztunnel pod to gracefully exit before forcibly terminating it (this value)
      # 2. how many seconds ztunnel waits to drain its own connections (this value - 1 sec)
      # Default K8S value is 30 seconds
      terminationGracePeriodSeconds: 30
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 20:32:30 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top