Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ExecutionTimeValue (0.72 sec)

  1. 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)
  2. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/FileCollectionCodec.kt

            }
        }
    
        suspend fun WriteContext.encodeContents(value: FileCollectionInternal) {
            val executionTimeValue = value.calculateExecutionTimeValue().getOrNull()
            if (executionTimeValue != null) {
                writeBoolean(true)
                write(executionTimeValue)
            } else {
                writeBoolean(false)
                encodeViaCollectingVisitor(value)
            }
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/services/internal/RegisteredBuildServiceProvider.java

                internalServices,
                ImmutableList.of(),
                serviceType -> false
            );
        }
    
        @Override
        public ExecutionTimeValue<? extends T> calculateExecutionTimeValue() {
            return ExecutionTimeValue.changingValue(this);
        }
    
        private Iterable<Consumer<? super RegisteredBuildServiceProvider<T, P>>> getStopActions() {
            synchronized (instanceLock) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 09:24:00 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top