Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 147 for TLambda (0.24 sec)

  1. 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)
  2. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/DefaultExecutionStateChangeDetector.java

            // After validation, the current implementations and previous implementations can't be unknown.
            // Moreover, they need to come from an actual Class, not a lambda, since there isn't a way for a unit of work implementation to be a lambda.
            ClassImplementationSnapshot currentImplementation = Cast.uncheckedNonnullCast(thisExecution.getImplementation());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:34 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/invocation/GradleLifecycleIntegrationTest.groovy

            '''
        }
    
        def configuredTaskRunsCorrectly() {
            run 'test'
            outputContains 'The parameter is `42`'
            true
        }
    
        def 'isolated beforeProject action given as Kotlin lambda can capture managed value'() {
            given:
            withSettingsPluginInBuildLogic()
    
            createDir('build-logic') {
                file('settings.gradle.kts') << ''
                file('build.gradle.kts') << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 16:52:09 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionResult.java

            }
    
            return LogContent.of(result).withNormalizedEol();
        }
    
        /**
         * Normalize the non-deterministic part of lambda class name.
         *
         * Lambdas do have some non-deterministic class names, depending on when they are loaded.
         * Since we want to assert the Lambda class name for some deprecation warning tests, we replace the non-deterministic part by {@code <non-deterministic>}.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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