Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 377 for NULL (0.14 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

            if (psiElement !is KtExpression) return null
            if (firElement !is FirResolvedQualifier) return null
    
            val call = psiElement.getPossiblyQualifiedCallExpression() ?: return null
            if (call.typeArgumentList == null || call.valueArgumentList != null) return null
    
            val parentReferenceExpression = psiElement.parent as? KtDoubleColonExpression ?: return null
    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. okhttp/src/test/java/okhttp3/HandshakeTest.kt

          FakeSSLSession(
            "TLSv1.3",
            "SSL_NULL_WITH_NULL_NULL",
            arrayOf(serverCertificate.certificate, serverIntermediate.certificate),
            null,
          )
    
        assertFailsWith<IOException> {
          sslSession.handshake()
        }.also { expected ->
          assertThat(expected).hasMessage("cipherSuite == SSL_NULL_WITH_NULL_NULL")
        }
      }
    
      @Test
      fun tlsWithNullNullNull() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

        try {
          val provider = Proxy.getInvocationHandler(getMethod.invoke(null, sslSocket)) as AlpnProvider
          if (!provider.unsupported && provider.selected == null) {
            log("ALPN callback dropped: HTTP/2 is disabled. " + "Is alpn-boot on the boot class path?")
            return null
          }
          return if (provider.unsupported) null else provider.selected
        } catch (e: InvocationTargetException) {
    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)
  4. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

        if (cacheCandidate != null && cacheResponse == null) {
          // The cache candidate wasn't applicable. Close it.
          cacheCandidate.body.closeQuietly()
        }
    
        // If we're forbidden from using the network and the cache is insufficient, fail.
        if (networkRequest == null && cacheResponse == null) {
          return Response.Builder()
            .request(chain.request())
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Mar 22 07:09:21 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolContainingDeclarationProvider.kt

            if (!hasParentSymbol(symbol)) {
                return null
            }
    
            val firSymbol = symbol.firSymbol
            val symbolFirSession = firSymbol.llFirSession
            val symbolModule = symbolFirSession.ktModule
    
            if (firSymbol is FirErrorPropertySymbol && firSymbol.diagnostic is ConeDestructuringDeclarationsOnTopLevel) {
                return null
            }
    
    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)
  6. okhttp/src/main/kotlin/okhttp3/Request.kt

      override fun toString(): String = commonToString()
    
      open class Builder {
        internal var url: HttpUrl? = null
        internal var method: String
        internal var headers: Headers.Builder
        internal var body: RequestBody? = null
        internal var cacheUrlOverride: HttpUrl? = null
    
        /** A mutable map of tags, or an immutable empty map if we don't have any. */
        internal var tags = mapOf<KClass<*>, Any>()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:17:44 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt

                return null
            }
    
            val defaultConeType = computeOrdinaryDefaultType(defaultStatement, firDefaultStatement)
                ?: computeOperationDefaultType(defaultStatement)
                ?: computeAssignmentTargetDefaultType(defaultStatement, firDefaultStatement)
    
            if (defaultConeType == null || defaultConeType.isNothing) {
                return null
            }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Apr 16 06:40:43 GMT 2024
    - 22.9K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/Handshake.kt

              "TLS_NULL_WITH_NULL_NULL", "SSL_NULL_WITH_NULL_NULL" -> {
                throw IOException("cipherSuite == $cipherSuiteString")
              }
              else -> CipherSuite.forJavaName(cipherSuiteString)
            }
    
          val tlsVersionString = checkNotNull(protocol) { "tlsVersion == null" }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http/RealInterceptorChain.kt

     * interceptors, the OkHttp core, all network interceptors, and finally the network caller.
     *
     * If the chain is for an application interceptor then [exchange] must be null. Otherwise it is for
     * a network interceptor and [exchange] must be non-null.
     */
    class RealInterceptorChain(
      internal val call: RealCall,
      private val interceptors: List<Interceptor>,
      private val index: Int,
      internal val exchange: Exchange?,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

       * | `http://square`               | null                 |
       * | `http://co.uk`                | null                 |
       * | `http://localhost`            | null                 |
       * | `http://127.0.0.1`            | null                 |
       */
      fun topPrivateDomain(): String? {
        return if (host.canParseAsIpAddress()) {
          null
        } else {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
Back to top