- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 236 for TLambda (0.14 sec)
-
platforms/core-runtime/base-services/src/main/java/org/gradle/api/HasImplicitReceiver.java
import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Marks a SAM interface as a target for lambda expressions / closures * where the single parameter is passed as the implicit receiver of the * invocation ({@code this} in Kotlin, {@code delegate} in Groovy) as if * the lambda expression was an extension method of the parameter type. * * <pre> * // copySpec(Action<CopySpec>) * copySpec {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/mappingToJvm/CustomLambdasTest.kt
class CustomLambdasTest { @Test fun `custom lambda interface with no generic`() { val o = applyToOuter( """ configureInner { x = 2 f() f() } """.trimIndent() ) assertEquals(4, o.inner.x) } @Test fun `custom lambda interface with a generic`() { val o = applyToOuter(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 06 23:16:59 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tasks/configureUsingBlock/kotlin/build.gradle.kts
// tag::declare-task[] tasks.register<Copy>("myCopy") // end::declare-task[] // tag::configure[] // Configure task using Kotlin delegated properties and a lambda val myCopy by tasks.existing(Copy::class) { from("resources") into("target") } myCopy { include("**/*.txt", "**/*.xml", "**/*.properties") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 336 bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/control_flow_duplicate_v1.py
# CHECK: func private @[[then]]( def Test(): zero = tf.constant(0) one = tf.constant(1) x = tf.placeholder(tf.int32, shape=(), name='input') result = tf.cond(x > zero, lambda: tf.square(x), lambda: tf.add(x, one)) tensor_info_result = tf.compat.v1.saved_model.utils.build_tensor_info(result) signature_def = tf.saved_model.signature_def_utils.build_signature_def( inputs=None,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 28 21:37:05 UTC 2021 - 2K bytes - Viewed (0) -
src/html/escape_test.go
}, // Handle decimal numeric entities. { "decimalEntity", "Delta = Δ ", "Delta = Δ ", }, // Handle hexadecimal numeric entities. { "hexadecimalEntity", "Lambda = λ = λ ", "Lambda = λ = λ ", }, // Handle numeric early termination. { "numericEnds", "&# &#x €43 © = ©f = ©", "&# &#x €43 © = ©f = ©", },
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Aug 22 12:45:38 UTC 2015 - 3.3K bytes - Viewed (0) -
analysis/analysis-api/testData/components/compilerFacility/firPluginPrototypeMultiModule/functionParamInBinaryModule2.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.7K bytes - Viewed (0) -
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.8K bytes - Viewed (0) -
analysis/analysis-api/testData/components/compilerFacility/firPluginPrototypeMultiModule/composableFunctionMultiModules.ir.txt
BLOCK_BODY CALL 'public final fun Foo (text: @[MyComposable] kotlin.Function0<kotlin.Unit>): kotlin.Unit declared in p3' type=kotlin.Unit origin=null text: 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 - 886 bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/internal/testdata/gen_saved_models.py
@def_function.function( input_signature=[tensor_spec.TensorSpec((), dtypes.float32)]) def compute(self, value): acc, _ = while_loop.while_loop( cond=lambda acc, i: i > 0, body=lambda acc, i: (acc + i, i - 1), loop_vars=(constant_op.constant(0.0), value)) return acc to_save = Module() saved_model.save(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 06 21:32:57 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/mappingToJvm/FunctionBinding.kt
val newCaptor = configureLambdaHandler.produceValueCaptor(param.type) check(captor == null) { "multiple lambda argument captors are not supported" } captor = newCaptor put(param, newCaptor.lambda) } paramName != null && paramName in namedArguments -> {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 11:58:18 UTC 2024 - 3K bytes - Viewed (0)