Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 236 for TLambda (0.15 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/GrammarToTree.kt

                    LAMBDA_EXPRESSION -> list.add(lambda(tree, it))
                    ERROR_ELEMENT -> list.add(tree.parsingError(node, it, "Unparsable value argument: \"${node.asText}\""))
                    else -> tree.parsingError(it, "Parsing failure, unexpected token type in value arguments: $tokenType")
                }
            }
            return list
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 22:06:18 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/validation/ValidationMessageCheckerTest.groovy

            when:
            render implementationUnknown(true) {
                nestedProperty('action')
                implementedByLambda('LambdaAction')
                includeLink()
            }
    
            then:
            outputEquals """
    Property 'action' was implemented by the Java lambda 'LambdaAction\$\$Lambda\$<non-deterministic>'.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/integTest/groovy/org/gradle/integtests/fixtures/executer/IgnoreKotlinCompilerWarningIntegrationTest.groovy

    \tat org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution.execute(ExecuteActionsTaskExecuter.java:267)
    \tat org.gradle.internal.execution.steps.ExecuteStep.lambda$execute$0(ExecuteStep.java:32)
    \tat java.base/java.util.Optional.map(Optional.java:258)
    \tat org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:32)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. android/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)
Back to top