- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for mutate1 (0.18 sec)
-
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go
defaultCreateStrategy := &testRESTStrategy{scheme, &predictableNameGenerator{}, true, false, true} registry.CreateStrategy = defaultCreateStrategy // create the object (DeepCopy because the registry mutates the objects) objA, err := registry.Create(testContext, podA.DeepCopy(), rest.ValidateAllObjectFunc, &metav1.CreateOptions{}) if err != nil { t.Errorf("Unexpected error: %v", err) } // get the object
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 101.8K bytes - Viewed (0) -
pkg/api/pod/util_test.go
} DropDisabledPodFields(newPod, newPod) require.Equal(t, &test.pod, newPod, "unchanged pod should never be mutated") DropDisabledPodFields(newPod, nil) if enabled && fieldsEnabled { assert.Equal(t, &test.pod, newPod, "pod should not be mutated when both feature gates are enabled") return } expectAnnotations := test.hasAnnotations && enabled
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 108.8K bytes - Viewed (0) -
src/net/http/server.go
cw chunkWriter // handlerHeader is the Header that Handlers get access to, // which may be retained and mutated even after WriteHeader. // handlerHeader is copied into cw.header at WriteHeader // time, and privately mutated thereafter. handlerHeader Header calledHeader bool // handler accessed handlerHeader via Header written int64 // number of bytes written in body
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 123.4K bytes - Viewed (0) -
src/net/http/transport_test.go
t.Errorf("%d. body = %q; want %q", i, g, e) } if g, e := req.Header.Get("Accept-Encoding"), test.accept; g != e { t.Errorf("%d. Accept-Encoding = %q; want %q (it was mutated, in violation of RoundTrip contract)", i, g, e) } if g, e := res.Header.Get("Content-Encoding"), test.accept; g != e { t.Errorf("%d. Content-Encoding = %q; want %q", i, g, e) } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 192.6K bytes - Viewed (0) -
pkg/registry/batch/job/strategy_test.go
enableJobSuccessPolicy bool job *batch.Job newJob *batch.Job wantJob *batch.Job wantErrs field.ErrorList }{ "incoming resource version on update should not be mutated": { job: &batch.Job{ ObjectMeta: metav1.ObjectMeta{ Name: "myjob", Namespace: metav1.NamespaceDefault, ResourceVersion: "10", }, Spec: batch.JobSpec{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 101.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td
inference. Therefore it does do some mutation of the graph. Constant folding required to produce more exact shapes is also performed but these values are only kept in the context rather than the ops folded/IR mutated. }]; let constructor = "TF::CreateTFShapeInferencePass()"; let options = [ Option<"max_iterations_", "max-iterations", "int64_t", /*default=*/"10", "Maximum shape inference iterations">,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 99.6K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_control_test.go
} if set.Status.ReadyReplicas != 3 { t.Error("Failed to set readyReplicas correctly") } if set.Status.UpdatedReplicas != 3 { t.Error("Failed to set updatedReplicas correctly") } // now mutate a pod's identity pods, err := om.podsLister.List(labels.Everything()) if err != nil { t.Fatalf("Error listing pods: %v", err) } if len(pods) != 3 { t.Fatalf("Expected 3 pods, got %d", len(pods)) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 07 19:01:47 UTC 2024 - 108.7K bytes - Viewed (0)