Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 305 for else (0.15 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-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)
  3. .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)
  4. 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)
  5. 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)
  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. 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)
  8. 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)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10JvmTypeMapperContext.kt

                }
                is ClassDescriptor -> {
                    val parentInternalName = computeClassInternalName(parent)
                    if (parentInternalName != null) "$parentInternalName$$selfName" else null
                }
                else -> selfName.asString()
            }
        }
    
        private fun computeSupertypeInternalName(descriptor: ClassDescriptor): String {
            var interfaceSupertypeInternalName: String? = null
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Mar 10 11:03:45 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/RouteSelector.kt

        if (proxy.type() == Proxy.Type.SOCKS) {
          mutableInetSocketAddresses += InetSocketAddress.createUnresolved(socketHost, socketPort)
        } else {
          val addresses =
            if (socketHost.canParseAsIpAddress()) {
              listOf(InetAddress.getByName(socketHost))
            } else {
              connectionUser.dnsStart(socketHost)
    
              val result = address.dns.lookup(socketHost)
              if (result.isEmpty()) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Mar 06 17:33:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
Back to top