Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 121 for dequeue1 (0.18 sec)

  1. pkg/controller/deployment/sync.go

    		// Matching ReplicaSet is not equal - increment the collisionCount in the DeploymentStatus
    		// and requeue the Deployment.
    		if d.Status.CollisionCount == nil {
    			d.Status.CollisionCount = new(int32)
    		}
    		preCollisionCount := *d.Status.CollisionCount
    		*d.Status.CollisionCount++
    		// Update the collisionCount for the Deployment and let it requeue by returning the original
    		// error.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_experimental.cc

      if (dequeue_op == nullptr) {
        status->status = tensorflow::errors::Internal(
            "Unable to find the dequeue node in the TF graph.");
        return nullptr;
      }
    
      VLOG(1) << "Running the dequeue op";
      TF_Output output{dequeue_op, 0};
      TF_Tensor* ret;
      TF_SessionRun(session, /*run_options*/ nullptr,
                    // input related parameters
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  3. pkg/kubelet/util/queue/work_queue.go

    	"k8s.io/utils/clock"
    )
    
    // WorkQueue allows queuing items with a timestamp. An item is
    // considered ready to process if the timestamp has expired.
    type WorkQueue interface {
    	// GetWork dequeues and returns all ready items.
    	GetWork() []types.UID
    	// Enqueue inserts a new item or overwrites an existing item.
    	Enqueue(item types.UID, delay time.Duration)
    }
    
    type basicWorkQueue struct {
    	clock clock.Clock
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 10 10:20:09 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  4. src/main/webapp/js/admin/adminlte.min.js

    removeClass(f).delay(300).queue((function(){t(o).hide(),t("html").removeClass(c),t(this).dequeue()}))):t("body").removeClass(h);var e=t.Event(s.COLLAPSED);t(this._element).trigger(e)},n.show=function(){this._config.controlsidebarSlide?(t("html").addClass(c),t(o).show().delay(10).queue((function(){t("body").addClass(f).delay(300).queue((function(){t("html").removeClass(c),t(this).dequeue()})),t(this).dequeue()}))):t("body").addClass(h);var e=t.Event(s.EXPANDED);t(this._element).trigger(e)},n.togg...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Wed Feb 12 07:55:41 UTC 2020
    - 23.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tpu_cluster_cleanup_attributes.cc

            // device. Device attribute is used to infer the appropriate sharding
            // within TPUs for this op.
            // TODO(b/183598857): Use explicit sharding ops from the front-end.
            // For example, dequeue ops generated by
            // tensorflow/python/tpu/tpu_feed.py
            if (!tensorflow::IsTPUReplicatedCore(attr.getValue()) &&
                !isa<tf_device::LaunchOp>(op)) {
              op->removeAttr(kDeviceAttr);
            }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 3K bytes
    - Viewed (0)
  6. test/chanlinear.go

    					// queue ourselves on the global channel
    					select {
    					case <-c:
    					case <-d:
    					}
    				}
    			}()
    		}
    		for i := 0; i < messages; i++ {
    			// wake each goroutine up, forcing it to dequeue and then enqueue
    			// on the global channel.
    			for _, d := range a {
    				d <- true
    			}
    		}
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. src/internal/fuzz/queue.go

    	}
    	q.elems = newElems
    	q.head = 0
    }
    
    func (q *queue) enqueue(e any) {
    	if q.len+1 > q.cap() {
    		q.grow()
    	}
    	i := (q.head + q.len) % q.cap()
    	q.elems[i] = e
    	q.len++
    }
    
    func (q *queue) dequeue() (any, bool) {
    	if q.len == 0 {
    		return nil, false
    	}
    	e := q.elems[q.head]
    	q.elems[q.head] = nil
    	q.head = (q.head + 1) % q.cap()
    	q.len--
    	return e, true
    }
    
    func (q *queue) peek() (any, bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 05 21:02:45 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  8. pkg/controller/serviceaccount/tokens_controller.go

    		e.syncServiceAccountQueue.Add(makeServiceAccountKey(serviceAccount))
    	}
    }
    
    // complete optionally requeues key, then calls queue.Done(key)
    func retryOrForget[T comparable](logger klog.Logger, queue workqueue.TypedRateLimitingInterface[T], key T, requeue bool, maxRetries int) {
    	if !requeue {
    		queue.Forget(key)
    		return
    	}
    
    	requeueCount := queue.NumRequeues(key)
    	if requeueCount < maxRetries {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  9. pkg/controller/garbagecollector/garbagecollector_test.go

    	t.Add(item)
    }
    func (t *trackingWorkqueue[T]) AddRateLimited(item T) {
    	t.Add(item)
    }
    func (t *trackingWorkqueue[T]) Get() (T, bool) {
    	item, shutdown := t.limiter.Get()
    	t.dequeue(item)
    	return item, shutdown
    }
    func (t *trackingWorkqueue[T]) Done(item T) {
    	t.limiter.Done(item)
    }
    func (t *trackingWorkqueue[T]) Forget(item T) {
    	t.limiter.Forget(item)
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/FinalizableReferenceQueue.java

    import java.net.URL;
    import java.net.URLClassLoader;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javax.annotation.CheckForNull;
    
    /**
     * A reference queue with an associated background thread that dequeues references and invokes
     * {@link FinalizableReference#finalizeReferent()} on them.
     *
     * <p>Keep a strong reference to this object until all of the associated referents have been
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 13.1K bytes
    - Viewed (0)
Back to top