- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 2,977 for Function1 (0.13 sec)
-
analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/duplicateLibrary.ir.txt
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Aug 30 06:38:44 UTC 2023 - 2.8K bytes - Viewed (0) -
analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/defaultValues/anonymousFunction.txt
KaDataFlowExitPointSnapshot: defaultExpressionInfo = DefaultExpressionInfo: expression = fun(n: Int): Int { return n + 1 } type = kotlin.Function1<kotlin.Int, kotlin.Int> hasEscapingJumps = false hasJumps = false hasMultipleJumpKinds = false hasMultipleJumpTargets = false jumpExpressions = [] returnValueType = null valuedReturnExpressions = []
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 29 17:43:55 UTC 2024 - 418 bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/signatures/KtVariableLikeSignature.kt
* // source code * fun test() { * val action = foo() * action("") // this call * } * ``` * * Unfortunately, [symbol] for the `action("")` call will be pointing to the `Function1<P1, R>.invoke(p1: P1): R`, because we * intentionally unwrap use-site substitution overrides. Because of this, `symbol.name` will yield `"p1"`, and not `"bar"`. *
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 3.8K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/accessors/KotlinTypeStringTest.kt
@Test fun `#kotlinTypeStringFor Kotlin function type`() { assertThat( kotlinTypeStringFor(typeOf<(String) -> String>()), equalTo("kotlin.jvm.functions.Function1<String, String>") ) } @Test fun `#kotlinTypeStringFor Java function type`() { assertThat( kotlinTypeStringFor(typeOf<java.util.function.Function<String, String>>()),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 2K bytes - Viewed (0) -
testing/architecture-test/src/test/java/org/gradle/architecture/test/PublicApiCorrectnessTest.java
import com.tngtech.archunit.core.domain.JavaClass; import com.tngtech.archunit.junit.AnalyzeClasses; import com.tngtech.archunit.junit.ArchTest; import com.tngtech.archunit.lang.ArchRule; import kotlin.Pair; import kotlin.jvm.functions.Function1; import kotlin.reflect.KClass; import kotlin.reflect.KProperty; import org.gradle.api.NamedDomainObjectCollection; import org.gradle.api.Plugin; import org.gradle.api.Task; import org.gradle.api.specs.Spec;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.5K bytes - Viewed (0) -
analysis/analysis-api-standalone/analysis-api-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/declarations/KotlinStandaloneDeclarationIndex.kt
/** * Maps a simple name `N` to type aliases `A` in whose definition `N` occurs as the topmost user type, which is a prerequisite for other * classes inheriting from `N` by referring to `A`. Does not support function types (e.g. `Function1`). * * There is no guarantee that the type alias can be inherited from. For example, if its expanded type is final, the type alias is not
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 04 22:09:27 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/ProjectSchemaLambdaAccessorsIntegrationTest.kt
import org.gradle.api.reflect.*; import java.util.function.Function; public class MyPlugin implements Plugin<Project> { public void apply(Project project) { TypeOf<Function<String, String>> typeToken = new TypeOf<Function<String, String>>() {}; Function<String, String> lambda = s -> s.toUpperCase();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Sep 24 17:45:43 UTC 2023 - 8.4K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/provider/ScriptApiTest.kt
&& api.type.arguments[0].type!!.isTypeArgumentCompatibleWith(type.arguments[0].type!!) private fun KParameter.isSamWithReceiverReturningUnit() = type.jvmErasure == Function1::class && type.arguments[1] == KTypeProjection(KVariance.INVARIANT, Unit::class.createType()) private fun KParameter.isVarargCompatibleWith(api: KParameter) =
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 9K bytes - Viewed (0) -
src/internal/types/testdata/examples/functions.go
// (that would indicate a slice type). Thus, generic functions cannot // have empty type parameter lists, either. This is a syntax error. func h[] /* ERROR "empty type parameter list" */ () {} func _() { h /* ERROR "cannot index" */ [] /* ERROR "operand" */ () } // Generic functions must have a function body.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 30 20:19:38 UTC 2023 - 5.5K bytes - Viewed (0) -
guava/src/com/google/common/base/Function.java
/** * Legacy version of {@link java.util.function.Function java.util.function.Function}. * * <p>The {@link Functions} class provides common functions and related utilities. * * <p>As this interface extends {@code java.util.function.Function}, an instance of this type can be * used as a {@code java.util.function.Function} directly. To use a {@code * java.util.function.Function} in a context where a {@code com.google.common.base.Function} is
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Mar 20 18:30:19 UTC 2022 - 2.7K bytes - Viewed (0)