- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 279 for Lambda1 (0.32 sec)
-
android/guava/src/com/google/common/graph/SuccessorsFunction.java
* someGraphAlgorithm(startNode, MyNode::getChildren); * }</pre> * * <p>If you have some other mechanism for returning the successors of a node, or one that doesn't * return an {@code Iterable<? extends N>}, then you can use a lambda to perform a more general * transformation: * * <pre>{@code * someGraphAlgorithm(startNode, node -> ImmutableList.of(node.leftChild(), node.rightChild())); * }</pre> *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 26 17:43:39 UTC 2021 - 4.3K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/AnalysisFilterTest.kt
val schema = schemaFromTypes(TopLevelForAnalysisFilterTest::class, listOf(TopLevelForAnalysisFilterTest::class, NestedForAnalysisFilterTest::class)) @Test fun `filtering a function calls also filters out its lambda`() { val result = schema.resolve( """ n1 { x = 4 } n2 { x = 5 } """.trimIndent(),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 12:25:46 UTC 2024 - 2.2K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/KtSymbol.kt
* For data classes the `copy`, `component{N}`, `toString`, `equals`, `hashCode` functions are generated * For enum classes the `valueOf` & `values` functions are generated * For lambda the `it` implicit parameter is generated */ SOURCE_MEMBER_GENERATED, /** * A Kotlin declaration came from some .class file */ LIBRARY, /**
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 09:36:27 UTC 2024 - 5K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/tests/object_test.cc
EXPECT_EQ(f.Call<Integer>(Integer(3))->get(), 6); } TEST(TypeUneraseCallTest, TestLambda) { // Test a trivial lambda that doubles an integer. Callable c( TFLIB_CALLABLE_ADAPTOR([](Integer a) { return Integer(a.get() * 2); })); EXPECT_EQ(c.Call<Integer>(Integer(3))->get(), 6); // Testa lambda that has captured state (call count). int call_count = 0;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jul 28 21:37:07 UTC 2021 - 5.7K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt
// Property accessors can use their bodies if not blocks. is KtPropertyAccessor -> parent.bodyExpression == child && doesPropertyAccessorUseBody(parent, child) // Lambdas do not use their expression-blocks if they are inferred // to be of unit type is KtFunctionLiteral -> parent.bodyBlockExpression == child && !returnsUnit(parent)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Jun 05 16:16:39 UTC 2024 - 17.6K bytes - Viewed (0) -
maven-model-builder/src/test/resources/dag.txt
quarkus/extensions/jsonb/runtime/pom.xml quarkus/extensions/amazon-lambda-http/deployment/pom.xml quarkus/core/deployment/pom.xml quarkus/extensions/security/deployment/pom.xml quarkus/extensions/vertx-http/deployment/pom.xml quarkus/extensions/amazon-lambda/deployment/pom.xml quarkus/extensions/amazon-lambda-http/runtime/pom.xml quarkus/extensions/amazon-lambda-http/http-event-server/pom.xml
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Jan 15 16:49:26 UTC 2024 - 224K bytes - Viewed (0) -
guava/src/com/google/common/graph/SuccessorsFunction.java
* someGraphAlgorithm(startNode, MyNode::getChildren); * }</pre> * * <p>If you have some other mechanism for returning the successors of a node, or one that doesn't * return an {@code Iterable<? extends N>}, then you can use a lambda to perform a more general * transformation: * * <pre>{@code * someGraphAlgorithm(startNode, node -> ImmutableList.of(node.leftChild(), node.rightChild())); * }</pre> *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 26 17:43:39 UTC 2021 - 4.3K bytes - Viewed (0) -
guava/src/com/google/common/base/Functions.java
} @Override public String toString() { return "Functions.toStringFunction()"; } } /** * Returns the identity function. * * <p><b>Discouraged:</b> Prefer using a lambda like {@code v -> v}, which is shorter and often * more readable. */ // implementation is "fully variant"; E has become a "pass-through" type @SuppressWarnings("unchecked")
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 14.1K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/mappingToJvm/LambdaOverloadResolutionTest.kt
import org.gradle.internal.declarativedsl.schemaBuilder.schemaFromTypes import kotlin.test.Test import kotlin.test.assertEquals object LambdaOverloadResolutionTest { @Test fun `functions with and without lambda get disambiguated at runtime`() { val schema = schemaFromTypes(MyTopLevelReceiver::class, listOf(MyTopLevelReceiver::class, AddedObject::class)) val code = """ addSomething(1) { }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 26 12:27:49 UTC 2024 - 2.2K bytes - Viewed (0) -
platforms/jvm/ear/src/main/java/org/gradle/plugins/ear/Ear.java
import javax.inject.Inject; import java.io.File; import java.io.OutputStreamWriter; import static java.util.Collections.singleton; import static org.gradle.api.internal.lambdas.SerializableLambdas.action; import static org.gradle.api.internal.lambdas.SerializableLambdas.callable; import static org.gradle.plugins.ear.EarPlugin.DEFAULT_LIB_DIR_NAME; /** * Assembles an EAR archive. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 10.8K bytes - Viewed (0)