- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for UNCHECKED_CAST (0.06 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
} } } return false } internal fun Array<String>.indexOf( value: String, comparator: Comparator<String>, ): Int = indexOfFirst { comparator.compare(it, value) == 0 } @Suppress("UNCHECKED_CAST") internal fun Array<String>.concat(value: String): Array<String> { val result = copyOf(size + 1) result[result.lastIndex] = value return result as Array<String> }Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 10.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
@Suppress("NOTHING_TO_INLINE") internal inline fun <K, V> Map<K, V>.unmodifiable(): Map<K, V> = Collections.unmodifiableMap(this) /** Returns an immutable copy of this. */ @Suppress("UNCHECKED_CAST") internal fun <T> List<T>.toImmutableList(): List<T> = when { this.isEmpty() -> emptyList() this.size == 1 -> Collections.singletonList(this[0]) // Collection.toArray returns Object[] (covariant).Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 10.2K bytes - Viewed (1) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt
alreadyEncoded = true, strict = true, unicodeAllowed = true, ) } fun build(): HttpUrl { @Suppress("UNCHECKED_CAST") // percentDecode returns either List<String?> or List<String>. return HttpUrl( scheme = scheme ?: throw IllegalStateException("scheme == null"), username = encodedUsername.percentDecode(),Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 63.5K bytes - Viewed (0)