Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for sequence (0.17 sec)

  1. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt

            isKotlinCollection && typeArguments.single().isJavaClass
    
    
    private
    fun candidatesForExtensionFrom(type: ApiType): Sequence<ApiFunction> =
        type.functions.filter(::isCandidateForExtension).asSequence()
    
    
    private
    fun Sequence<ApiFunction>.sortedWithTypeOfTakingFunctionsFirst() =
        sortedBy { f ->
            if (f.parameters.any { it.type.isGradleTypeOf }) 0
            else 1
        }
    
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Wed Dec 20 21:41:53 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  2. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

            apiTypesBySourceName.computeIfAbsent(sourceName) {
                repository.classBytesFor(sourceName)?.let { apiTypeFor(sourceName) { it } }
            }?.invoke()
        }
    
        internal
        fun allTypes(): Sequence<ApiType> = open {
            repository.allClassesBytesBySourceName().map { (sourceName, classBytes) ->
                apiTypesBySourceName.computeIfAbsent(sourceName) {
                    apiTypeFor(sourceName, classBytes)
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Tue Feb 06 19:56:10 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  3. build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/extension/ExternalModulesExtension.kt

        val kotlinVersion = "1.9.23"
    
        fun futureKotlin(module: String) = "org.jetbrains.kotlin:kotlin-$module:$kotlinVersion"
    
        val ansiControlSequenceUtil = "net.rubygrapefruit:ansi-control-sequence-util"
        val ant = "org.apache.ant:ant"
        val antLauncher = "org.apache.ant:ant-launcher"
        val antJunit = "org.apache.ant:ant-junit"
        val asm = "org.ow2.asm:asm"
        val asmAnalysis = "org.ow2.asm:asm-analysis"
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 16 15:50:58 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

                return@collectDescendantsOfType false
            }
    
            // Parameter type check
            method.parameterTypes
                .asSequence()
                // Drop the receiver if present
                .drop(if (extensionCandidate) 1 else 0)
                .withIndex()
                .all<IndexedValue<CtClass>> {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 20 20:38:19 GMT 2023
    - 11.1K bytes
    - Viewed (0)
Back to top