Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

    import okhttp3.internal.commonHeadersGet
    import okhttp3.internal.commonHeadersOf
    import okhttp3.internal.commonIterator
    import okhttp3.internal.commonName
    import okhttp3.internal.commonNewBuilder
    import okhttp3.internal.commonRemoveAll
    import okhttp3.internal.commonSet
    import okhttp3.internal.commonToHeaders
    import okhttp3.internal.commonToString
    import okhttp3.internal.commonValue
    import okhttp3.internal.commonValues
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-HeadersCommon.kt

      }
    
    internal fun Headers.Builder.commonAddLenient(
      name: String,
      value: String,
    ) = apply {
      namesAndValues.add(name)
      namesAndValues.add(value.trim())
    }
    
    internal fun Headers.Builder.commonRemoveAll(name: String) =
      apply {
        var i = 0
        while (i < namesAndValues.size) {
          if (name.equals(namesAndValues[i], ignoreCase = true)) {
            namesAndValues.removeAt(i) // name
    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