Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 426 for enqueues (0.12 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. tensorflow/c/experimental/stream_executor/stream_executor.h

      /*** MEMCPY CALLBACKS ***/
      // Enqueues a memcpy operation onto stream, with a host destination location
      // `host_dst` and a device memory source, with target size `size`.
      void (*memcpy_dtoh)(const SP_Device* device, SP_Stream stream, void* host_dst,
                          const SP_DeviceMemoryBase* device_src, uint64_t size,
                          TF_Status* status);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 24 08:40:35 UTC 2022
    - 21.6K bytes
    - Viewed (0)
  5. 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)
  6. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset.go

    // to validate and enqueue a request for the queueSet/QueueSet:
    // 1) Start with shuffle sharding, to pick a queue.
    // 2) Reject current request if there is not enough concurrency shares and
    // we are at max queue length
    // 3) If not rejected, create a request and enqueue
    // returns the enqueud request on a successful enqueue
    // returns nil in the case that there is no available concurrency or
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 04 16:59:21 UTC 2024
    - 42.4K bytes
    - Viewed (0)
  7. 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)
  8. pkg/controller/statefulset/stateful_set.go

    	}
    	return set
    }
    
    // enqueueStatefulSet enqueues the given statefulset in the work queue.
    func (ssc *StatefulSetController) enqueueStatefulSet(obj interface{}) {
    	key, err := controller.KeyFunc(obj)
    	if err != nil {
    		utilruntime.HandleError(fmt.Errorf("couldn't get key for object %+v: %v", obj, err))
    		return
    	}
    	ssc.queue.Add(key)
    }
    
    // enqueueStatefulSet enqueues the given statefulset in the work queue after given time
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  9. 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)
  10. pkg/controller/deployment/deployment_controller.go

    			return
    		}
    	}
    	logger.V(4).Info("Deleting deployment", "deployment", klog.KObj(d))
    	dc.enqueueDeployment(d)
    }
    
    // addReplicaSet enqueues the deployment that manages a ReplicaSet when the ReplicaSet is created.
    func (dc *DeploymentController) addReplicaSet(logger klog.Logger, obj interface{}) {
    	rs := obj.(*apps.ReplicaSet)
    
    	if rs.DeletionTimestamp != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.2K bytes
    - Viewed (0)
Back to top