- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for commonHashCode (0.22 sec)
-
okhttp/src/main/kotlin/okhttp3/Challenge.kt
import java.util.Collections.singletonMap import java.util.Collections.unmodifiableMap import java.util.Locale.US import kotlin.text.Charsets.ISO_8859_1 import okhttp3.internal.commonEquals import okhttp3.internal.commonHashCode import okhttp3.internal.commonToString /** * An [RFC 7235][rfc_7235] challenge. * * [rfc_7235]: https://tools.ietf.org/html/rfc7235 */ class Challenge(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-ChallengeCommon.kt
import okhttp3.Challenge fun Challenge.commonEquals(other: Any?): Boolean { return other is Challenge && other.scheme == scheme && other.authParams == authParams } fun Challenge.commonHashCode(): Int { var result = 29 result = 31 * result + scheme.hashCode() result = 31 * result + authParams.hashCode() return result }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/MediaType.kt
* limitations under the License. */ package okhttp3 import java.nio.charset.Charset import okhttp3.internal.commonEquals import okhttp3.internal.commonHashCode import okhttp3.internal.commonParameter import okhttp3.internal.commonToMediaType import okhttp3.internal.commonToMediaTypeOrNull import okhttp3.internal.commonToString /**
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-MediaTypeCommon.kt
return null } internal fun MediaType.commonEquals(other: Any?): Boolean = other is MediaType && other.mediaType == mediaType internal fun MediaType.commonToString(): String = mediaType internal fun MediaType.commonHashCode(): Int = mediaType.hashCode() private const val TOKEN = "([a-zA-Z0-9-!#$%&'*+.^_`{|}~]+)" private const val QUOTED = "\"([^\"]*)\"" private val TYPE_SUBTYPE = Regex("$TOKEN/$TOKEN")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-HeadersCommon.kt
return result } 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)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.9K bytes - Viewed (0)