Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 426 for enqueues (0.16 sec)

  1. 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)
  2. cmd/bucket-lifecycle.go

    	w := es.workers.Load()
    	if w == nil || len(*w) == 0 {
    		return 0
    	}
    	var tasks int
    	for _, wrkr := range *w {
    		tasks += len(wrkr)
    	}
    	return tasks
    }
    
    // enqueueTierJournalEntry enqueues a tier journal entry referring to a remote
    // object corresponding to a 'replaced' object versions. This applies only to
    // non-versioned or version suspended buckets.
    func (es *expiryState) enqueueTierJournalEntry(je jentry) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. pkg/controller/daemon/daemon_controller.go

    			"controllerRevision", klog.KObj(history), "labels", history.Labels)
    	}
    	return daemonSets
    }
    
    // addHistory enqueues the DaemonSet that manages a ControllerRevision when the ControllerRevision is created
    // or when the controller manager is restarted.
    func (dsc *DaemonSetsController) addHistory(logger klog.Logger, obj interface{}) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  6. pkg/controller/storageversiongc/gc_controller.go

    	castNewObj := newObj.(*apiserverinternalv1alpha1.StorageVersion)
    	c.enqueueStorageVersion(logger, castNewObj)
    }
    
    // enqueueStorageVersion enqueues the storage version if it has entry for invalid apiserver
    func (c *Controller) enqueueStorageVersion(logger klog.Logger, obj *apiserverinternalv1alpha1.StorageVersion) {
    	for _, sv := range obj.Status.StorageVersions {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

        @CheckForNull Runnable nextTask;
    
        /** Only used by the thread associated with this object */
        @CheckForNull Executor nextExecutor;
      }
    
      /**
       * Enqueues a task to run when the previous task (if any) completes.
       *
       * <p>Cancellation does not propagate from the output future to a callable that has begun to
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

        @CheckForNull Runnable nextTask;
    
        /** Only used by the thread associated with this object */
        @CheckForNull Executor nextExecutor;
      }
    
      /**
       * Enqueues a task to run when the previous task (if any) completes.
       *
       * <p>Cancellation does not propagate from the output future to a callable that has begun to
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

      private WorkerRunningState workerRunningState = IDLE;
    
      /**
       * This counter prevents an ABA issue where a thread may successfully schedule the worker, the
       * worker runs and exhausts the queue, another thread enqueues a task and fails to schedule the
       * worker, and then the first thread's call to delegate.execute() returns. Without this counter,
       * it would observe the QUEUING state and set it to QUEUED, and the worker would never be
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/SequentialExecutor.java

      private WorkerRunningState workerRunningState = IDLE;
    
      /**
       * This counter prevents an ABA issue where a thread may successfully schedule the worker, the
       * worker runs and exhausts the queue, another thread enqueues a task and fails to schedule the
       * worker, and then the first thread's call to delegate.execute() returns. Without this counter,
       * it would observe the QUEUING state and set it to QUEUED, and the worker would never be
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top