Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for if (0.19 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/annotations/firAnnotationUtils.kt

            if (arg !is FirQualifiedAccessExpression) return
            val callableSymbol = arg.calleeReference.toResolvedCallableSymbol() ?: return
            if (callableSymbol.containingClassLookupTag()?.classId != expectedEnumClass) return
            val identifier = callableSymbol.callableId.callableName.identifier
            transformer(identifier)?.let(::add)
        }
    
        if (this@findFromRawArguments is FirAnnotationCall) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/signatures/KtFe10VariableLikeSignature.kt

            )
        }
    
        override fun equals(other: Any?): Boolean {
            if (this === other) return true
            if (javaClass != other?.javaClass) return false
    
            other as KtFe10VariableLikeSignature<*>
    
            if (backingSymbol != other.backingSymbol) return false
            if (backingReturnType != other.backingReturnType) return false
            if (backingReceiverType != other.backingReceiverType) return false
    
            return true
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  3. .cm/platform_labels.cm

    # Each automation has an `if` key that defines conditions to run the automation,
    # as well as a `run` key with the actions to do. All the conditions need to be true
    # for the actions to run (there is an implicit AND relation between
    # the conditions on each line).  Each condition is specified as a Jinja expression.  You
    # can also use the constant `true` if you want to always run the actions.
    
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Mon Apr 22 15:32:31 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/configurations/PerformanceTest.kt

            }
            if (testProjects.isNotEmpty()) {
                steps {
                    preBuildSteps()
                    killProcessStep(buildTypeThis, KILL_ALL_GRADLE_PROCESSES, os)
                    substDirOnWindows(os)
    
                    repeat(if (performanceTestBuildSpec.type == PerformanceTestType.flakinessDetection) 2 else 1) { repeatIndex: Int ->
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Apr 24 08:17:56 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  5. doc/next/6-stdlib/2-unique.md

    Any value of comparable type may be canonicalized with the new
    `Make[T]` function, which produces a reference to a canonical copy of
    the value in the form of a `Handle[T]`.
    Two `Handle[T]` are equal if and only if the values used to produce the
    handles are equal, allowing programs to deduplicate values and reduce
    their memory footprint.
    Comparing two `Handle[T]` values is efficient, reducing down to a simple
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Apr 22 18:14:07 GMT 2024
    - 578 bytes
    - Viewed (0)
  6. build-logic-commons/build-platform/build.gradle.kts

    val javaParserVersion = "3.18.0"
    val groovyVersion = GroovySystem.getVersion()
    val isGroovy4 = VersionNumber.parse(groovyVersion).major >= 4
    val codenarcVersion = if (isGroovy4) "3.1.0-groovy-4.0" else "3.1.0"
    val spockVersion = if (isGroovy4) "2.2-groovy-4.0" else "2.2-groovy-3.0"
    val asmVersion = "9.7"
    // To try out better kotlin compilation avoidance and incremental compilation
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Mon Apr 22 05:34:03 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/annotations/KtFirAnnotationListForReceiverParameter.kt

        companion object {
            fun create(firCallableSymbol: FirCallableSymbol<*>, builder: KtSymbolByFirBuilder): KtAnnotationsList {
                val receiverParameter = firCallableSymbol.receiverParameter
                return if (receiverParameter?.annotations?.isEmpty() != false) {
                    KtEmptyAnnotationsList(builder.token)
                } else {
                    KtFirAnnotationListForReceiverParameter(firCallableSymbol, receiverParameter, builder)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  8. docs/en/docs/release-notes.md

    app = FastAPI()
    
    @app.get("/items/invalidnone", response_model=Item)
    def get_invalid_none():
        if flag:
            return {"name": "foo"}
        # if flag is False, at this point the function will implicitly return None
    ```
    
    If you have *path operations* using `response_model` that need to be allowed to return `None`, make it explicit in `response_model` using `Union[Something, None]`:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Apr 28 00:28:00 GMT 2024
    - 385.5K bytes
    - Viewed (1)
  9. .teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt

        REPO=$dir
        if [ -e ${'$'}REPO ] ; then
            tree ${'$'}REPO
            rm -rf ${'$'}REPO
            echo "${'$'}REPO was polluted during the build"
            ${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
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Apr 24 08:17:56 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirAnnotationValueConverter.kt

                qualifierParts += unresolvedName
                if (errorType != null && expression is FirPropertyAccessExpression) {
                    expression.explicitReceiver?.let { process(it) }
                }
            }
    
            process(call.argument)
    
            val fqNameString = qualifierParts.asReversed().filterNotNull().takeIf { it.isNotEmpty() }?.joinToString(".")
            if (fqNameString != null) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 11.7K bytes
    - Viewed (0)
Back to top