Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 360 for else (0.13 sec)

  1. 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)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

                is SamConstructorDescriptor -> KtSymbolKind.SAM_CONSTRUCTOR
                else -> when (containingDeclaration) {
                    is PackageFragmentDescriptor -> KtSymbolKind.TOP_LEVEL
                    is ClassDescriptor -> KtSymbolKind.CLASS_MEMBER
                    else -> KtSymbolKind.LOCAL
                }
            }
        }
    
    internal val CallableMemberDescriptor.isExplicitOverride: Boolean
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 33.2K bytes
    - Viewed (0)
  3. 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)
  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-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolContainingDeclarationProvider.kt

                    return false
                }
    
                is KtScriptSymbol -> {
                    // Scripts are always top-level
                    return false
                }
    
                else -> {}
            }
    
            if (symbol is KtSymbolWithKind && symbol.symbolKind == KtSymbolKind.TOP_LEVEL) {
                val containingFile = (symbol.firSymbol.fir as? FirElementWithResolveState)?.getContainingFile()
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

        }
      }
    
    internal fun HttpUrl.toHostHeader(includeDefaultPort: Boolean = false): String {
      val host =
        if (":" in host) {
          "[$host]"
        } else {
          host
        }
      return if (includeDefaultPort || port != defaultPort(scheme)) {
        "$host:$port"
      } else {
        host
      }
    }
    
    /** Returns a [Locale.US] formatted [String]. */
    internal fun format(
      format: String,
      vararg args: Any,
    ): String {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
Back to top