- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for newErrs (0.16 sec)
-
operator/pkg/apis/istio/v1alpha1/validation/validation.go
validators := []FeatureValidator{ CheckServicePorts, CheckAutoScaleAndReplicaCount, } for _, validator := range validators { newErrs, newWarnings := validator(values, spec) errs = util.AppendErrs(errs, newErrs) warnings = append(warnings, newWarnings...) } return } // CheckAutoScaleAndReplicaCount warns when autoscaleEnabled is true and k8s replicaCount is set.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 20:02:28 UTC 2024 - 14.9K bytes - Viewed (0) -
cmd/xl-storage-format-v2_test.go
vMod := make([][]xlMetaV2ShallowVersion, 0, len(vers)) for i, ver := range vers { newVers := make([]xlMetaV2ShallowVersion, 0, len(ver)) for _, v := range ver { v.header.Signature = [4]byte{byte(i + 10), 0, 0, 0} newVers = append(newVers, v) } vMod = append(vMod, newVers) } merged := mergeXLV2Versions(i, false, 0, vMod...) if len(merged) == 0 {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Mar 08 17:50:48 UTC 2024 - 36.4K bytes - Viewed (0) -
pkg/controller/deployment/progress_test.go
fake := fake.Clientset{} dc := &DeploymentController{ client: &fake, } if test.newRS != nil { test.allRSs = append(test.allRSs, test.newRS) } _, ctx := ktesting.NewTestContext(t) err := dc.syncRolloutStatus(ctx, test.allRSs, test.newRS, test.d) if err != nil { t.Error(err) } newCond := util.GetDeploymentCondition(test.d.Status, test.conditionType)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 13.3K bytes - Viewed (0) -
src/go/types/assignments.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 16.4K bytes - Viewed (0) -
src/cmd/go/internal/work/gc.go
func toolVerify(a *Action, b *Builder, p *load.Package, newTool string, ofile string, args []any) error { newArgs := make([]any, len(args)) copy(newArgs, args) newArgs[1] = base.Tool(newTool) newArgs[3] = ofile + ".new" // x.6 becomes x.6.new if err := b.Shell(a).run(p.Dir, p.ImportPath, nil, newArgs...); err != nil { return err } data1, err := os.ReadFile(ofile) if err != nil { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 15:37:44 UTC 2024 - 23K bytes - Viewed (0) -
pkg/kube/krt/collection.go
for key := range allKeys { // Find new O object newRes, newExists := results[key] // Find the old O object oldRes, oldExists := h.collectionState.outputs[key] e := Event[O]{} if newExists && oldExists { if equal(newRes, oldRes) { // NOP change, skip continue } e.Event = controllers.EventUpdate e.New = &newRes e.Old = &oldRes
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 19.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc
for (auto res : llvm::enumerate(call_op.getResultTypes())) { Type res_type = res.value(); if (mlir::dyn_cast<TFRTensorType>(res_type)) { Value new_res = new_op->getResult(res.index()); auto casted = rewriter.create<CastOp>(loc, res_type, new_res); new_results.push_back(casted.getOut()); } else if (auto list_type = mlir::dyn_cast<TFRTensorListType>(res.value())) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21.8K bytes - Viewed (0) -
cmd/notification.go
retryCount int } // WithNPeers returns a new NotificationGroup with length of errs slice upto nerrs, // upon Wait() errors are returned collected from all tasks. func WithNPeers(nerrs int) *NotificationGroup { if nerrs <= 0 { nerrs = 1 } wk, _ := workers.New(nerrs) return &NotificationGroup{errs: make([]NotificationPeerErr, nerrs), workers: wk, retryCount: 3} }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 44.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/quantity.go
} func (d Quantity) ConvertToType(typeVal ref.Type) ref.Val { switch typeVal { case quantityTypeValue: return d case types.TypeType: return quantityTypeValue default: return types.NewErr("type conversion error from '%s' to '%s'", quantityTypeValue, typeVal) } } func (d Quantity) Equal(other ref.Val) ref.Val { otherDur, ok := other.(Quantity) if !ok { return types.MaybeNoSuchOverloadErr(other)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 04 11:23:54 UTC 2024 - 2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/modfile/work.go
if d.Path == path { d.Syntax.markRemoved() *d = Use{} } } return nil } func (f *WorkFile) AddReplace(oldPath, oldVers, newPath, newVers string) error { return addReplace(f.Syntax, &f.Replace, oldPath, oldVers, newPath, newVers) } func (f *WorkFile) DropReplace(oldPath, oldVers string) error { for _, r := range f.Replace { if r.Old.Path == oldPath && r.Old.Version == oldVers {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 18:34:56 UTC 2024 - 7.7K bytes - Viewed (0)