Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for popPod (0.13 sec)

  1. pkg/scheduler/internal/queue/scheduling_queue_test.go

    	// Simulate a pod being popped by the scheduler,
    	// At this time, unschedulable pod should be popped.
    	p1, err := q.Pop(logger)
    	if err != nil {
    		t.Errorf("Error while popping the head of the queue: %v", err)
    	}
    	if p1.Pod != unschedulablePod {
    		t.Errorf("Expected that test-pod-unscheduled was popped, got %v", p1.Pod.Name)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r70/TestDisplayNameJUnit5CrossVersionSpec.groovy

                                    test("throwsExceptionWhenPopped()") {
                                        operationDisplayName "throws EmptyStackException when popped"
                                        testDisplayName "throws EmptyStackException when popped"
                                    }
                                    testClass("org.example.TestingAStackDemo\$WhenNew\$AfterPushing") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_interval.go

    // source can change over time - i.e. for watchCache circular
    // buffer. When the circular buffer is full and an event needs
    // to be popped off, watchCache::startIndex is incremented. In
    // this case, an interval tracking that popped event is valid
    // only if it has already been copied to its internal buffer.
    // However, for efficiency we perform that lazily and we mark
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. docs/pl/docs/help-fastapi.md

    * Jeśli nie rozumiesz pytania, poproś o więcej **szczegółów**.
    
    ### Odtwórz problem
    
    W większości przypadków problem wynika z **autorskiego kodu** osoby pytającej.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  5. src/go/ast/commentmap.go

    	s.pop(n.Pos())
    	*s = append((*s), n)
    }
    
    // pop pops all nodes that appear lexically before pos
    // (i.e., whose lexical extent has ended before or at pos).
    // It returns the last node popped.
    func (s *nodeStack) pop(pos token.Pos) (top Node) {
    	i := len(*s)
    	for i > 0 && (*s)[i-1].End() <= pos {
    		top = (*s)[i-1]
    		i--
    	}
    	*s = (*s)[0:i]
    	return top
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. pkg/scheduler/internal/queue/scheduling_queue.go

    	// are popped from this heap before the scheduler looks at activeQ
    	podBackoffQ *heap.Heap
    	// unschedulablePods holds pods that have been tried and determined unschedulable.
    	unschedulablePods *UnschedulablePods
    	// schedulingCycle represents sequence number of scheduling cycle and is incremented
    	// when a pod is popped.
    	schedulingCycle int64
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  7. pkg/api/pod/util_test.go

    		Spec: api.PodSpec{
    			Containers:          []api.Container{{}},
    			InitContainers:      []api.Container{{}},
    			EphemeralContainers: []api.EphemeralContainer{{}},
    		},
    	}
    
    	var noPod *api.Pod
    
    	testcases := []struct {
    		description string
    		enabled     bool
    		oldPod      *api.Pod
    		newPod      *api.Pod
    		wantPod     *api.Pod
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher_test.go

    	go w.processInterval(ctx, intervalFromEvents(initEvents), 0)
    	watchInitializationSignal.Wait()
    
    	// note that we can add three events even though the chanSize is two because
    	// one event has been popped off from the input chan
    	if !w.add(&watchCacheEvent{Object: makePod(5), ResourceVersion: 5}, time.NewTimer(1*time.Second)) {
    		t.Fatal("failed adding an even to the watcher")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/decl.go

    	// A dependency on a grey object indicates a cycle which may or may not be
    	// valid.
    	//
    	// When objects turn grey, they are pushed on the object path (a stack);
    	// they are popped again when they turn black. Thus, if a grey object (a
    	// cycle) is encountered, it is on the object path, and all the objects
    	// it depends on are the remaining objects on that path. Color encoding
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  10. src/go/types/decl.go

    	// A dependency on a grey object indicates a cycle which may or may not be
    	// valid.
    	//
    	// When objects turn grey, they are pushed on the object path (a stack);
    	// they are popped again when they turn black. Thus, if a grey object (a
    	// cycle) is encountered, it is on the object path, and all the objects
    	// it depends on are the remaining objects on that path. Color encoding
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31K bytes
    - Viewed (0)
Back to top