Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for joinToString (0.17 sec)

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

    
    private
    fun ParameterNamesSupplier.parameterNamesFor(typeName: String, functionName: String, parameterTypeNames: List<String>): List<String>? =
        this("$typeName.$functionName(${parameterTypeNames.joinToString(",")})")
    
    
    /**
     * Provides [ApiType] instances by Kotlin source name from a class path.
     *
     * Keeps JAR files open for fast lookup, must be closed.
    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)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

                return
            }
    
            if (tmpTestFiles.isNotEmpty()) {
                val nonEmptyDirs = tmpTestFiles.entries.joinToString("\n") { (dir, relativePaths) ->
                    "${dir.absolutePath}:\n ${relativePaths.joinToString("\n ")}"
                }
                val errorMessage = "Found non-empty test files dir:\n$nonEmptyDirs"
                if (reportOnly.get()) {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Jul 28 16:19:47 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/common/extensions.kt

                "-PtestJavaVendor=$testJvmVendor"
            ) +
                listOf(buildScanTag(buildScanTag)) +
                buildScanValues.map { buildScanCustomValue(it.key, it.value) }
            ).filter { it.isNotBlank() }.joinToString(separator = " ")
    }
    
    fun functionalTestParameters(os: Os): List<String> {
        return listOf(
            "-PteamCityBuildId=%teamcity.build.id%",
            os.javaInstallationLocations(),
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 10:49:15 GMT 2024
    - 13K bytes
    - Viewed (0)
  4. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt

        private
        fun String.appendOrNull(s: String?) =
            if (s == null) null else "$this$s"
    
        private
        fun String.dropBlankLines(): String =
            lineSequence().filter(String::isNotBlank).joinToString("\n")
    
        private
        fun List<MappedApiFunctionParameter>.toDeclarationString(): String =
            takeIf { it.isNotEmpty() }?.let { list ->
                list.mapIndexed { index, p ->
                    when {
    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)
  5. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

    cat > $performanceTestSplitDirectoryName/$action-$fileNamePostfix << EOL
    ${csvLines.joinToString("\n")}
    EOL
    
    echo "Performance tests to be ${action}d in this build"
    cat $performanceTestSplitDirectoryName/$action-$fileNamePostfix
    """
    
        val linesWithEcho = csvLines.joinToString("\n") { """echo $it >> $performanceTestSplitDirectoryName\$action-$fileNamePostfix""" }
    
        val windowsScript = """
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Feb 19 11:22:56 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  6. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

                    val originalText = file.readText()
                    val text = originalText.lineSequence()
                        .filterNot { it.trim().startsWith("//") }
                        .joinToString("\n")
                    if (text.contains(content) && exceptions.all { !text.contains(it) }) {
                        println("Found suspicious test file: $file")
                        return true
                    }
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Jan 02 10:00:06 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

                        package com.example
    
                        import org.gradle.api.Incubating
    
                        ${annotatedKotlinMembers.lineSequence().filter { !it.contains("Incubating") }.joinToString("\n")}
    
                        /** @since 2.0 */
                        const val cathedral = "cathedral"
                        """
                    )
                }
            ) {
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Jul 11 06:57:51 GMT 2023
    - 12.7K bytes
    - Viewed (0)
Back to top