Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 452 for mutable_s (0.28 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/AttributeSelectionUtilsTest.groovy

        private ImmutableAttributesFactory attributesFactory = AttributeTestUtil.attributesFactory()
        private List<ImmutableAttributes> candidates = []
        private AttributeContainerInternal requested = attributesFactory.mutable()
    
        private List<Attribute<?>> extraAttributes
    
        def "collects extra attributes, single candidate"() {
            def attr1 = Attribute.of("foo", String)
            def attr2 = Attribute.of("bar", String)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/project/HoldsProjectState.java

     * limitations under the License.
     */
    
    package org.gradle.api.internal.project;
    
    /**
     * A service can implement this interface to indicate that it holds mutable project scoped state that should be discarded when
     * projects are discarded.
     */
    public interface HoldsProjectState {
        /**
         * Discards any project state.
         */
        void discardAll();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Dec 11 09:02:17 UTC 2022
    - 934 bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model_ops.td

        a `tf_saved_model.exported_names` attribute.
    
        The `value` attribute contains the tensor's value (or initial value, in the
        case it is mutable).
    
        The `type` attribute contains the tensor's type, which for the case of
        mutable tensors might be more general than just the fixed static shape of
        the `value` attribute. For example, a global tensor might be unranked such
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/plugin/use/PluginDependenciesSpec.java

         * </pre>
         *
         * This is useful to reuse task classes from a plugin or to apply it to some other target than the current script.
         *
         * @param id the id of the plugin to depend on
         * @return a mutable plugin dependency specification that can be used to further refine the dependency
         */
        PluginDependencySpec id(String id);
    
        /**
         * Adds a plugin dependency using a notation coming from a version catalog.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 16 17:46:02 UTC 2022
    - 6.9K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/internal/management/DefaultDependencyResolutionManagement.java

        public void preventFromFurtherMutation() {
            this.mutable = false;
            NamedDomainObjectList<ArtifactRepository> repositoryHandler = getRepositories();
            repositoryHandler.whenObjectAdded(this::mutationDisallowed);
            repositoryHandler.whenObjectRemoved(this::mutationDisallowed);
        }
    
        private void assertMutable() {
            if (!mutable) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 12K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/internal/build/BuildToolingModelController.java

    import org.gradle.tooling.provider.model.internal.ToolingModelScope;
    
    /**
     * Coordinates the building of tooling models.
     */
    public interface BuildToolingModelController {
        /**
         * Returns the mutable model, configuring if necessary.
         */
        GradleInternal getConfiguredModel();
    
        ToolingModelScope locateBuilderForTarget(String modelName, boolean param);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 14 21:39:26 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/Dimensions.java

                        String variantName = StringUtils.uncapitalize(String.join("", variantNameToken));
    
                        AttributeContainer runtimeAttributes = attributesFactory.mutable();
                        runtimeAttributes.attribute(Usage.USAGE_ATTRIBUTE, runtimeUsage);
                        addCommonAttributes(buildType, targetMachine, runtimeAttributes);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top