- Sort Score
- Result 10 results
- Languages All
Results 21 - 23 of 23 for ProviderInternal (0.35 sec)
-
platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/ProviderSpec.groovy
: provider."$getter"() } /** * A test provider that always fails. */ ProviderInternal<T> brokenSupplier() { return brokenSupplier(type()) } /** * A test provider that always fails. */ ProviderInternal brokenSupplier(Class type) { return new AbstractMinimalProvider() { @Override Class<T> getType() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 26 06:53:07 UTC 2023 - 19.2K bytes - Viewed (0) -
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) -
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)