Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,735 for itemout (0.27 sec)

  1. cmd/namespace-lock.go

    // Lock - block until write lock is taken or timeout has occurred.
    func (di *distLockInstance) GetLock(ctx context.Context, timeout *dynamicTimeout) (LockContext, error) {
    	lockSource := getSource(2)
    	start := UTCNow()
    
    	newCtx, cancel := context.WithCancel(ctx)
    	if !di.rwMutex.GetLock(newCtx, cancel, di.opsID, lockSource, dsync.Options{
    		Timeout:       timeout.Timeout(),
    		RetryInterval: timeout.RetryInterval(),
    	}) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 05 23:56:35 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ExpectationState.java

        }
    
        /**
         * Signals that a timeout occurred waiting for test condition to become true.
         */
        public void timeout(String waitingFor, String context) {
            if (failure == FailureType.None) {
                failure = FailureType.Timeout;
            }
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. pkg/proxy/ipvs/util/ipvs_test.go

    				Protocol:  "",
    				Port:      0,
    				Scheduler: "wrr",
    				Flags:     0,
    				Timeout:   0,
    			},
    			svcB: &VirtualServer{
    				Address:   netutils.ParseIPSloppy("2012::beef"),
    				Protocol:  "",
    				Port:      0,
    				Scheduler: "wrr",
    				Flags:     0,
    				Timeout:   10800,
    			},
    			equal:  false,
    			reason: "Timeout not equal",
    		},
    		{
    			svcA: &VirtualServer{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 8K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/test_fuzz_deadline.txt

    # The fuzz function should be able to detect whether -timeout
    # was set with T.Deadline. Note there is no F.Deadline, and
    # there is no timeout while fuzzing, even if -fuzztime is set.
    go test -run=FuzzDeadline -wantdeadline=true # -timeout defaults to 10m
    go test -run=FuzzDeadline -timeout=0 -wantdeadline=false
    ! go test -run=FuzzDeadline -timeout=1s -wantdeadline=false
    go test -run=FuzzDeadline -timeout=1s -wantdeadline=true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 20:09:52 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/timeout/TimeoutHandler.java

         * Starts a timeout for the given thread. The thread is interrupted if the given timeout is exceeded.
         * The returned {@link Timeout} object must be used to stop the timeout once the thread has completed
         * the work that this timeout was supposed to limit, otherwise it may be interrupted doing
         * some other work later.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/timeout/impl/DefaultTimeoutHandler.java

     */
    
    package org.gradle.internal.execution.timeout.impl;
    
    import com.google.common.io.CharStreams;
    import org.gradle.api.Describable;
    import org.gradle.internal.concurrent.ManagedScheduledExecutor;
    import org.gradle.internal.concurrent.Stoppable;
    import org.gradle.internal.execution.timeout.Timeout;
    import org.gradle.internal.execution.timeout.TimeoutHandler;
    import org.gradle.internal.operations.BuildOperationRef;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  7. pkg/test/util/retry/retry.go

    type config struct {
    	error       string
    	timeout     time.Duration
    	delay       time.Duration
    	delayMax    time.Duration
    	converge    int
    	maxAttempts int
    }
    
    // Option for a retry operation.
    type Option func(cfg *config)
    
    // Timeout sets the timeout for the entire retry operation.
    func Timeout(timeout time.Duration) Option {
    	return func(cfg *config) {
    		cfg.timeout = timeout
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. pkg/test/helm/helm.go

    func (h *Helm) InstallChartWithValues(name, chartPath, namespace string, values []string, timeout time.Duration) error {
    	command := fmt.Sprintf("helm install %s %s --namespace %s --kubeconfig %s --timeout %s %s",
    		name, chartPath, namespace, h.kubeConfig, timeout, strings.Join(values, " "))
    	_, err := execCommand(command)
    	return err
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 23 19:25:43 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ForwardingBlockingDeque.java

        delegate().putLast(e);
      }
    
      @Override
      public boolean offerFirst(E e, long timeout, TimeUnit unit) throws InterruptedException {
        return delegate().offerFirst(e, timeout, unit);
      }
    
      @Override
      public boolean offerLast(E e, long timeout, TimeUnit unit) throws InterruptedException {
        return delegate().offerLast(e, timeout, unit);
      }
    
      @Override
      public E takeFirst() throws InterruptedException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. pkg/queue/util.go

    // WaitForClose blocks until the Instance has stopped processing tasks or the timeout expires.
    // If the timeout is zero, it will wait until the queue is done processing.
    // WaitForClose an error if the timeout expires.
    func WaitForClose(q Instance, timeout time.Duration) error {
    	closed := q.Closed()
    	if timeout == 0 {
    		<-closed
    		return nil
    	}
    	timer := time.NewTimer(timeout)
    	defer timer.Stop()
    	select {
    	case <-closed:
    		return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 14 06:36:32 UTC 2022
    - 1.1K bytes
    - Viewed (0)
Back to top