Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 871 for waits (0.19 sec)

  1. src/net/net.go

    }
    
    // A Listener is a generic network listener for stream-oriented protocols.
    //
    // Multiple goroutines may invoke methods on a Listener simultaneously.
    type Listener interface {
    	// Accept waits for and returns the next connection to the listener.
    	Accept() (Conn, error)
    
    	// Close closes the listener.
    	// Any blocked Accept operations will be unblocked and return errors.
    	Close() error
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  2. cmd/bucket-lifecycle.go

    // to tasks channel being backlogged.
    func (t *transitionState) MissedImmediateTasks() int64 {
    	return t.missedImmediateTasks.Load()
    }
    
    // worker waits for transition tasks
    func (t *transitionState) worker(objectAPI ObjectLayer) {
    	for {
    		select {
    		case <-t.killCh:
    			return
    		case <-t.ctx.Done():
    			return
    		case task, ok := <-t.transitionCh:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config.go

    	HealthChecks []healthz.HealthChecker
    
    	// EncryptionFileContentHash is the hash of the encryption config file.
    	EncryptionFileContentHash string
    
    	// KMSCloseGracePeriod is the duration we will wait before closing old transformers.
    	// We wait for any in-flight requests to finish by using the duration which is longer than their timeout.
    	KMSCloseGracePeriod time.Duration
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go

    	if err != nil {
    		return nil, err
    	}
    	return s.watcher.Watch(s.watchContext(ctx), preparedKey, int64(rev), opts)
    }
    
    func (s *store) watchContext(ctx context.Context) context.Context {
    	// The etcd server waits until it cannot find a leader for 3 election
    	// timeouts to cancel existing streams. 3 is currently a hard coded
    	// constant. The election timeout defaults to 1000ms. If the cluster is
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  5. pkg/volume/plugins.go

    	CSIDriverLister() storagelistersv1.CSIDriverLister
    	// CSIDriverSynced returns the informer synced for the CSIDriver API Object
    	CSIDriversSynced() cache.InformerSynced
    	// WaitForCacheSync is a helper function that waits for cache sync for CSIDriverLister
    	WaitForCacheSync() error
    	// Returns hostutil.HostUtils
    	GetHostUtil() hostutil.HostUtils
    
    	// Returns trust anchors from the named ClusterTrustBundle.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/wait/wait_test.go

    		i++
    		return false, nil
    	})
    	if err != ErrWaitTimeout || i != 0 {
    		t.Errorf("unexpected error: %v", err)
    	}
    
    	opts := Backoff{Factor: 1.0, Steps: 3}
    
    	// waits up to steps
    	i = 0
    	err = ExponentialBackoff(opts, func() (bool, error) {
    		i++
    		return false, nil
    	})
    	if err != ErrWaitTimeout || i != opts.Steps {
    		t.Errorf("unexpected error: %v", err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  7. src/internal/fuzz/worker.go

    	client      *workerClient // used to communicate with worker process
    	waitErr     error         // last error returned by wait, set before termC is closed.
    	interrupted bool          // true after stop interrupts a running worker.
    	termC       chan struct{} // closed by wait when worker process terminates
    }
    
    func newWorker(c *coordinator, dir, binPath string, args, env []string) (*worker, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  8. src/encoding/json/encode.go

    	// indirect func before we build it. This type waits on the
    	// real func (f) to be ready and then calls it. This indirect
    	// func is only used for recursive types.
    	var (
    		wg sync.WaitGroup
    		f  encoderFunc
    	)
    	wg.Add(1)
    	fi, loaded := encoderCache.LoadOrStore(t, encoderFunc(func(e *encodeState, v reflect.Value, opts encOpts) {
    		wg.Wait()
    		f(e, v, opts)
    	}))
    	if loaded {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  9. src/internal/poll/fd_windows.go

    			return int(o.qty), nil
    		}
    		// Need to get our completion message anyway.
    	case syscall.ERROR_IO_PENDING:
    		// IO started, and we have to wait for its completion.
    		err = nil
    	default:
    		return 0, err
    	}
    	// Wait for our request to complete.
    	err = fd.pd.wait(int(o.mode), fd.isFile)
    	if err == nil {
    		err = windows.WSAGetOverlappedResult(fd.Sysfd, &o.o, &o.qty, false, &o.flags)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 16:50:42 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.2.md

      * Minimum CPU limits is 10m. This is a Linux Kernel limitation
      * “kubectl rollout undo” (i.e. rollback) will hang on paused deployments, because
    paused deployments can’t be rolled back (this is expected), and the command
    waits for rollback events to return the result. Users should use “kubectl
    rollout resume” to resume a deployment before rolling back.
      * “kubectl edit <list>” will open the editor multiple times, once for each
    resource in the list.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 04 06:36:19 UTC 2020
    - 41.4K bytes
    - Viewed (0)
Back to top