Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 100 for mutable_s (0.12 sec)

  1. subprojects/core/src/main/java/org/gradle/internal/model/CalculatedValueContainerFactory.java

            this.projectLeaseRegistry = projectLeaseRegistry;
            this.globalContext = buildScopeServices::get;
        }
    
        /**
         * Create a calculated value that may have dependencies or that may need to access mutable model state.
         */
        public <T, S extends ValueCalculator<? extends T>> CalculatedValueContainer<T, S> create(DisplayName displayName, S supplier) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:21:17 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ComponentResultSerializerTest.groovy

            def extId = DefaultModuleComponentIdentifier.newId(DefaultModuleIdentifier.newId('group', 'external'), '1.0')
            def attributes = AttributeTestUtil.attributesFactory().mutable()
            attributes.attribute(Attribute.of('type', String), 'custom')
            attributes.attribute(Attribute.of('format', String), 'jar')
            def v1Result = Mock(ResolvedVariantResult)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValueState.java

        }
    
        /**
         * Creates a new non-finalized state.
         *
         * @param copier when the value is mutable, a shallow-copying function should be provided to avoid
         * sharing of mutable state between effective values and convention values
         */
        public static <S> ValueState<S> newState(PropertyHost host, Function<S, S> copier) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/api/file/ConfigurableFileCollection.java

    import org.gradle.api.model.ObjectFactory;
    import org.gradle.api.provider.HasConfigurableValue;
    import org.gradle.api.provider.SupportsConvention;
    
    import java.util.Set;
    
    /**
     * <p>A {@code ConfigurableFileCollection} is a mutable {@code FileCollection}.</p>
     *
     * <p>You can obtain an instance of {@code ConfigurableFileCollection} by calling {@link org.gradle.api.Project#files(Object...)} or {@link ObjectFactory#fileCollection()}.</p>
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 16:06:55 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/external/model/AbstractMutableModuleComponentResolveMetadataTest.groovy

            copy.status == "broken"
    
            def immutable2 = copy.asImmutable()
            immutable2.changing
            immutable2.missing
            immutable2.status == "broken"
        }
    
        def "can changes to mutable metadata does not affect copies"() {
    
            def metadata = createMetadata(id)
    
            given:
            metadata.changing = true
            metadata.missing = true
            metadata.status = "broken"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/DefaultTransformInvocationFactory.java

                        cachingDisabledByProperty
                    );
                } else {
                    // Incremental project artifact transforms run in project-bound mutable workspace
                    MutableTransformWorkspaceServices workspaceServices = producerProject.getServices().get(MutableTransformWorkspaceServices.class);
                    identityCache = workspaceServices.getIdentityCache();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 16:14:33 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Sets.java

      public static <E extends Enum<E>> Collector<E, ?, ImmutableSet<E>> toImmutableEnumSet() {
        return CollectCollectors.toImmutableEnumSet();
      }
    
      /**
       * Returns a new, <i>mutable</i> {@code EnumSet} instance containing the given elements in their
       * natural order. This method behaves identically to {@link EnumSet#copyOf(Collection)}, but also
       * accepts non-{@code Collection} iterables and empty iterables.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 77.3K bytes
    - Viewed (0)
  8. src/runtime/symtabinl.go

    //
    // Implementation note: This is used in contexts that disallow write barriers.
    // Hence, the constructor returns this by value and pointer receiver methods
    // must not mutate pointer fields. Also, we keep the mutable state in a separate
    // struct mostly to keep both structs SSA-able, which generates much better
    // code.
    type inlineUnwinder struct {
    	f       funcInfo
    	inlTree *[1 << 20]inlinedCall
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/ResolveConfigurationResolutionBuildOperationResult.java

                }
                return desugared;
            }
    
            @SuppressWarnings("unchecked")
            private void desugarAttributes() {
                AttributeContainerInternal result = attributesFactory.mutable();
                if (source != null) {
                    for (Attribute<?> attribute : source.keySet()) {
                        String name = attribute.getName();
                        Class<?> type = attribute.getType();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:29:40 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIvyPublishIntegrationTest.groovy

                }
    
                allprojects {
                    configurations { implementation }
                }
    
                def testAttributes = project.services.get(ImmutableAttributesFactory)
                     .mutable()
                     .attribute(Attribute.of('foo', String), 'value')
            """
        }
    
        def "can execute generateDescriptorFile"() {
            def configurationCache = newConfigurationCacheFixture()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top