Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 236 for TLambda (0.13 sec)

  1. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/isolation/IsolatedActionSerializerTest.kt

                loaded.get(),
                equalTo("42")
            )
        }
    
        @Test
        fun `can serialize Java lambda with Property`() {
            assertProviderRoundtrip(
                propertyOf("42"),
                "42"
            )
        }
    
        @Test
        fun `can serialize Java lambda with ListProperty`() {
            assertProviderRoundtrip(
                listPropertyOf(1, 2, 3),
                listOf(1, 2, 3)
            )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/JavaPluginImplementation.groovy

                    public void apply(Project project) {
                        // Inside a lambda body
                        lambda("apply").run();
    
                        project.getTasks().register("thing", t -> {
                            t.doLast(new Action<Task>() {
                                public void execute(Task t) {
                                    lambda("task").run();
                                }
                            });
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/FunctionCallResolver.kt

            }
    
            val lambda = call.args.filterIsInstance<FunctionArgument.Lambda>().singleOrNull()
            val (expectsConfigureLambda, requiresConfigureLambda) = semantics.configureBlockRequirement.run { allows to requires }
            if (expectsConfigureLambda) {
                if (lambda != null) {
                    withScope(AnalysisScope(currentScopes.last(), configureReceiver, lambda)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 14:27:23 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tf_data_fuse_map_and_batch.mlir

      // CHECK: "tf.MapAndBatchDataset"(%[[TSLICE]], %[[BSIZE:.*]], %[[NPC]]
      // CHECK-SAME: f = @"__inference_Dataset_map_<lambda>_80",
      %4 = "tf.MapDataset"(%3) {device = "",
               f = @"__inference_Dataset_map_<lambda>_80",
               output_shapes = [#tf_type.shape<>], output_types = [i32],
               preserve_cardinality = false, sloppy = false,
               use_inter_op_parallelism = true,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/impl/LambdaImplementationSnapshot.java

        public LambdaImplementationSnapshot(HashCode classLoaderHash, SerializedLambda lambda) {
            this(
                lambda.getCapturingClass(),
                classLoaderHash,
                lambda.getFunctionalInterfaceClass(),
                lambda.getImplClass(),
                lambda.getImplMethodName(),
                lambda.getImplMethodSignature(),
                lambda.getImplMethodKind()
            );
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/SerializedLambdaParametersCheckingCodec.kt

    import java.lang.invoke.SerializedLambda
    import kotlin.reflect.KClass
    
    
    /**
     * In encoding a [SerializedLambda], this codec checks if the lambda parameter types are allowed in the configuration cache.
     * If some of them are not, it logs a problem.
     *
     * The lambda is encoded straightforwardly as a bean, and, upon decoding, the bean is expected to be the [SerializedLambda].
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/trailingAnnotatedLambdaAnnotatedExpr.kt

    fun foo(lambda: (String) -> Int): Int = lambda("jello!")
    
    fun test() {
        foo <expr>@Deprecated("") {
            it.length
        }</expr>
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 05 15:06:52 UTC 2022
    - 135 bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/ProjectSchemaLambdaAccessorsIntegrationTest.kt

                public class MyPlugin implements Plugin<Project> {
                    public void apply(Project project) {
                        Function<String, String> lambda = s -> s.toUpperCase();
                        project.getExtensions().add("lambdaExtension", lambda);
                    }
                }
                """
            )
    
            withBuildScript(
                """
                import java.util.function.Function
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Sep 24 17:45:43 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/LambdaInputsIntegrationTest.groovy

        }
    
        def "can change nested property from an Action Java lambda to anonymous inner class and back"() {
            setupTaskClassWithActionProperty()
            def lambdaClassName = "LambdaAction"
            def anonymousClassName = "AnonymousAction"
            file("buildSrc/src/main/java/${lambdaClassName}.java") << javaClass(lambdaClassName, actionLambdaWritingFile("ACTION", "lambda"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 09:08:49 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/tf_data_fuse_pmap_and_batch.mlir

      // CHECK: "tf.MapAndBatchDataset"(%[[TSLICE]],
      // CHECK-SAME: f = @"__inference_Dataset_map_<lambda>_80",
      %5 = "tf.ParallelMapDataset"(%4, %3) {device = "",
               f = @"__inference_Dataset_map_<lambda>_80",
               output_shapes = [#tf_type.shape<>], output_types = [i32],
               preserve_cardinality = false, sloppy = false,
               use_inter_op_parallelism = true,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 05:47:26 UTC 2022
    - 1.9K bytes
    - Viewed (0)
Back to top