Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 101 for dequeue0 (0.19 sec)

  1. .github/workflows/team-triage-stale.yml

    name: 'Requeue stale team-triage items'
    on:
      schedule:
        # Execute every day at 00:05 to avoid conflicts with other workflows
        - cron: '5 0 * * *'
    
    permissions: {}
    
    jobs:
      requeue:
        permissions:
          issues: write
          pull-requests: write
        runs-on: ubuntu-latest
        steps:
          - uses: actions/stale@v9
            with:
              operations-per-run: 50
              remove-stale-when-updated: false
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 09:13:16 UTC 2024
    - 835 bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/finalizer/crd_finalizer.go

    		return
    	}
    
    	// always requeue resyncs just in case
    	if oldCRD.ResourceVersion == newCRD.ResourceVersion {
    		c.enqueue(newCRD)
    		return
    	}
    
    	// If the only difference is in the terminating condition, then there's no reason to requeue here.  This controller
    	// is likely to be the originator, so requeuing would hot-loop us.  Failures are requeued by the workqueue directly.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. pkg/controller/replicaset/replica_set.go

    		// the Pod status which in turn will trigger a requeue of the owning replica set thus
    		// having its status updated with the newly available replica. For now, we can fake the
    		// update by resyncing the controller MinReadySeconds after the it is requeued because
    		// a Pod transitioned to Ready.
    		// Note that this still suffers from #29229, we are just moving the problem one level
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  4. pkg/controlplane/controller/crdregistration/crdregistration_controller.go

    	syncHandler func(groupVersion schema.GroupVersion) error
    
    	syncedInitialSet chan struct{}
    
    	// queue is where incoming work is placed to de-dup and to allow "easy" rate limited requeues on errors
    	// this is actually keyed by a groupVersion
    	queue workqueue.TypedRateLimitingInterface[schema.GroupVersion]
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top