- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for numUpdates (0.13 sec)
-
pilot/pkg/config/monitor/monitor_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 4.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest_test.go
// Simulate GuaranteedUpdate behavior (retries internally on etcd changes if the incoming resource doesn't pin resourceVersion) for { currentPod := p.startingPod if p.numUpdates > 0 { currentPod = p.updatePod } p.numUpdates++ // Remember the current resource version currentResourceVersion := currentPod.ResourceVersion obj, err := objInfo.UpdatedObject(ctx, currentPod) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 41.8K bytes - Viewed (0) -
pkg/kubelet/status/status_manager_test.go
} } } func verifyUpdates(t *testing.T, manager *manager, expectedUpdates int) { t.Helper() // Consume all updates in the channel. numUpdates := manager.consumeUpdates() if numUpdates != expectedUpdates { t.Errorf("unexpected number of updates %d, expected %d", numUpdates, expectedUpdates) } } func (m *manager) consumeUpdates() int { updates := 0 for { select { case <-m.podStatusChannel:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 16:27:19 UTC 2024 - 68.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/scatter.h
index_depth == 1 && num_updates == 1) { ImplicitLocOpBuilder builder(loc, rewriter); auto indices_shape = BuildIntArrayConstOp( builder, rewriter, llvm::SmallVector<int64_t>({num_updates, index_depth}), rewriter.getI32Type()); new_indices = rewriter.create<TF::ReshapeOp>( loc, RankedTensorType::get({num_updates, index_depth},
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.1K bytes - Viewed (0) -
pkg/controller/endpointslicemirroring/reconciler_test.go
handleErr(t, err, "endpointSliceChangesUpdated") if actualUpdated != float64(em.numUpdated) { t.Errorf("Expected endpointSliceChangesUpdated to be %d, got %v", em.numUpdated, actualUpdated) } actualDeleted, err := testutil.GetCounterMetricValue(metrics.EndpointSliceChanges.WithLabelValues("delete")) handleErr(t, err, "desiredEndpointSlices")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 06:51:56 UTC 2024 - 42.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td
will be nondeterministic if `indices` contains duplicates. `indices` is an integer tensor containing indices into a new tensor of shape `shape`. * `indices` must have at least 2 axes: `(num_updates, index_depth)`. * The last axis of `indices` is how deep to index into `tensor` so this index depth must be less than the rank of `tensor`: `indices.shape[-1] <= tensor.ndim`
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 23:24:08 UTC 2024 - 793K bytes - Viewed (0)