Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 82 of 82 for ProviderInternal (0.14 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/WithSideEffectProviderTest.groovy

            def zipped = leftWithSideEffect.zip(rightWithSideEffect) { a, b ->
                a == Integer.MAX_VALUE ? null : (a + b)
            } as ProviderInternal<Integer>
            def provider = zipped.withSideEffect(zippedSideEffect)
    
            when:
            provider.calculateValue(ValueSupplier.ValueConsumer.IgnoreUnsafeRead)
            provider.calculateExecutionTimeValue()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 06:53:07 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractProperty.java

         * <p>
         * The copy doesn't share the producer of this property, but inherits producers of the current property value.
         *
         * @return the shallow copy of this property
         */
        public ProviderInternal<T> shallowCopy() {
            return new ShallowCopyProvider();
        }
    
        private class ShallowCopyProvider extends AbstractMinimalProvider<T> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:54 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top