Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 361 for mutable_s (0.2 sec)

  1. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/CoupledProjectsListener.kt

    import org.gradle.internal.service.scopes.Scope
    
    
    @EventScope(Scope.Build::class)
    interface CoupledProjectsListener {
        /**
         * Notified when the build logic for a [referrer] project accesses the mutable state of some other [target] project.
         *
         * The [referrer] and [target] might represent the same project, and the listener implementation
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/ScopedRuleTest.groovy

                .mutate {
                it.path "values" node {
                    it.addLinkInstance("values.mutable", new MutableValue())
                }
            }
    
            when:
            registry.get("values")
    
            then:
            registry.get("values.mutable", MutableValue).value == "foo"
        }
    
        static class ByTypeBindingSubjectRule extends RuleSource {
            @Mutate
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  3. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishCustomComponentIntegTest.groovy

                }
    
                class TestAttributes {
                    // shared mutable state for tests, don't do this at home!
                    static AttributeContainer INSTANCE
                }
                TestAttributes.INSTANCE = project.services.get(org.gradle.api.internal.attributes.ImmutableAttributesFactory)
                   .mutable()
                   .attribute(Attribute.of("test.attribute", String), "value")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 7K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/attributes/DefaultImmutableAttributesFactory.java

        }
    
        public int size() {
            return children.size();
        }
    
        @Override
        public DefaultMutableAttributeContainer mutable() {
            return new DefaultMutableAttributeContainer(this);
        }
    
        @Override
        public HierarchicalAttributeContainer mutable(AttributeContainerInternal fallback) {
            return join(fallback, new DefaultMutableAttributeContainer(this));
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/lifecycle/MavenExecutionPlan.java

          pre-calculated execution plan that stays the same during the execution.
    
          If deciding to add mutable state to this class, it should be at least considered to
          separate this into a separate mutable structure.
    
        */
    
        private final List<ExecutionPlanItem> planItem;
    
        private final Map<String, ExecutionPlanItem> lastMojoExecutionForAllPhases;
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/MutableBoolean.java

     * limitations under the License.
     */
    
    package org.gradle.internal;
    
    import javax.annotation.concurrent.NotThreadSafe;
    import java.io.Serializable;
    
    /**
     * A non-thread-safe type to hold a mutable boolean value.
     */
    @NotThreadSafe
    public final class MutableBoolean implements Serializable {
        private boolean value;
    
        public MutableBoolean() {
            this(false);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/gateway.go

    				mutable := &MutableGatewayListener{}
    				mutableopts[lname] = mutableListenerOpts{mutable: mutable, opts: opts, transport: transport}
    			} else {
    				mopts.opts.filterChainOpts = append(mopts.opts.filterChainOpts, opts.filterChainOpts...)
    			}
    		}
    	}
    	listeners := make([]*listener.Listener, 0)
    	for _, ml := range mutableopts {
    		ml.mutable.Listener = buildGatewayListener(*ml.opts, ml.transport)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 46.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/model/Finalize.java

     * <p>
     * Finalize rules execute after {@link Mutate} rules, but before {@link Validate} rules.
     * The first parameter of the rule is the rule subject, which is mutable for the duration of the rule.
     * <p>
     * Please see {@link RuleSource} for more information on method rules.
     */
    @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.METHOD)
    @Incubating
    public @interface Finalize {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/MutableActionSet.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle.internal;
    
    import org.gradle.api.Action;
    
    /**
     * A mutable composite {@link Action}. Actions are executed in the order added, stopping on the first failure.
     *
     * This type is not thread-safe.
     *
     * Consider using {@link org.gradle.internal.ImmutableActionSet} instead of this.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. maven-model-builder/src/main/java/org/apache/maven/model/building/TransformerContextBuilder.java

        /**
         * This method is used to initialize the TransformerContext
         *
         * @param request the modelBuildingRequest
         * @param problems the problemCollector
         * @return the mutable transformerContext
         */
        TransformerContext initialize(ModelBuildingRequest request, ModelProblemCollector problems);
    
        /**
         * The immutable transformerContext, can be used after the buildplan is finished.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top