Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 175 for enqueues (0.13 sec)

  1. android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

       * #enqueue enqueued} and {@link #dispatch dispatched}.
       */
      public void addListener(L listener, Executor executor) {
        checkNotNull(listener, "listener");
        checkNotNull(executor, "executor");
        listeners.add(new PerListenerQueue<>(listener, executor));
      }
    
      /**
       * Enqueues an event to be run on currently known listeners.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

       * #enqueue enqueued} and {@link #dispatch dispatched}.
       */
      public void addListener(L listener, Executor executor) {
        checkNotNull(listener, "listener");
        checkNotNull(executor, "executor");
        listeners.add(new PerListenerQueue<>(listener, executor));
      }
    
      /**
       * Enqueues an event to be run on currently known listeners.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  3. docs/contribute/debug_logging.md

    [2020-01-01 00:00:00] << 0x00000003     0 DATA          END_STREAM
    [2020-01-01 00:00:00] << 0x00000000     8 GOAWAY
    [2020-01-01 00:00:05] << 0x00000000     8 GOAWAY
    ```
    
    ### Task Runner Logging 
    
    This logs task enqueues, starts, and finishes.
    
    ```
    [2020-01-01 00:00:00] Q10000 scheduled after   0 µs: OkHttp ConnectionPool
    [2020-01-01 00:00:00] Q10000 starting              : OkHttp ConnectionPool
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  4. pilot/pkg/autoregistration/internal/health/controller.go

    		controllers.WithGenericReconciler(c.updateWorkloadEntryHealth))
    	return c
    }
    
    func (c *Controller) Run(stop <-chan struct{}) {
    	c.healthCondition.Run(stop)
    }
    
    // QueueWorkloadEntryHealth enqueues the associated WorkloadEntries health status.
    func (c *Controller) QueueWorkloadEntryHealth(proxy *model.Proxy, event HealthEvent) {
    	// we assume that the workload entry exists
    	// if auto registration does not exist, try looking
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Sep 19 20:41:55 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  5. pkg/queue/delay_test.go

    		dq.mu.Lock()
    		if dq.queue.Len() < queuedItems {
    			t.Fatalf("expected 50 items in the queue, got %d", dq.queue.Len())
    		}
    		dq.mu.Unlock()
    		return
    	case <-timeout:
    		t.Fatal("timed out waiting for enqueues")
    	}
    }
    
    func TestPriorityQueueShrinking(t *testing.T) {
    	c := 48
    	pq := make(pq, 0, c)
    	pqp := &pq
    
    	t0 := time.Now()
    	for i := 0; i < c; i++ {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 06:27:31 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/fifo_list.go

    //
    // Note that a fifo, including the removeFromFIFOFuncs returned from Enqueue,
    // is not safe for concurrent use by multiple goroutines.
    type fifo interface {
    	// Enqueue enqueues the specified request into the list and
    	// returns a removeFromFIFOFunc function that can be used to remove the
    	// request from the list
    	Enqueue(*request) removeFromFIFOFunc
    
    	// Dequeue pulls out the oldest request from the list.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 20 16:05:53 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  7. pkg/queue/delay.go

    // will block until there is room.
    func DelayQueueBuffer(bufferSize int) DelayQueueOption {
    	return func(queue *delayQueue) {
    		if queue.enqueue != nil {
    			close(queue.enqueue)
    		}
    		queue.enqueue = make(chan *delayTask, bufferSize)
    	}
    }
    
    // DelayQueueWorkers sets the number of background worker goroutines await tasks to execute. Effectively the
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 06:27:31 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  8. src/reflect/makefunc.go

    // memory.
    //
    //go:nosplit
    func moveMakeFuncArgPtrs(ctxt *makeFuncCtxt, args *abi.RegArgs) {
    	for i, arg := range args.Ints {
    		// Avoid write barriers! Because our write barrier enqueues what
    		// was there before, we might enqueue garbage.
    		if ctxt.regPtrs.Get(i) {
    			*(*uintptr)(unsafe.Pointer(&args.Ptrs[i])) = arg
    		} else {
    			// We *must* zero this space ourselves because it's defined in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:20:05 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. src/runtime/mwbbuf.go

    //
    // The write barrier has a fast path and a slow path. The fast path
    // simply enqueues to a per-P write barrier buffer. It's written in
    // assembly and doesn't clobber any general purpose registers, so it
    // doesn't have the usual overheads of a Go call.
    //
    // When the buffer fills up, the write barrier invokes the slow path
    // (wbBufFlush) to flush the buffer to the GC work queues. In this
    // path, since the compiler didn't spill registers, we spill *all*
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/WebSocket.kt

       * that enqueued messages were not transmitted.
       */
      fun queueSize(): Long
    
      /**
       * Attempts to enqueue `text` to be UTF-8 encoded and sent as a the data of a text (type `0x1`)
       * message.
       *
       * This method returns true if the message was enqueued. Messages that would overflow the outgoing
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top