Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 279 for Lambda1 (0.16 sec)

  1. 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&lt;CopySpec&gt;)
     *     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)
  2. 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)
  3. ChangeLog.md

    - [`KT-64726`](https://youtrack.jetbrains.com/issue/KT-64726) K1: Cannot stop on closing bracket of crossinline lambda inside of another crossinline lambda
    - [`KT-64725`](https://youtrack.jetbrains.com/issue/KT-64725) K1: Cannot stop on closing bracket of lambda of inline-only function
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 17:14:23 UTC 2024
    - 292.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/signatures/KtFunctionLikeSignature.kt

    import org.jetbrains.kotlin.analysis.api.symbols.KaValueParameterSymbol
    import org.jetbrains.kotlin.analysis.api.types.KaSubstitutor
    
    /**
     * A signature of a function-like symbol. This includes functions, getters, setters, lambdas, etc.
     */
    public abstract class KaFunctionLikeSignature<out S : KaFunctionLikeSymbol> : KaCallableSignature<S>() {
        /**
         * The use-site-substituted value parameters.
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1010 bytes
    - Viewed (0)
  7. 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)
  8. src/html/escape_test.go

    	},
    	// Handle decimal numeric entities.
    	{
    		"decimalEntity",
    		"Delta = &#916; ",
    		"Delta = Δ ",
    	},
    	// Handle hexadecimal numeric entities.
    	{
    		"hexadecimalEntity",
    		"Lambda = &#x3bb; = &#X3Bb ",
    		"Lambda = λ = λ ",
    	},
    	// Handle numeric early termination.
    	{
    		"numericEnds",
    		"&# &#x &#128;43 &copy = &#169f = &#xa9",
    		"&# &#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)
  9. 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)
  10. 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)
Back to top