- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 664 for mutate1 (0.17 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/manager.go
type Manager interface { // Update is used when the object has already been merged (non-apply // use-case), and simply updates the managed fields in the output // object. // * `liveObj` is not mutated by this function // * `newObj` may be mutated by this function // Returns the new object with managedFields removed, and the object's new // proposed managedFields separately.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 21:44:00 UTC 2023 - 2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/modelRules/basicRuleSourcePlugin/groovy/build.gradle
@Model void person(Person p) {} // end::create-rule[] // tag::plugin-mutate-rule[] //Create a rule that modifies a Person and takes no other inputs @Mutate void setFirstName(Person p) { p.firstName = "John" } // end::plugin-mutate-rule[] // tag::task-create-rule[] //Create a rule that modifies a ModelMap<Task> and takes as input a Person @Mutate void createHelloTask(ModelMap<Task> tasks, Person p) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/tasks/DefaultTaskOutputs.java
@Override public void upToDateWhen(final Closure upToDateClosure) { taskMutator.mutate("TaskOutputs.upToDateWhen(Closure)", () -> { upToDateSpec = upToDateSpec.and(upToDateClosure); }); } @Override public void upToDateWhen(final Spec<? super Task> spec) { taskMutator.mutate("TaskOutputs.upToDateWhen(Spec)", () -> { upToDateSpec = upToDateSpec.and(spec); });
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 04 09:46:14 UTC 2023 - 10.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/ScopedRuleTest.groovy
} static class ByPathBoundInputsChildRule extends RuleSource { @Mutate void mutateFirst(@Path("first") MutableValue first) { first.value = "first" } @Mutate void mutateSecond(@Path("second") MutableValue second, @Path("first") MutableValue first) { second.value = "from first: $first.value"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 7.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedTypeWithUnmanagedPropertiesIntegrationTest.groovy
@Mutate void setOs(Platform platform) { platform.operatingSystem = new OperatingSystem() } @Mutate void setOsName(@Path("platform.operatingSystem") OperatingSystem os) { os.name = "foo" } @Mutate
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/core/ModelReferenceTest.groovy
expect: def reference = ModelReference.of("some.path", String).atState(ModelNode.State.Mutated) reference.scope == null reference.path == ModelPath.path("some.path") reference.type == ModelType.of(String) !reference.untyped reference.state == ModelNode.State.Mutated def original = ModelReference.of(String) original.atState(original.state).is(original) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/AbstractTask.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 12:20:43 UTC 2024 - 34.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/model/internal/fixture/ModelRegistryHelperExtension.java
} public static ModelRegistry mutate(ModelRegistry modelRegistry, Transformer<? extends ModelAction, ? super ModelActionBuilder<Object>> definition) { return configure(modelRegistry, Mutate, definition); } public static <T> ModelRegistry mutate(ModelRegistry modelRegistry, Class<T> type, Action<? super T> action) { return applyInternal(modelRegistry, Mutate, type, action); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 18.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelPropertyTargetingRuleIntegrationTest.groovy
platform.operatingSystem.name = "windows" } @Mutate void configurePlatform(Platform platform) { platform.operatingSystem.name = "${platform.operatingSystem.name} 10" } @Mutate void addTask(ModelMap<Task> tasks, @Path("platform.operatingSystem") OperatingSystem os) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 16.6K bytes - Viewed (0) -
platforms/software/platform-base/src/main/java/org/gradle/platform/base/DependencySpecContainer.java
* * @param path the project path * * @return a mutable dependency, added to this container */ ProjectDependencySpecBuilder project(String path); /** * Defines a new dependency, based on a library name. The returned dependency can be mutated. * * @param name of the library *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 2.5K bytes - Viewed (0)