Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 94 for isObject (1.22 sec)

  1. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/resolver/ConcurrentGroupingQueueTest.kt

            val requestsInGroup2 = (0..1).map { Request(2, it) }
    
            val subject = ConcurrentGroupingQueue<Request> { group == it.group }
            for ((r1, r2) in requestsInGroup1 zip requestsInGroup2) {
                // interleave the requests
                subject.push(r1)
                subject.push(r2)
            }
    
            assertThat(
                subject.nextGroup(),
                equalTo(requestsInGroup2.reversed())
            )
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/provider/PluginRequestsHandlerTest.kt

            val scriptHandler = mock<ScriptHandlerInternal>()
            val targetScope = mock<ClassLoaderScope>()
    
            // when:
            val subject = PluginRequestsHandler(pluginRequestApplicator, autoAppliedPluginHandler)
            subject.handle(initialRequests, scriptHandler, target, targetScope)
    
            // then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 20:19:43 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ProjectionOnlyNodeInitializer.java

        }
    
        @Override
        public Multimap<ModelActionRole, ModelAction> getActions(ModelReference<?> subject, ModelRuleDescriptor descriptor) {
            return ImmutableSetMultimap.<ModelActionRole, ModelAction>builder()
                .put(ModelActionRole.Discover, AddProjectionsAction.of(subject, descriptor, projections))
                .build();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ModelSetNodeInitializerExtractionStrategy.java

            }
    
            @Override
            public Multimap<ModelActionRole, ModelAction> getActions(ModelReference<?> subject, ModelRuleDescriptor descriptor) {
                return ImmutableSetMultimap.<ModelActionRole, ModelAction>builder()
                    .put(ModelActionRole.Discover, AddProjectionsAction.of(subject, descriptor,
                        TypedModelProjection.of(
                            ModelTypes.modelSet(schema.getElementType()),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/UnmanagedModelCreationRuleExtractor.java

            private final ModelReference<?> subject;
            private final ModelType<T> type;
            private final List<ModelReference<?>> inputs;
    
            private UnmanagedElementCreationAction(ModelRuleDescriptor descriptor, ModelReference<?> subject, List<ModelReference<?>> inputs, ModelType<T> type) {
                this.subject = subject;
                this.inputs = inputs;
                this.descriptor = descriptor;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/SpecializedMapNodeInitializer.java

        }
    
        @Override
        public Multimap<ModelActionRole, ModelAction> getActions(ModelReference<?> subject, ModelRuleDescriptor descriptor) {
            return getActions(subject, descriptor, schema);
        }
    
        public static <T, E> Multimap<ModelActionRole, ModelAction> getActions(ModelReference<?> subject, ModelRuleDescriptor descriptor, final SpecializedMapSchema<T, E> schema) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/model/Finalize.java

    import java.lang.annotation.Target;
    
    /**
     * Denotes that the {@link RuleSource} method rule carrying this annotation finalizes the rule subject.
     * <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.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultFileLockManagerAwaitableFileLockReleasedSignalTest.groovy

    package org.gradle.cache.internal
    
    import org.gradle.util.ConcurrentSpecification
    import spock.lang.Subject
    
    import java.util.concurrent.atomic.AtomicInteger
    
    import static org.gradle.test.fixtures.ConcurrentTestUtil.poll
    
    class DefaultFileLockManagerAwaitableFileLockReleasedSignalTest extends ConcurrentSpecification {
    
        @Subject def signal = new DefaultFileLockManager.AwaitableFileLockReleasedSignal()
    
        def "can reuse signal"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/model/ModelViewClosedException.java

    import org.gradle.model.internal.type.ModelType;
    
    /**
     * Thrown when at attempt is made to mutate a subject of a rule after the rule has completed.
     * <p>
     * This can potentially happen when a reference to the subject is retained during a rule and then used afterwards,
     * Such as when an anonymous inner class or closure “closes over” the subject.
     */
    @Incubating
    public class ModelViewClosedException extends ReadOnlyModelViewException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelRegistrations.java

                private final ModelReference<Object> subject;
                private final DescriptorReference descriptorReference;
    
                public AbstractBuilderAction(ModelReference<Object> subject, DescriptorReference descriptorReference) {
                    this.subject = subject;
                    this.descriptorReference = descriptorReference;
                }
    
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.5K bytes
    - Viewed (0)
Back to top