Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for contentHashCode (0.11 sec)

  1. okhttp/src/main/kotlin/okhttp3/ConnectionSpec.kt

        }
    
        return true
      }
    
      override fun hashCode(): Int {
        var result = 17
        if (isTls) {
          result = 31 * result + (cipherSuitesAsString?.contentHashCode() ?: 0)
          result = 31 * result + (tlsVersionsAsString?.contentHashCode() ?: 0)
          result = 31 * result + if (supportsTlsExtensions) 0 else 1
        }
        return result
      }
    
      override fun toString(): String {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-HeadersCommon.kt

    }
    
    internal fun Headers.commonEquals(other: Any?): Boolean {
      return other is Headers && namesAndValues.contentEquals(other.namesAndValues)
    }
    
    internal fun Headers.commonHashCode(): Int = namesAndValues.contentHashCode()
    
    internal fun Headers.commonToString(): String {
      return buildString {
        for (i in 0 until size) {
          val name = name(i)
          val value = value(i)
          append(name)
          append(": ")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top