Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 179 for Let (0.01 sec)

  1. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt

                        }
                        return null
                    }
                }
            )
    
        fun getSince(member: JApiCompatibility): JavaSourceQuery<SinceTagStatus> =
            member.jApiClass.simpleName.let { declaringClassSimpleName ->
                JavaSourceQuery(
                    SinceTagStatus.Missing,
                    when (member) {
                        is JApiClass -> getSinceJavaClassVisitorFor(declaringClassSimpleName)
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Jun 06 17:52:09 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/SourcesRepository.kt

                .accept(query.visitor, null)
                ?: query.defaultValue
    
    
        fun <T : Any?> executeQuery(apiSourceFile: ApiSourceFile.Kotlin, transform: (KtFile) -> T): T =
            apiSourceFile.normalizedPath.let { sourceNormalizedPath ->
                openKotlinCompilationUnitsByRoot
                    .computeIfAbsent(apiSourceFile.currentSourceRoot) {
                        KotlinSourceParser().parseSourceRoots(
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Apr 28 14:56:52 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/HasKotlinFlagsMetadataQuery.kt

        constructorsSupplier.get().firstOrNull { c -> jvmSignature == c.signature?.toString() }?.let { predicate.match(it) } ?: false
    
    
    private
    fun hasFunctionAttribute(functionsSupplier: Supplier<MutableList<KmFunction>>, jvmSignature: String, predicate: AttributePredicate) =
        functionsSupplier.get().firstOrNull {
            jvmSignature == it.signature?.toString()
        }?.let { predicate.match(it) } ?: false
    
    
    private
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Jul 04 09:21:38 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

            return when {
                sinceTags.isEmpty() -> {
                    fallback?.let { SinceTagStatus.Present(it) } ?: SinceTagStatus.Missing
                }
    
                sinceTags.all { it == sinceTags.first() } -> {
                    (sinceTags.first() ?: fallback)?.let { SinceTagStatus.Present(it) } ?: SinceTagStatus.Missing
                }
    
                else -> {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Jul 08 07:02:19 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/TypeParameter.java

     *       .where(new TypeParameter<T>() {}, elementType);
     * }
     * }
     *
     * @author Ben Yu
     * @since 12.0
     */
    /*
     * A nullable bound would let users create a TypeParameter instance for a parameter with a nullable
     * bound. However, it would also let them create `new TypeParameter<@Nullable T>() {}`, which
     * wouldn't behave as users might expect. Additionally, it's not clear how the TypeToken API could
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/SneakyThrows.java

       * {@code throws} clause: Some such methods can in fact throw a checked exception (e.g., by
       * calling code written in Kotlin).) Typically, we want to let a {@link Throwable} from such a
       * method propagate untouched, just as we'd typically let it do for a non-reflective call.
       * However, we can't usually write {@code throw t;} when {@code t} has a static type of {@link
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Feb 03 21:52:39 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. build-logic/integration-testing/src/main/kotlin/gradlebuild.distribution-testing.gradle.kts

        parameters.gradleVersion = gradleModule.identity.version.map { it.version }
        parameters.homeDir = intTestHomeDir
    }
    
    fun Gradle.rootBuild(): Gradle = parent.let { it?.rootBuild() ?: this }
    
    tasks.withType<DistributionTest>().configureEach {
        shouldRunAfter("test")
    
        setJvmArgsOfTestJvm()
        setSystemPropertiesOfTestJVM("default")
        configureGradleTestEnvironment()
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Aug 18 18:02:41 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  8. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

        private
        var closed = false
    
        fun type(sourceName: String): ApiType? = open {
            apiTypesBySourceName.computeIfAbsent(sourceName) {
                repository.classBytesFor(sourceName)?.let { apiTypeFor(sourceName) { it } }
            }?.invoke()
        }
    
        internal
        fun allTypes(): Sequence<ApiType> = open {
            repository.allClassesBytesBySourceName().map { (sourceName, classBytes) ->
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Mar 12 15:56:18 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  9. tests/test_sub_callbacks.py

                "paths": {
                    "/invoices/": {
                        "post": {
                            "summary": "Create Invoice",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  10. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/tasks/BuildReceipt.kt

                },
                file
            )
        }
    
        private
        fun getBuildTimestampAsString() =
            buildTimestamp.get().let { timestampFormat.format(it) }
    
        private
        fun getBuildTimestampAsIsoString() =
            buildTimestamp.get().let { isoTimestampFormat.format(it) }
    
        private
        fun Logger.logBuildVersion() {
            lifecycle(
                "Version: ${version.get()} " +
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Oct 16 02:21:13 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top