Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 512 for else (0.16 sec)

  1. 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)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

                                is FirPropertyAccessExpression -> fir.explicitReceiver?.toKtReceiverValue()
                                else -> null
                            }
                        } else {
                            extensionReceiver?.toKtReceiverValue()
                        }
                    }
    
                    ExplicitReceiverKind.EXTENSION_RECEIVER -> {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 70.8K bytes
    - Viewed (1)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10SymbolProvider.kt

                else -> KtFe10PsiValueParameterSymbol(psi, analysisContext)
            }
        }
    
        override fun getFunctionLikeSymbol(psi: KtNamedFunction): KtFunctionLikeSymbol {
            return if (psi.hasBody() && (psi.funKeyword == null || psi.nameIdentifier == null)) {
                getAnonymousFunctionSymbol(psi)
            } else {
                KtFe10PsiFunctionSymbol(psi, analysisContext)
            }
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Aug 17 13:01:02 GMT 2023
    - 7K bytes
    - Viewed (0)
  4. 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)
  5. .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 01 11:36:15 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/io/FaultyFileSystem.kt

      fun setFaultyWrite(
        file: Path,
        faulty: Boolean,
      ) {
        if (faulty) {
          writeFaults.add(file)
        } else {
          writeFaults.remove(file)
        }
      }
    
      fun setFaultyDelete(
        file: Path,
        faulty: Boolean,
      ) {
        if (faulty) {
          deleteFaults.add(file)
        } else {
          deleteFaults.remove(file)
        }
      }
    
      fun setFaultyRename(
        file: Path,
        faulty: Boolean,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolDeclarationOverridesProvider.kt

            is FirSimpleFunction -> processFunctionsByName(declaration.name) { }
            is FirProperty -> processPropertiesByName(declaration.name) { }
            else -> Unit
        }
    
        private fun FirTypeScope.processAllOverriddenDeclarations(
            declaration: FirDeclaration,
            processor: (FirCallableDeclaration) -> Unit
        ) = when (declaration) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Mar 22 14:22:10 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

            return true // ALPN is supported.
          } else if (methodName == "unsupported" && Void.TYPE == returnType) {
            this.unsupported = true // Peer doesn't support ALPN.
            return null
          } else if (methodName == "protocols" && callArgs.isEmpty()) {
            return protocols // Client advertises these protocols.
          } else if ((methodName == "selectProtocol" || methodName == "select") &&
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/platform/OpenJSSEPlatform.kt

            // Handles both un-configured and none selected.
            null, "" -> null
            else -> protocol
          }
        } else {
          super.getSelectedProtocol(sslSocket)
        }
    
      companion object {
        val isSupported: Boolean =
          try {
            // Trigger an early exception over a fatal error, prefer a RuntimeException over Error.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

                requestBody.writeTo(bufferedRequestBody)
              } else {
                // Write the request body if the "Expect: 100-continue" expectation was met.
                val bufferedRequestBody = exchange.createRequestBody(request, false).buffer()
                requestBody.writeTo(bufferedRequestBody)
                bufferedRequestBody.close()
              }
            } else {
              exchange.noRequestBody()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.3K bytes
    - Viewed (1)
Back to top