Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for substringBefore (0.36 sec)

  1. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/RichReportScrapper.kt

        select("tr.severity-$severity").map { tr ->
            val entry = tr.select("td")[1]
            ReportMessage(
                entry.select("span")
                    .text().substringBefore(" If you did this intentionally"),
                entry.select("ul li")
                    .map { it.text() }
    
            )
        }
    
    
    internal
    data class ReportMessage(
        val message: String,
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

    
    // gh-readonly-queue/master/pr-1234-5678abcdef -> master
    fun toMergeQueueBaseBranch(actualBranch: String): String = when {
        actualBranch.startsWith("gh-readonly-queue/") -> actualBranch.substringAfter("/").substringBefore("/")
        else -> actualBranch
    }
    
    /**
     * The build environment.
     *
     * WARNING: Every val in here must not change for they same daemon. If it does, changes will go undetected,
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Sat Dec 21 08:58:33 UTC 2024
    - 4.7K bytes
    - Viewed (1)
  3. build-logic/cleanup/src/main/kotlin/gradlebuild/testing/services/BuildBucketProvider.kt

        // -PonlyTestGradleVersion=4.0-5.0
        // 4.0 <= gradle < 5.0
        class CrossVersionBucketProvider(onlyTestGradleVersion: String) : BuildBucketProvider {
            val startVersionInclusive = onlyTestGradleVersion.substringBefore("-")
            val endVersionExclusive = onlyTestGradleVersion.substringAfter("-")
    
            override fun configureTest(testTask: Test, sourceSetName: String) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

                        .filter {
                            largeSubProjectRegex.containsMatchIn(
                                it.name,
                            )
                        }.groupBy { it.getSubProjectSplitName().substringBefore('_') }
                functionalTestsWithSplit.forEach {
                    assertAllSplitsArePresent(it.key, it.value)
                    assertCorrectParameters(it.key, it.value)
                }
            }
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Oct 16 01:27:05 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

            return name.startsWith("kotlin.jvm.functions.Function")
        }
    
        val ktTypeRawName = ktTypeAsText
            .trimEnd('?') // nullability is not part of JVM types
            .substringBefore('<') // generics are not part of parameter types in JVM method signatures
    
        val thisTypeAsKt = name.mapJavaTypeToKotlinType()
        return thisTypeAsKt.endsWith(ktTypeRawName)
    }
    
    
    private
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Jul 08 07:02:19 UTC 2025
    - 13.2K bytes
    - Viewed (0)
Back to top