- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 65 for _popper (0.5 sec)
-
src/sync/pool_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 8K bytes - Viewed (0) -
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) -
pkg/scheduler/internal/heap/heap_test.go
// Retrieve head without removing it head := h.Peek() if e, a := i, head.(testHeapObject).val; a != e { t.Errorf("expected %d, got %d", e, a) } } // Make sure that the numbers are popped in ascending order. prevNum := 0 for i := 0; i < amount; i++ { obj, err := h.Pop() num := obj.(testHeapObject).val.(int) // All the items must be sorted. if err != nil || prevNum > num {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 05 02:24:38 UTC 2023 - 7.9K bytes - Viewed (0) -
internal/ioutil/ioutil.go
func NewDeadlineWorker(timeout time.Duration) *DeadlineWorker { dw := &DeadlineWorker{ timeout: timeout, } return dw } // Run runs the given function, passing it a stopper channel. If the deadline passes before // the function finishes executing, Run returns context.DeadlineExceeded to the caller. // channel so that the work function can attempt to exit gracefully.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 10.2K bytes - Viewed (0) -
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) -
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) -
src/runtime/mgcstack.go
// will not keep heap objects live. Unlike the main garbage // collection, we can't sweep the dead stack objects; they live on in // a moribund state until the stack frame that contains them is // popped. // // A stack can look like this: // // +----------+ // | foo() | // | +------+ | // | | A | | <---\ // | +------+ | | // | | | // | +------+ | | // | | B | | |
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 21 21:06:52 UTC 2023 - 10.6K bytes - Viewed (0) -
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) -
src/cmd/compile/internal/wasm/ssa.go
- restore local SP from global SP - pop int32 from top of Wasm stack. If nonzero, exit function immediately. - use results from Go stack (starting at SP+sizeof(args)) - note that the callee will have popped the return address Prologue: - initialize local SP from global SP - jump to the location indicated by the block ID argument (which appears in local variable 0) - at block 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 00:21:13 UTC 2023 - 17.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt
thought to herself that perhaps it was only the pepper that had made her so savage when they met in the kitchen. `When I'M a Duchess,' she said to herself, (not in a very hopeful tone though), `I won't have any pepper in my kitchen AT ALL. Soup does very well without--Maybe it's always pepper that makes people hot-tempered,' she went on, very much pleased at
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 29 21:35:03 UTC 2012 - 145.2K bytes - Viewed (0)