Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 800 for queuesa (0.13 sec)

  1. test/fixedbugs/issue33355.go

    			qr := gwc.gatewayInterest(acc.Name, subj)
    			queues = queuesa[:0]
    			for i := 0; i < len(qr.qsubs); i++ {
    				qsubs := qr.qsubs[i]
    				queue := qsubs[0].queue
    				add := true
    				for _, qn := range qgroups {
    					if bytes.Equal(queue, qn) {
    						add = false
    						break
    					}
    				}
    				if add {
    					qgroups = append(qgroups, queue)
    				}
    			}
    			if len(queues) == 0 {
    				continue
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 01 02:15:18 UTC 2019
    - 2.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset.go

    	var minQueue *queue
    	var minIndex int
    	nq := len(qs.queues)
    	for range qs.queues {
    		qs.robinIndex = (qs.robinIndex + 1) % nq
    		queue := qs.queues[qs.robinIndex]
    		oldestWaiting, _ := queue.requestsWaiting.Peek()
    		if oldestWaiting != nil {
    			sMin = min(sMin, queue.nextDispatchR)
    			sMax = max(sMax, queue.nextDispatchR)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 04 16:59:21 UTC 2024
    - 42.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Queues.java

       *
       * @param queue the queue to be wrapped in a synchronized view
       * @return a synchronized view of the specified queue
       * @since 14.0
       */
      public static <E extends @Nullable Object> Queue<E> synchronizedQueue(Queue<E> queue) {
        return Synchronized.queue(queue, null);
      }
    
      /**
       * Returns a synchronized (thread-safe) deque backed by the specified deque. In order to guarantee
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 16K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Queues.java

       *
       * @param queue the queue to be wrapped in a synchronized view
       * @return a synchronized view of the specified queue
       * @since 14.0
       */
      public static <E extends @Nullable Object> Queue<E> synchronizedQueue(Queue<E> queue) {
        return Synchronized.queue(queue, null);
      }
    
      /**
       * Returns a synchronized (thread-safe) deque backed by the specified deque. In order to guarantee
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 18K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/doc.go

    // request executing: the last virtual finish time is the queue’s
    // virtual start time. When a request is dequeued for service the
    // queue’s virtual start time is advanced by G. When a request
    // finishes being served, and the actual service time was S, the
    // queue’s virtual start time is decremented by G - S.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 08 12:33:30 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. src/cmd/go/internal/par/queue.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package par
    
    import "fmt"
    
    // Queue manages a set of work items to be executed in parallel. The number of
    // active work items is limited, and excess items are queued sequentially.
    type Queue struct {
    	maxActive int
    	st        chan queueState
    }
    
    type queueState struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 24 21:08:46 UTC 2020
    - 1.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/types.go

    	// index is the position of this queue among those in its queueSet.
    	index int
    
    	// seatsInUse is the total number of "seats" currently occupied
    	// by all the requests that are currently executing in this queue.
    	seatsInUse int
    }
    
    // queueSum tracks the sum of initial seats, max seats, and
    // totalWork from all requests in a given queue
    type queueSum struct {
    	// InitialSeatsSum is the sum of InitialSeats
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 17:38:43 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  8. pkg/kube/controllers/queue.go

    	log         *istiolog.Scope
    }
    
    // WithName sets a name for the queue. This is used for logging
    func WithName(name string) func(q *Queue) {
    	return func(q *Queue) {
    		q.name = name
    	}
    }
    
    // WithRateLimiter allows defining a custom rate limiter for the queue
    func WithRateLimiter(r workqueue.RateLimiter) func(q *Queue) {
    	return func(q *Queue) {
    		q.queue = workqueue.NewRateLimitingQueue(r)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  9. src/internal/fuzz/queue.go

    	// The queue is full (until grow is called) when end = begin + N - 1 (mod N)
    	// where N = cap(elems).
    	elems     []any
    	head, len int
    }
    
    func (q *queue) cap() int {
    	return len(q.elems)
    }
    
    func (q *queue) grow() {
    	oldCap := q.cap()
    	newCap := oldCap * 2
    	if newCap == 0 {
    		newCap = 8
    	}
    	newElems := make([]any, newCap)
    	oldLen := q.len
    	for i := 0; i < oldLen; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 05 21:02:45 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/execution/plan/DefaultPlanExecutor.java

            coordinationService.withStateLock(() -> queue.abortAllAndFail(failure));
        }
    
        /**
         * Blocks until all items in the queue have been processed. This method will only return when every item in the queue has either completed, failed or been skipped.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 29.1K bytes
    - Viewed (0)
Back to top