Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 41 for ExecutionTimeValue (0.39 sec)

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

            public abstract ExecutionTimeValue<T> withChangingContent();
    
            public abstract ExecutionTimeValue<T> withSideEffect(@Nullable SideEffect<? super T> sideEffect);
    
            public static <T> ExecutionTimeValue<T> missing() {
                return Cast.uncheckedCast(MISSING);
            }
    
            public static <T> ExecutionTimeValue<T> fixedValue(T value) {
                assert value != null;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 20:31:29 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/BuildableBackedProvider.java

                    }
                }
            };
        }
    
        @Override
        public ExecutionTimeValue<? extends T> calculateExecutionTimeValue() {
            if (contentsAreBuiltByTask()) {
                return ExecutionTimeValue.changingValue(this);
            }
            return ExecutionTimeValue.fixedValue(get());
        }
    
        private boolean contentsAreBuiltByTask() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 20:21:30 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/FilteringProvider.java

                return provider.getProducer();
            }
        }
    
        @Override
        public ExecutionTimeValue<? extends T> calculateExecutionTimeValue() {
            try (EvaluationContext.ScopeContext context = openScope()) {
                ExecutionTimeValue<? extends T> value = provider.calculateExecutionTimeValue();
                if (value.isMissing()) {
                    return value;
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:41 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/TransformBackedProvider.java

                return provider.getProducer();
            }
        }
    
        @Override
        public ExecutionTimeValue<? extends OUT> calculateExecutionTimeValue() {
            try (EvaluationContext.ScopeContext context = openScope()) {
                ExecutionTimeValue<? extends IN> value = provider.calculateExecutionTimeValue();
                if (value.hasChangingContent()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:41 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/ProviderTestUtil.java

                } else {
                    return ValueProducer.unknown();
                }
            }
    
            @Override
            public ExecutionTimeValue<? extends T> calculateExecutionTimeValue() {
                ExecutionTimeValue<? extends T> value = super.calculateExecutionTimeValue();
                if (producer != null) {
                    return value.withChangingContent();
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 21 05:02:13 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/Providers.java

            @Override
            public ProviderInternal<T> withFinalValue(ValueConsumer consumer) {
                return this;
            }
    
            @Override
            public ExecutionTimeValue<? extends T> calculateExecutionTimeValue() {
                return ExecutionTimeValue.fixedValue(value);
            }
    
            @Override
            protected String toStringNoReentrance() {
                return String.format("fixed(%s, %s)", getType(), value);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 20:21:32 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/ProviderCodecs.kt

            return decodeValue().toProvider()
        }
    
        suspend fun ReadContext.decodeValue(): ValueSupplier.ExecutionTimeValue<*> =
            when (readByte()) {
                1.toByte() -> ValueSupplier.ExecutionTimeValue.missing<Any>()
                2.toByte() -> ValueSupplier.ExecutionTimeValue.ofNullable(read()) // nullable because serialization may replace value with null, e.g. when using provider of Task
                3.toByte() -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/EmptyFileCollection.java

        public Optional<FileCollectionExecutionTimeValue> calculateExecutionTimeValue() {
            FileCollectionExecutionTimeValue executionTimeValue = displayName.equals(DEFAULT_COLLECTION_DISPLAY_NAME)
                ? EmptyExecutionTimeValue.INSTANCE
                : new EmptyExecutionTimeValue(displayName);
    
            return Optional.of(executionTimeValue);
        }
    
        private static class EmptyExecutionTimeValue implements FileCollectionExecutionTimeValue {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 14:55:28 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/flow-services/src/main/kotlin/org/gradle/internal/flow/services/DefaultFlowProviders.kt

            }
            return ValueSupplier.Value.ofNullable(result)
        }
    
        override fun calculateExecutionTimeValue(): ValueSupplier.ExecutionTimeValue<out BuildWorkResult> =
            ValueSupplier.ExecutionTimeValue.changingValue(this)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:01:34 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ChangingProvider.java

            super(value);
        }
    
        @Override
        protected String toStringNoReentrance() {
            return "changing(?)";
        }
    
        @Override
        public ExecutionTimeValue<? extends T> calculateExecutionTimeValue() {
            return ExecutionTimeValue.changingValue(this);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Feb 04 21:04:56 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top