Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for UNCHECKED_CAST (0.08 sec)

  1. okhttp/src/main/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. okhttp/src/main/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
Back to top