Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for queuesa (0.14 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go

    	counter.Add(1) // account for the goroutine running this test
    
    	queue, ok := qs.(*queueSet)
    	if !ok {
    		t.Fatalf("expected a QueueSet of type: %T but got: %T", &queueSet{}, qs)
    	}
    	if queue.totRequestsExecuting != 0 {
    		t.Fatalf("precondition: expected total requests currently executing of the QueueSet to be 0, but got: %d", queue.totRequestsExecuting)
    	}
    	if queue.dCfg.ConcurrencyLimit != 1 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 58.4K bytes
    - Viewed (0)
  2. pkg/controller/replicaset/replica_set_test.go

    	// A pod added with a deletion timestamp should decrement deletions, not creations.
    	manager.addPod(logger, &pod)
    
    	queueRS, _ := manager.queue.Get()
    	if queueRS != rsKey {
    		t.Fatalf("Expected to find key %v in queue, found %v", rsKey, queueRS)
    	}
    	manager.queue.Done(rsKey)
    
    	podExp, exists, err := manager.expectations.GetExpectations(rsKey)
    	if !exists || err != nil || !podExp.Fulfilled() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
  3. pkg/scheduler/internal/queue/scheduling_queue.go

    			queue := p.requeuePodViaQueueingHint(logger, pInfo, hint, UnscheduledPodUpdate.Label)
    			if queue != unschedulablePods {
    				logger.V(5).Info("Pod moved to an internal scheduling queue because the Pod is updated", "pod", klog.KObj(newPod), "event", PodUpdate, "queue", queue)
    				p.unschedulablePods.delete(usPodInfo.Pod, gated)
    			}
    			if queue == activeQ {
    				p.cond.Broadcast()
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/MapMakerInternalMap.java

        WeakValueReferenceImpl(ReferenceQueue<V> queue, V referent, E entry) {
          super(referent, queue);
          this.entry = entry;
        }
    
        @Override
        public E getEntry() {
          return entry;
        }
    
        @Override
        public WeakValueReference<K, V, E> copyFor(ReferenceQueue<V> queue, E entry) {
          return new WeakValueReferenceImpl<>(queue, get(), entry);
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        WeakValueReferenceImpl(ReferenceQueue<V> queue, V referent, E entry) {
          super(referent, queue);
          this.entry = entry;
        }
    
        @Override
        public E getEntry() {
          return entry;
        }
    
        @Override
        public WeakValueReference<K, V, E> copyFor(ReferenceQueue<V> queue, E entry) {
          return new WeakValueReferenceImpl<>(queue, get(), entry);
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  6. pkg/apis/flowcontrol/validation/validation_test.go

    						Type: flowcontrol.LimitResponseTypeQueue,
    						Queuing: &flowcontrol.QueuingConfiguration{
    							Queues:           512,
    							HandSize:         4,
    							QueueLengthLimit: 100,
    						}}}},
    		},
    		expectedErrors: field.ErrorList{},
    	}, {
    		name: "customized priority level w/ overflowing handSize/queues should fail 1",
    		priorityLevelConfiguration: &flowcontrol.PriorityLevelConfiguration{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 54.7K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modload/buildlist.go

    	for len(queue) > 0 {
    		roots = tidy.rootModules
    		mg, err := tidy.Graph(ctx)
    		if err != nil {
    			return nil, err
    		}
    
    		prevQueue := queue
    		queue = nil
    		for _, pkg := range prevQueue {
    			m := pkg.mod
    			if m.Path == "" {
    				continue
    			}
    			for _, dep := range pkg.imports {
    				if !queued[dep] {
    					queue = append(queue, dep)
    					queued[dep] = true
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness_test.go

    	postEnqueueFunc := func() {
    		if atomicReadOnlyWaiting != 1 {
    			t.Errorf("Wanted %d requests in queue, got %d", 1, atomicReadOnlyWaiting)
    		}
    	}
    	postDequeueFunc := func() {
    		if atomicReadOnlyWaiting != 0 {
    			t.Errorf("Wanted %d requests in queue, got %d", 0, atomicReadOnlyWaiting)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  9. src/internal/trace/order.go

    	name string
    
    	// parentID is the parent ID of the active task.
    	parentID TaskID
    }
    
    // queue implements a growable ring buffer with a queue API.
    type queue[T any] struct {
    	start, end int
    	buf        []T
    }
    
    // push adds a new event to the back of the queue.
    func (q *queue[T]) push(value T) {
    	if q.end-q.start == len(q.buf) {
    		q.grow()
    	}
    	q.buf[q.end%len(q.buf)] = value
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  10. src/index/suffixarray/sais2.go

    		}
    
    		// Negative j is a work queue entry; rewrite to positive j for final suffix array.
    		j = -j
    		sa[i] = int64(j)
    
    		// Index j was on work queue (encoded as -j but now decoded),
    		// meaning k := j-1 is L-type,
    		// so we can now place k correctly into sa.
    		// If k-1 is S-type, queue -k for processing later in this loop.
    		// If k-1 is L-type (text[k-1] > text[k]), queue k to save for the caller.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 23:57:18 UTC 2024
    - 52.3K bytes
    - Viewed (0)
Back to top