- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for oldArgs (0.19 sec)
-
src/cmd/compile/internal/ssa/expand_calls.go
// differences: // firstArg + preArgs // sp vs auxBase m0 := v.MemoryArg() mem := m0 allResults := []*Value{} var oldArgs []*Value argsWithoutMem := v.Args[:len(v.Args)-1] for j, a := range argsWithoutMem { oldArgs = append(oldArgs, a) i := int64(j) auxType := aux.TypeOfResult(i) auxBase := b.NewValue2A(v.Pos, OpLocalAddr, types.NewPtr(auxType), aux.NameOfResult(i), x.sp, mem)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 28 05:13:40 UTC 2023 - 31.9K bytes - Viewed (0) -
src/flag/flag_test.go
// This tests that one can reset the flags. This still works but not well, and is // superseded by FlagSet. func TestChangingArgs(t *testing.T) { ResetForTesting(func() { t.Fatal("bad parse") }) oldArgs := os.Args defer func() { os.Args = oldArgs }() os.Args = []string{"cmd", "-before", "subcmd", "-after", "args"} before := Bool("before", false, "") if err := CommandLine.Parse(os.Args[1:]); err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:38:24 UTC 2024 - 22K bytes - Viewed (0) -
pkg/controller/deployment/rolling_test.go
newRS.Status.AvailableReplicas = int32(test.readyPodsFromNewRS) oldRS := rs("foo-old", test.oldReplicas, oldSelector, noTimestamp) oldRS.Status.AvailableReplicas = int32(test.readyPodsFromOldRS) oldRSs := []*apps.ReplicaSet{oldRS} allRSs := []*apps.ReplicaSet{oldRS, newRS} maxSurge := intstr.FromInt32(0)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 08 09:10:50 UTC 2023 - 11K bytes - Viewed (0) -
pkg/controller/deployment/rolling.go
oldRSs, cleanupCount, err := dc.cleanupUnhealthyReplicas(ctx, oldRSs, deployment, maxScaledDown) if err != nil { return false, nil } logger.V(4).Info("Cleaned up unhealthy replicas from old RSes", "count", cleanupCount) // Scale down old replica sets, need check maxUnavailable to ensure we can scale down allRSs = append(oldRSs, newRS)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 07:09:11 UTC 2023 - 9.9K bytes - Viewed (0) -
pkg/controller/deployment/recreate_test.go
test := tests[i] var oldRSs []*apps.ReplicaSet var expected []runtime.Object for n, size := range test.oldRSSizes { rs := newReplicaSet(test.d, fmt.Sprintf("%s-%d", test.d.Name, n), size) oldRSs = append(oldRSs, rs) rsCopy := rs.DeepCopy() zero := int32(0) rsCopy.Spec.Replicas = &zero expected = append(expected, rsCopy)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 08 09:10:50 UTC 2023 - 5.9K bytes - Viewed (0) -
pkg/controller/deployment/sync_test.go
return } if len(test.expectedOld) != len(test.oldRSs) { t.Errorf("%s: expected %d old replica sets, got %d", test.name, len(test.expectedOld), len(test.oldRSs)) return } for n := range test.oldRSs { rs := test.oldRSs[n] expected := test.expectedOld[n] if *(expected.Spec.Replicas) != nameToSize[rs.Name] {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 08 09:10:50 UTC 2023 - 21.1K bytes - Viewed (0) -
pilot/pkg/config/kube/crdclient/types.gen.go
} patchBytes, err := genPatchBytes(oldRes, modRes, typ) if err != nil { return nil, err } return c.Istio().SecurityV1beta1().AuthorizationPolicies(orig.Namespace). Patch(context.TODO(), orig.Name, typ, patchBytes, metav1.PatchOptions{FieldManager: "pilot-discovery"}) case gvk.DestinationRule: oldRes := &apiistioioapinetworkingv1alpha3.DestinationRule{ ObjectMeta: origMeta,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 17:37:32 UTC 2024 - 62.2K bytes - Viewed (0) -
pkg/controller/deployment/recreate.go
// Don't create a new RS if not already existed, so that we avoid scaling up before scaling down. newRS, oldRSs, err := dc.getAllReplicaSetsAndSyncRevision(ctx, d, rsList, false) if err != nil { return err } allRSs := append(oldRSs, newRS) activeOldRSs := controller.FilterActiveReplicaSets(oldRSs) // scale down old replica sets. scaledDown, err := dc.scaleDownOldReplicaSetsForRecreate(ctx, activeOldRSs, d)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 13 20:32:13 UTC 2021 - 4.2K bytes - Viewed (0) -
operator/cmd/mesh/operator-dump.go
l.LogAndFatal(fmt.Errorf("unknown output format: %v", odArgs.common.outputFormat)) } _, mstr, err := renderOperatorManifest(args, &odArgs.common) if err != nil { l.LogAndFatal(err) } var output string if output, err = yamlToFormat(mstr, odArgs.common.outputFormat); err != nil { l.LogAndFatal(err) } l.Print(output) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 3.6K bytes - Viewed (0) -
operator/cmd/mesh/operator_test.go
}, } cmd := "operator dump --hub " + odArgs.common.hub cmd += " --tag " + odArgs.common.tag cmd += " --imagePullSecrets " + strings.Join(odArgs.common.imagePullSecrets, ",") cmd += " --operatorNamespace " + odArgs.common.operatorNamespace cmd += " --watchedNamespaces " + odArgs.common.watchedNamespaces cmd += " --manifests=" + string(snapshotCharts) cmd += " --output " + odArgs.common.outputFormat
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 29 14:15:33 UTC 2023 - 6.4K bytes - Viewed (0)