Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 46 for containers (0.19 sec)

  1. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/kotlindsl/kotlin-dsl-upstream-candidates.kt

    // This file contains members that we should consider to pull upstream
    // and make available to all Kotlin DSL users
    package gradlebuild.basics.kotlindsl
    
    import org.gradle.api.Project
    import java.io.ByteArrayOutputStream
    import java.io.File
    
    
    /**
     * `dir / "sub"` is the same as `dir.resolve("sub")`.
     *
     * @see [File.resolve]
     */
    operator fun File.div(child: String): File =
        resolve(child)
    
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 933 bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

            Matcher matcher = linkPattern.matcher(line);
            while (matcher.find()) {
                MatchResult xrefMatcher = matcher.toMatchResult();
                String link = xrefMatcher.group(1);
                if (link.contains("#")) {
                    Matcher linkMatcher = linkWithHashPattern.matcher(link);
                    if (linkMatcher.matches()) {
                        MatchResult result = linkMatcher.toMatchResult();
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 05 07:57:56 GMT 2023
    - 8.6K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractSuperClassChangesRule.groovy

        protected boolean isInternal(CtClass c) {
            if (c.name.startsWith("java.")) {
                return false
            } else if (c.name.contains('.internal.')) {
                return true
            } else {
                return !publicApiPatterns.any { it.matcher(c.name).find() }
            }
        }
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.2K bytes
    - Viewed (0)
  4. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/ClassGraph.kt

                names.add(internalName)
                prefixes.add("$internalName/")
            }
        }
    
        fun matches(packageName: String): Boolean {
            if (names.contains(packageName)) {
                return true
            }
            for (prefix in prefixes) {
                if (packageName.startsWith(prefix)) {
                    names.add(packageName)
                    return true
                }
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

    
    private
    fun CtClass.isLikelyEquivalentTo(ktTypeReference: KtTypeReference): Boolean {
        val ktTypeAsText = ktTypeReference.text
        if (ktTypeAsText.contains(" -> ")) {
            // This is a function of some sort
            return name.startsWith("kotlin.jvm.functions.Function")
        }
    
        val ktTypeRawName = ktTypeAsText
    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)
  6. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt

        name == candidateName.replace(".*\\$".toRegex(), "") // strip outer class names
    
    
    private
    fun BodyDeclaration<*>.isSince(version: String): Boolean =
        comment?.orElse(null)?.content?.contains("@since $version") == true
    
    
    private
    val FieldDeclaration.fieldName: String
        get() = variables.first().name.asString()
    
    
    private
    fun JApiMethod.isEnumImplicitMethod(): Boolean =
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  7. .teamcity/mvnw.cmd

    echo location of your Java installation. >&2
    echo.
    goto error
    
    @REM ==== END VALIDATION ====
    
    :init
    
    @REM Find the project base dir, i.e. the directory that contains the folder ".mvn".
    @REM Fallback to current working directory if not found.
    
    set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%
    IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir
    
    set EXEC_DIR=%CD%
    set WDIR=%EXEC_DIR%
    Batch File
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 6.5K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

        }
    
        fun BuildResult.assertOutputContains(text: String) =
            assertTrue("Output should contain text:\n'$text',\nbut given text was not matched.\n", output.contains(text))
    
        protected
        fun File.withFile(path: String, text: String = ""): File =
            resolve(path).apply {
                parentFile.mkdirs()
                writeText(text.trimIndent())
            }
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Sep 25 13:49:37 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  9. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

                    assertFalse(functionalTests[0].getGradleParams().contains("-PincludeTestClasses"))
                    assertFalse(functionalTests[0].getGradleParams().contains("-PexcludeTestClasses"))
                } else {
                    functionalTests.forEachIndexed { index, it ->
                        if (index == functionalTests.size - 1) {
                            assertTrue(it.getGradleParams().contains("-PexcludeTestClasses"))
                        } else {
    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)
  10. .teamcity/src/main/kotlin/model/GradleSubprojectProvider.kt

            val path = subproject["path"] as String
            val unitTests = !ignoredSubprojects.contains(name) && subproject["unitTests"] as Boolean
            val functionalTests = !ignoredSubprojects.contains(name) && subproject["functionalTests"] as Boolean
            val crossVersionTests = !ignoredSubprojects.contains(name) && subproject["crossVersionTests"] as Boolean
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Jun 02 14:55:06 GMT 2023
    - 2.2K bytes
    - Viewed (1)
Back to top