Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 118 for else (0.15 sec)

  1. build-logic/build-init-samples/src/main/kotlin/gradlebuild/samples/SamplesGenerator.kt

                    exampleClass = if (descriptor.componentType === ComponentType.LIBRARY) "Hello" else "Greeter"
                    sourceFile = (if (descriptor.componentType === ComponentType.LIBRARY) "hello" else "app") + ".cpp"
                    testSourceFile = (if (descriptor.componentType === ComponentType.LIBRARY) "hello" else "app") + "_test.cpp"
                    sourceFileTree = """        │   │   └── $sourceFile
            │   └── headers
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Feb 06 17:51:21 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

                    } else if (oldNullability && !newNullability) {
                        warnings << "Nullability changed from nullable to non-nullable"
                    }
                } else if (oldNullability != newNullability) {
                    errors << "Nullability breaking change"
                }
    
            } else if (member instanceof JApiConstructor) {
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Apr 13 10:04:28 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt

            ${if (exitOnFailure) "exit 1" else ""}
        else
            echo "${'$'}REPO does not exist"
        fi
    
    """.trimIndent()
    
    fun checkCleanDirWindows(dir: String, exitOnFailure: Boolean = true) = """
        IF exist $dir (
            TREE $dir
            RMDIR /S /Q $dir
            ${if (exitOnFailure) "EXIT 1" else ""}
        )
    
    """.trimIndent()
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 08:17:56 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexer.java

                        break;
                    }
                    if (scanner.lookingAt(HTML_ENCODED_CHAR)) {
                        parseHtmlEncodedChar(text);
                    } else if (scanner.lookingAt(HTML_ENTITY)) {
                        parseHtmlEntity(text);
                    } else {
                        text.append(scanner.getFirst());
                        scanner.next();
                    }
                }
    
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7.1K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexer.java

                    unwindTo(Arrays.asList("ul", "ol"), visitor);
                } else if (name.equals("dt") || name.endsWith("dd")) {
                    unwindTo(Arrays.asList("dl"), visitor);
                } else if (name.equals("tr")) {
                    unwindTo(Arrays.asList("table", "thead", "tbody"), visitor);
                } else if (name.equals("th") || name.endsWith("td")) {
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.8K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/HasKotlinFlagsMetadataQuery.kt

                hasPropertyFlags(kmPackage::properties, jvmSignature, predicate)
            else -> false
        }
    }
    
    
    private
    fun hasTypeFlags(kmClass: KmClass, jvmSignature: String, predicate: FlagsPredicate): Boolean =
        when (jvmSignature) {
            kmClass.name.replace("/", ".") -> predicate(kmClass.flags)
            else -> false
        }
    
    
    private
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Jun 07 08:14:15 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt

                if (declaration.matchesNameAndIsSince(classSimpleName, version)) true
                else super.visit(declaration, arg)
    
            override fun visit(declaration: AnnotationDeclaration, arg: Unit?): Boolean? =
                if (declaration.matchesNameAndIsSince(classSimpleName, version)) true
                else super.visit(declaration, arg)
    
            override fun visit(declaration: EnumDeclaration, arg: Unit?): 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)
  8. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

                else -> when (ctMember) {
                    is CtField -> ktFile.isDocumentedAsSince(version, ctDeclaringClass, ctMember)
                    is CtConstructor -> ktFile.isDocumentedAsSince(version, ctDeclaringClass, ctMember)
                    is CtMethod -> ktFile.isDocumentedAsSince(version, ctDeclaringClass, ctMember)
    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)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/TypeMetaData.java

            if (wildcard) {
                visitor.visitText("?");
            } else if (upperBounds != null) {
                visitor.visitText("? extends ");
                upperBounds.visitSignature(visitor);
            } else if (lowerBounds != null) {
                visitor.visitText("? super ");
                lowerBounds.visitSignature(visitor);
            } else {
                visitor.visitType(name);
                if (typeArgs != null) {
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.1K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt

                MASTER_BRANCH -> 0
                RELEASE_BRANCH -> 1
                else -> {
                    val matchResult = OLD_RELEASE_PATTERN.find(branchName)
                    if (matchResult == null) {
                        null
                    } else {
                        (matchResult.groupValues[1].toInt() - 4).apply {
                            require(this in 2..23)
                        }
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 3.4K bytes
    - Viewed (0)
Back to top