- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 232 for mutable_s (0.17 sec)
-
subprojects/core/src/main/java/org/gradle/api/internal/project/ProjectLifecycleController.java
import org.gradle.internal.service.scopes.ServiceRegistryFactory; import org.gradle.internal.service.scopes.ServiceScope; import java.io.Closeable; /** * Controls the lifecycle of the mutable {@link ProjectInternal} instance for a project, plus its services. */ @ServiceScope(Scope.Project.class) public class ProjectLifecycleController implements Closeable { private final ServiceRegistry buildServices;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 4K bytes - Viewed (0) -
platforms/core-configuration/dependency-management-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/dm/AttributeContainerCodecs.kt
} private suspend fun ReadContext.readAttributesUsing( attributesFactory: ImmutableAttributesFactory, managedFactories: ManagedFactoryRegistry ): AttributeContainerInternal = attributesFactory.mutable().apply { readCollection { val attribute = readAttribute() val value = readAttributeValue(managedFactories) attribute(attribute, value) } } private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 18:56:44 UTC 2024 - 4.3K bytes - Viewed (0) -
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) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultVariant.java
TaskDependencyFactory taskDependencyFactory) { this.parentDisplayName = parentDisplayName; this.name = name; this.attributes = new FreezableAttributeContainer(cache.mutable(parentAttributes), parentDisplayName); this.artifactNotationParser = artifactNotationParser;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 11:21:15 UTC 2024 - 4.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadataStore.java
problem .forProperty(propertyName) .id(TextUtil.screamingSnakeToKebabCase(MUTABLE_TYPE_WITH_SETTER), "Mutable type with setter", GradleCoreProblemGroup.validation().property()) .contextualLabel(String.format("of mutable type '%s' is writable", setterType.getName()))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 21:54:36 UTC 2024 - 37.6K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/WorkerThreadRegistry.java
import org.gradle.internal.Factory; import org.gradle.internal.service.scopes.Scope; import org.gradle.internal.service.scopes.ServiceScope; /** * Allows a thread to enlist in resource locking, for example to lock the mutable state of a project. */ @ServiceScope(Scope.BuildSession.class) public interface WorkerThreadRegistry { /** * Runs the given action as a worker. While the action is running, the thread can acquire resource locks.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 3.6K bytes - Viewed (0) -
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) -
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) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dependencies/DefaultDependencyConstraint.java
if (attributesFactory == null) { warnAboutInternalApiUse(); return this; } validateMutation(); if (attributes == null) { attributes = attributesFactory.mutable(); } configureAction.execute(attributes); return this; } private void warnAboutInternalApiUse() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 22 00:10:09 UTC 2024 - 6.4K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/extensions/AbstractMultiTestInterceptor.java
protected final Class<?> target; private final List<Execution> executions = new ArrayList<>(); private final boolean runAllExecutions; private boolean executionsInitialized; // Yay, mutable state for storing the current execution. private Execution currentExecution; protected AbstractMultiTestInterceptor(Class<?> target) { this(target, true); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 6.4K bytes - Viewed (0)