Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 41 for ExecutionTimeValue (0.41 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/WithSideEffectProvider.java

        }
    
        @Override
        protected Value<? extends T> calculateOwnValue(ValueConsumer consumer) {
            return provider.calculateValue(consumer).withSideEffect(sideEffect);
        }
    
        @Override
        public ExecutionTimeValue<? extends T> calculateExecutionTimeValue() {
            return provider.calculateExecutionTimeValue().withSideEffect(sideEffect);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 20:21:32 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractMinimalProvider.java

        }
    
        @Override
        public ValueProducer getProducer() {
            return ValueProducer.unknown();
        }
    
        @Override
        public ExecutionTimeValue<? extends T> calculateExecutionTimeValue() {
            return ExecutionTimeValue.value(calculateOwnValue(ValueConsumer.IgnoreUnsafeRead));
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:41 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/CollectionSupplier.java

         * same elements as this supplier, plus the elements obtained via the given <code>added</code> collector
         */
        CollectionSupplier<T, C> plus(Collector<T> added);
    
        ExecutionTimeValue<? extends C> calculateExecutionTimeValue();
    
        /**
         * Returns a view of this supplier that will calculate its value as empty if it would be missing.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 21 05:02:13 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/TestNamedProvider.groovy

        }
    
        @Override
        ProviderInternal<T> withFinalValue(ValueConsumer consumer) {
            throw new UnsupportedOperationException()
        }
    
        @Override
        ExecutionTimeValue<? extends T> calculateExecutionTimeValue() {
            throw new UnsupportedOperationException()
        }
    
        @Override
        Provider<T> filter(Spec<? super T> spec) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 08:18:33 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/FlatMapProvider.java

            try (EvaluationContext.ScopeContext context = openScope()) {
                return backingProvider(context, ValueConsumer.IgnoreUnsafeRead).getProducer();
            }
        }
    
        @Override
        public ExecutionTimeValue<? extends S> calculateExecutionTimeValue() {
            try (EvaluationContext.ScopeContext context = openScope()) {
                return backingProvider(context, ValueConsumer.IgnoreUnsafeRead).calculateExecutionTimeValue();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:41 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultProperty.java

            return this;
        }
    
        @Override
        public Property<T> unsetConvention() {
            discardConvention();
            return this;
        }
    
        @Override
        protected ExecutionTimeValue<? extends T> calculateOwnExecutionTimeValue(EvaluationContext.ScopeContext context, ProviderInternal<? extends T> value) {
            // Discard this property from a provider chain, as it does not contribute anything to the calculation.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/CircularEvaluationSpec.groovy

            }
    
            @Override
            protected Value<? extends T> calculateOwnValue(ValueConsumer consumer) {
                return provider.calculateValue(consumer)
            }
    
            @Override
            ExecutionTimeValue<? extends T> calculateExecutionTimeValue() {
                return provider.calculateExecutionTimeValue()
            }
    
            @Nullable
            @Override
            Class<T> getType() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 20:21:32 UTC 2023
    - 8K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ProviderInternal.java

     *     input providers that have a fixed value with that value, as above.
     *     </p>
     *     </li>
     * </ul>
     *
     * <p>See {@link org.gradle.api.internal.provider.ValueSupplier.ExecutionTimeValue}, which represents these states.</p>
     *
     * <p>The value itself might be "missing", which means there is no value available, or "broken", which means the calculation failed with some exception, or some object.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/ProviderSpec.groovy

            when:
            def provider = parent.withSideEffect(sideEffect)
            def value = provider.calculateValue(ValueSupplier.ValueConsumer.IgnoreUnsafeRead)
            def executionTimeValue = provider.calculateExecutionTimeValue()
            then:
            0 * _ // no side effects when values are not unpacked
    
            when:
            def unpackedValue = value.get()
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 06:53:07 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy

            property.add(Providers.of("other value").withSideEffect(sideEffect2))
    
            def value = property.calculateValue(ValueSupplier.ValueConsumer.IgnoreUnsafeRead)
            def executionTimeValue = property.calculateExecutionTimeValue()
            then:
            0 * _ // no side effects until values are unpacked
    
            when:
            def unpackedValue = value.get()
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 49.7K bytes
    - Viewed (0)
Back to top