Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for chancap (0.09 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    			// `add` will wait for the watcher to unblock. After timeout,
    			// `add` will not wait, but immediately close a still blocked watcher.
    			// Hence, every watcher gets the chance to unblock itself while timer
    			// is running, not only the first ones in the list.
    			timer := c.timer
    			for _, watcher := range c.blockedWatchers {
    				if !watcher.add(event, timer) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  2. pkg/scheduler/internal/queue/scheduling_queue.go

    		return false, err
    	}
    	return true, nil
    }
    
    // Add adds a pod to the active queue. It should be called only when a new pod
    // is added so there is no chance the pod is already in active/unschedulable/backoff queues
    func (p *PriorityQueue) Add(logger klog.Logger, pod *v1.Pod) error {
    	p.lock.Lock()
    	defer p.lock.Unlock()
    
    	pInfo := p.newQueuedPodInfo(pod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    	letterIdxMax  = 63 / letterIdxBits   // # of letter indices fitting in 63 bits
    )
    
    // Random number state.
    // We generate random temporary file names so that there's a good
    // chance the file doesn't exist yet.
    var (
    	randN  uint32
    	randmu sync.Mutex
    )
    
    // Temp files created in default Tmp dir
    var globalTestTmpDir = os.TempDir()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  4. pkg/controller/job/job_controller.go

    		return true
    	}
    	if onlyReplaceFailedPods(job) {
    		return p.Status.Phase == v1.PodFailed
    	}
    	// Count deleted Pods as failures to account for orphan Pods that
    	// never have a chance to reach the Failed phase.
    	return p.DeletionTimestamp != nil && p.Status.Phase != v1.PodSucceeded
    }
    
    func findConditionByType(list []batch.JobCondition, cType batch.JobConditionType) *batch.JobCondition {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
Back to top