Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for fixedValue (0.1 sec)

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

                return new CollectingSupplier(collector);
            }
    
            @Override
            public ExecutionTimeValue<? extends Map<K, V>> calculateExecutionTimeValue() {
                return ExecutionTimeValue.fixedValue(ImmutableMap.of());
            }
    
            @Override
            public ValueProducer getProducer() {
                return ValueProducer.noProducer();
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy

            property.addAll(["c"])
    
            expect:
            assertHasNoProducer(property)
            def value = property.calculateExecutionTimeValue()
            value.hasFixedValue()
            value.fixedValue == toImmutable(["a", "b", "c"])
        }
    
        def "has no producer and fixed execution time value when element provider added"() {
            given:
            property.add(supplierWithValues("a"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

            def mapped = property.map { someOtherValue() }
    
            expect:
            assertHasNoProducer(mapped)
            def value = mapped.calculateExecutionTimeValue()
            value.hasFixedValue()
            value.fixedValue == someOtherValue()
    
            property.attachProducer(owner(task))
    
            assertHasProducer(mapped, task)
            def value2 = mapped.calculateExecutionTimeValue()
            value2.isChangingValue()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/IncludeDirectivesSerializer.java

                    throw new IllegalArgumentException();
                }
            }
        }
    
        private static class MacroFunctionSerializer implements Serializer<MacroFunction> {
            private static final byte FIXED_VALUE = (byte) 1;
            private static final byte RETURN_PARAM = (byte) 2;
            private static final byte MAPPING = (byte) 3;
            private static final byte UNRESOLVED = (byte) 4;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 17K bytes
    - Viewed (0)
Back to top