- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 279 for Lambda1 (0.15 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/util/internal/DeferredUtil.java
public class DeferredUtil { /** * Successively unpacks a deferred value until it is resolved to null or something other than Callable (including Groovy Closure) or Kotlin lambda * then unpacks the remaining Provider or Factory. * * Fails when the Provider is not present. */ @Nullable public static Object unpack(@Nullable Object deferred) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 12:20:43 UTC 2024 - 3.4K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/evaluationSchema/CommonSchemaUtils.kt
import org.gradle.internal.declarativedsl.schemaBuilder.plus import org.gradle.internal.declarativedsl.schemaBuilder.treatInterfaceAsConfigureLambda /** * Defines configuring lambdas for schema building purposes as one of: * * Kotlin function types, such as `(Foo) -> Unit` or `Foo.() -> Unit` * * Gradle type `Action<in Foo>` *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 22 08:44:42 UTC 2024 - 1.5K bytes - Viewed (0) -
build-logic/documentation/src/test/resources/org/gradle/test/Java8Interface.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 1.1K bytes - Viewed (0) -
guava/src/com/google/common/graph/PredecessorsFunction.java
* someGraphAlgorithm(startNode, MyNode::getParents); * }</pre> * * <p>If you have some other mechanism for returning the predecessors of a node, or one that doesn't * return a {@code Iterable<? extends N>}, then you can use a lambda to perform a more general * transformation: * * <pre>{@code * someGraphAlgorithm(startNode, node -> ImmutableList.of(node.mother(), node.father())); * }</pre> *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 26 17:43:39 UTC 2021 - 4.1K bytes - Viewed (0) -
tensorflow/compiler/jit/shape_inference_test.cc
TF_EXPECT_OK(ShapeAnnotationsMatch(*graph, shape_info, expected)); } TEST(ShapeInferenceTest, WhileLoop) { // Graph: // x = array_ops.placeholder(dtypes.int32) // y = control_flow_ops.while_loop(lambda i: i < 10, lambda i: i + 1, [x]) Graph graph(OpRegistry::Global()); { Scope scope = Scope::NewRootScope().ExitOnError(); auto dummy = ops::Placeholder(scope.WithOpName("Dummy"), DT_INT32,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 00:41:19 UTC 2024 - 10.3K bytes - Viewed (0) -
analysis/analysis-api/testData/components/compilerFacility/firPluginPrototypeMultiModule/composableInlineFunctionExpressionParameter.ir.txt
a: CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in p2.A' type=p2.A origin=null content: FUN_EXPR type=@[ExtensionFunctionType] kotlin.Function1<p3.RowScope, kotlin.Unit> origin=LAMBDA FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> ($receiver:p3.RowScope) returnType:kotlin.Unit annotations: MyComposable
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Mar 14 20:08:24 UTC 2024 - 1.1K bytes - Viewed (0) -
analysis/analysis-api/testData/components/compilerFacility/firPluginPrototypeMultiModule/composableFunctionMultiModules2.ir.txt
CALL 'public final fun setContent (content: @[MyComposable] kotlin.Function0<kotlin.Unit>): kotlin.Int declared in p3' type=kotlin.Int origin=null content: 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: Mon Feb 26 21:57:23 UTC 2024 - 1.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/TearDownAccepter.java
import com.google.errorprone.annotations.DoNotMock; /** * Any object which can accept registrations of {@link TearDown} instances. * * @author Kevin Bourrillion * @since 10.0 */ @DoNotMock("Implement with a lambda") @GwtCompatible @ElementTypesAreNonnullByDefault public interface TearDownAccepter { /** * Registers a TearDown implementor which will be run after the test proper. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 12 19:22:18 UTC 2023 - 1.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/TearDownAccepter.java
import com.google.errorprone.annotations.DoNotMock; /** * Any object which can accept registrations of {@link TearDown} instances. * * @author Kevin Bourrillion * @since 10.0 */ @DoNotMock("Implement with a lambda") @GwtCompatible @ElementTypesAreNonnullByDefault public interface TearDownAccepter { /** * Registers a TearDown implementor which will be run after the test proper. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 12 19:22:18 UTC 2023 - 1.3K bytes - Viewed (0) -
tensorflow/compiler/aot/tests/make_test_graphs.py
def tfcond(_): p = array_ops.placeholder(dtypes.bool, name='p_hold') x = array_ops.placeholder(dtypes.int32, name='x_hold') y = array_ops.placeholder(dtypes.int32, name='y_hold') z = cond.cond(p, lambda: x, lambda: y) array_ops.identity(z, name='result') def tfgather(_): params = array_ops.placeholder(dtypes.float32, name='params') indices = array_ops.placeholder(dtypes.int32, name='indices')
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 15 15:25:23 UTC 2023 - 7.8K bytes - Viewed (0)