- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 285 for mutate1 (0.67 sec)
-
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleExtractorTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 13:45:02 UTC 2024 - 30.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/NodeBackedModelMapSpec.groovy
ModelType<ModelMap<T>> getModelMapType() { ModelTypes.modelMap(itemType) } void mutate(@DelegatesTo(ModelMap) Closure<?> action) { registry.mutate(ModelReference.of(path, modelMapType), ClosureBackedAction.of(action)) } void mutateWithoutDelegation(Action<ModelMap<T>> action) { registry.mutate(ModelReference.of(path, modelMapType), action) } void realize() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 38.3K bytes - Viewed (0) -
cmd/kubeadm/app/util/apiclient/idempotency.go
// the cluster and mutator callback will be called on it, then an Update of the mutated ConfigMap will be performed. This function is resilient // to conflicts, and a retry will be issued if the ConfigMap was modified on the server between the refresh and the update (while the mutation was // taking place) func CreateOrMutateConfigMap(client clientset.Interface, cm *v1.ConfigMap, mutator ConfigMapMutator) error { var lastError error
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Feb 18 11:14:32 UTC 2024 - 18.4K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/common.go
return errors.Errorf("could not find a mutator for input: %#v", in) } return mutator.mutateFunc(in) } // addEmpty adds an empty migrate mutator for a given input. func (mutators *migrateMutators) addEmpty(in []any) { mutator := migrateMutator{ in: in, mutateFunc: func(in []any) error { return nil }, } *mutators = append(*mutators, mutator) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 11:04:08 UTC 2024 - 18.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/ModelRuleBindingFailureIntegrationTest.groovy
@Model MyThing1 thing1() { new MyThing1() } @Mutate void thing1(MyThing1 t1, MyThing3 t3) { } @Mutate void mutateThing2(MyThing2 t2, MyThing1 t1) { } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 10.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/rest/update.go
// Canonicalize allows an object to be mutated into a canonical form. This // ensures that code that operates on these objects can rely on the common // form for things like comparison. Canonicalize is invoked after // validation has succeeded but before the object has been persisted. // This method may mutate the object. Canonicalize(obj runtime.Object)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 27 11:48:28 UTC 2022 - 11.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/RuleBindingsTest.groovy
bindings.getRulesWithSubject(nodeAtState("a", ModelNode.State.Mutated)) as List == [rule1] bindings.getRulesWithSubject(nodeAtState("a.1", ModelNode.State.Mutated)) as List == [rule3] bindings.getRulesWithSubject(nodeAtState("a.2", ModelNode.State.Mutated)) as List == [rule2] bindings.getRulesWithSubject(nodeAtState("b", ModelNode.State.Mutated)).empty } def "binds multiple by-path rules to subject"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 26.8K bytes - Viewed (0) -
pkg/wasm/imagefetcher_test.go
configLayer, err := random.Layer(1000, "application/vnd.module.wasm.config.v1+json") if err != nil { t.Fatal(err) } img, err := mutate.Append(empty.Image, mutate.Addendum{Layer: wasmLayer}, mutate.Addendum{Layer: configLayer}) if err != nil { t.Fatal(err) } img = mutate.MediaType(img, types.OCIManifestSchema1) // Push image to the registry. err = crane.Push(img, ref) if err != nil { t.Fatal(err)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Feb 05 04:15:17 UTC 2023 - 16.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/AllTests.java
for ( String mutate : applyMutations ) { if ( excludes.contains(mutate) || shouldSkip(excludes, mutate) ) { continue; } if ( MUTATIONS.containsKey(mutate) ) { configs.put(cfgname + "-" + mutate, MUTATIONS.get(mutate).mutate(new HashMap<>(map))); } }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Tue Jul 07 10:52:42 UTC 2020 - 14.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/RuleTaskBridgingIntegrationTest.groovy
class MyPlugin extends RuleSource { @Mutate void tasks(ModelMap<EchoTask> tasks) { tasks.create("test") } @Mutate void applyMessages(@Path("tasks.test") Task task) { println "as task: \$task" } @Mutate void applyMessages(@Path("tasks.test") EchoTask task) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 12:57:53 UTC 2024 - 19.2K bytes - Viewed (0)