Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 197 for equals (0.33 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

          return !"Connection".equals(fieldName, ignoreCase = true) &&
            !"Keep-Alive".equals(fieldName, ignoreCase = true) &&
            !"Proxy-Authenticate".equals(fieldName, ignoreCase = true) &&
            !"Proxy-Authorization".equals(fieldName, ignoreCase = true) &&
            !"TE".equals(fieldName, ignoreCase = true) &&
            !"Trailers".equals(fieldName, ignoreCase = true) &&
    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)
  2. okhttp/src/main/kotlin/okhttp3/internal/-HeadersCommon.kt

    internal fun Headers.commonValues(name: String): List<String> {
      var result: MutableList<String>? = null
      for (i in 0 until size) {
        if (name.equals(name(i), ignoreCase = true)) {
          if (result == null) result = ArrayList(2)
          result.add(value(i))
        }
      }
      return result?.toList().orEmpty()
    }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

            } else {
              response.newBuilder()
                .body(exchange.openResponseBody(response))
                .build()
            }
          if ("close".equals(response.request.header("Connection"), ignoreCase = true) ||
            "close".equals(response.header("Connection"), ignoreCase = true)
          ) {
            exchange.noNewExchangesOnConnection()
          }
    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)
  4. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

    internal fun isSensitiveHeader(name: String): Boolean {
      return name.equals("Authorization", ignoreCase = true) ||
        name.equals("Cookie", ignoreCase = true) ||
        name.equals("Proxy-Authorization", ignoreCase = true) ||
        name.equals("Set-Cookie", ignoreCase = true)
    }
    
    internal fun Char.parseHexDigit(): Int =
      when (this) {
        in '0'..'9' -> this - '0'
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11K bytes
    - Viewed (0)
  5. okhttp-brotli/src/main/kotlin/okhttp3/brotli/internal/Uncompress.kt

      }
      val body = response.body
      val encoding = response.header("Content-Encoding") ?: return response
    
      val decompressedSource =
        when {
          encoding.equals("br", ignoreCase = true) ->
            BrotliInputStream(body.source().inputStream()).source().buffer()
          encoding.equals("gzip", ignoreCase = true) ->
            GzipSource(body.source()).buffer()
          else -> return response
        }
    
      return response.newBuilder()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 13:19:01 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt

          }
    
          when {
            "no-cache".equals(directive, ignoreCase = true) -> {
              noCache = true
            }
            "no-store".equals(directive, ignoreCase = true) -> {
              noStore = true
            }
            "max-age".equals(directive, ignoreCase = true) -> {
              maxAgeSeconds = parameter.toNonNegativeInt(-1)
            }
            "s-maxage".equals(directive, ignoreCase = true) -> {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiDefaultPropertySetterSymbol.kt

            KtPsiBasedSymbolPointer.createForSymbolFromPsi<KtPropertySymbol>(propertyPsi)?.let(::KtPropertySetterSymbolPointer)
                ?: KtFe10NeverRestoringSymbolPointer()
        }
    
        override fun equals(other: Any?): Boolean = isEqualTo(other)
        override fun hashCode(): Int = calculateHashCode()
    
        class DefaultKtValueParameterSymbol(
            private val propertyPsi: KtProperty,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt

                    val parameterEnd = header.delimiterOffset(';', pos, extensionEnd)
                    val equals = header.delimiterOffset('=', pos, parameterEnd)
                    val name = header.trimSubstring(pos, equals)
                    val value =
                      if (equals < parameterEnd) {
                        header.trimSubstring(equals + 1, parameterEnd).removeSurrounding("\"")
                      } else {
                        null
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Cookie.kt

              }
              attributeName.equals("secure", ignoreCase = true) -> {
                secureOnly = true
              }
              attributeName.equals("httponly", ignoreCase = true) -> {
                httpOnly = true
              }
              attributeName.equals("samesite", ignoreCase = true) -> {
                sameSite = attributeValue
              }
            }
    
            pos = attributePairEnd + 1
          }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:12:05 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  10. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiAnonymousObjectSymbol.kt

            KtPsiBasedSymbolPointer.createForSymbolFromSource<KtAnonymousObjectSymbol>(this) ?: KtFe10NeverRestoringSymbolPointer()
        }
    
        override fun equals(other: Any?): Boolean = isEqualTo(other)
        override fun hashCode(): Int = calculateHashCode()
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 2.4K bytes
    - Viewed (0)
Back to top