- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 279 for Lambda1 (0.23 sec)
-
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/SnapshotSerializerTest.groovy
write(original) expect: original == written } def "serializes lambda implementation properties"() { def lambda = TestLambdas.createTrackableLambda() def original = ImplementationSnapshot.of(lambda.getClass().name, lambda, TestHashCodes.hashCodeFrom(1234)) write(original) expect: original == written }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 11 20:22:01 UTC 2024 - 8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/LazyLogger.java
* to avoid the extra class for the lambda (and maybe more for memoizingSupplier itself) and the * indirection. * * One thing to *avoid* is a change to make each Logger user use memoizingSupplier directly: * That may introduce an extra class for each lambda (currently a dozen). */ Logger local = logger; if (local != null) { return local;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Dec 13 19:45:20 UTC 2023 - 1.9K bytes - Viewed (0) -
analysis/analysis-api/testData/components/compilerFacility/firPluginPrototypeMultiModule/functionParamInBinaryModule.ir.txt
VALUE_PARAMETER name:bottomBarContent index:1 type:@[MyComposable] kotlin.Function0<kotlin.Unit> EXPRESSION_BODY FUN_EXPR type=kotlin.Function0<kotlin.Unit> origin=LAMBDA FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Unit annotations: MyComposable BLOCK_BODY
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Fri Mar 22 12:26:50 UTC 2024 - 2.2K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/schemaBuidler/TreatInterfaceAsConfigureLambdaTest.kt
f(valueCaptor1.lambda as MyFunctionalInterface<String>) assertEquals("test", valueCaptor1.value) val valueCaptor2 = customConfigureLambdas.produceValueCaptor(typeOf<MyFunctionalInterface<*>>()) f(valueCaptor2.lambda as MyFunctionalInterface<String>) assertEquals("test", valueCaptor2.value)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 10:53:44 UTC 2024 - 2.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeTraverser.java
* * <p>Null nodes are strictly forbidden. * * <p>Because this is an abstract class, not an interface, you can't use a lambda expression to * implement it: * * <pre>{@code * // won't work * TreeTraverser<NodeType> traverser = node -> node.getChildNodes(); * }</pre> * * Instead, you can pass a lambda expression to the {@code using} factory method: * * <pre>{@code
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 8.2K bytes - Viewed (0) -
analysis/analysis-api/testData/components/compilerFacility/firPluginPrototypeMultiModule/functionParamInBinaryModule3.ir.txt
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Fri Mar 22 12:26:50 UTC 2024 - 1.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/LazyLogger.java
* to avoid the extra class for the lambda (and maybe more for memoizingSupplier itself) and the * indirection. * * One thing to *avoid* is a change to make each Logger user use memoizingSupplier directly: * That may introduce an extra class for each lambda (currently a dozen). */ Logger local = logger; if (local != null) { return local;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Dec 13 19:45:20 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/ExtraPropertiesExtensionsTest.kt
verify(extra).set("property", 42) // And to prove the type is inferred correctly use(property) } @Test fun `can initialize extra property using lambda expression`() { val extra = mock<ExtraPropertiesExtension> { on { get("property") } doReturn 42 } val property by extra { 42 } // property is set eagerly
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 2.5K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/internal/lambdas/SerializableLambdas.java
*/ package org.gradle.api.internal.lambdas; import org.gradle.api.Action; import org.gradle.api.Transformer; import org.gradle.api.specs.Spec; import org.gradle.internal.Factory; import java.io.Serializable; import java.util.concurrent.Callable; import java.util.function.BiFunction; import java.util.function.Supplier; /** * Provides a mechanism for creating Java lambdas that can be stored to the configuration cache.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 31 13:52:13 UTC 2024 - 3.1K bytes - Viewed (0) -
analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/inlineFunctionUsage.ir.txt
CONST Int type=kotlin.Int value=4 CONST Int type=kotlin.Int value=5 predicate: FUN_EXPR type=kotlin.Function1<kotlin.Int, kotlin.Boolean> origin=LAMBDA FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (it:kotlin.Int) returnType:kotlin.Boolean VALUE_PARAMETER name:it index:0 type:kotlin.Int
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Apr 30 10:27:47 UTC 2024 - 4.9K bytes - Viewed (0)