Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for RANGE (0.22 sec)

  1. okhttp-urlconnection/build.gradle.kts

    plugins {
      kotlin("jvm")
      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
    }
    
    project.applyOsgi(
      "Fragment-Host: com.squareup.okhttp3; bundle-version=\"\${range;[==,+);\${version_cleanup;${projects.okhttp.version}}}\"",
      "Automatic-Module-Name: okhttp3.urlconnection",
      "Bundle-SymbolicName: com.squareup.okhttp3.urlconnection",
      "-removeheaders: Private-Package"
    )
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Nov 20 16:20:29 GMT 2023
    - 764 bytes
    - Viewed (0)
  2. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

     * All comments are ignored.
     *
     * Regular lines contain fields separated by semicolons.
     *
     * The first element on each line is a single hex code point (like 0041) or a hex code point range
     * (like 0030..0039).
     *
     * The second element on each line is a mapping type, like `valid` or `mapped`.
     *
     * For lines that contain a mapping target, the next thing is a sequence of hex code points (like
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/ws/WebSocketWriterTest.kt

        assertFailsWith<IllegalArgumentException> {
          clientWriter.writeClose(98724976, "Hello".encodeUtf8())
        }.also { expected ->
          assertThat(expected.message).isEqualTo("Code must be in range [1000,5000): 98724976")
        }
      }
    
      @Test fun closeReservedThrows() {
        assertFailsWith<IllegalArgumentException> {
          clientWriter.writeClose(1005, "Hello".encodeUtf8())
        }.also { expected ->
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

          } else {
            break
          }
        }
    
        return result.readUtf8()
      }
    
      /**
       * Converts a single label from Punycode to Unicode.
       *
       * @return true if the range of [string] from [pos] to [limit] was valid and decoded successfully.
       *     Otherwise, the decode failed.
       */
      private fun decodeLabel(
        string: String,
        pos: Int,
        limit: Int,
        result: Buffer,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 03 03:04:50 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  5. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

            }
            is MappedRange.Inline2 -> {
              rangesBuffer.writeByte(range.b1)
              rangesBuffer.writeByte(range.b2)
              rangesBuffer.writeByte(range.b3)
            }
            is MappedRange.InlineDelta -> {
              rangesBuffer.writeByte(range.b1)
              rangesBuffer.writeByte(range.b2)
              rangesBuffer.writeByte(range.b3)
            }
            is MappedRange.External -> {
              // Write the mapping.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt

      /** True if the agreed upon extension parameters includes "client_no_context_takeover". */
      @JvmField val clientNoContextTakeover: Boolean = false,
      /** Should be a value in [8..15]. Any value in that range is acceptable by OkHttp. */
      @JvmField val serverMaxWindowBits: Int? = null,
      /** True if the agreed upon extension parameters includes "server_no_context_takeover". */
      @JvmField val serverNoContextTakeover: Boolean = false,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

     * and the last 7 bits from this byte.
     *
     * The end of the range is not encoded, but can be inferred by looking at the start of the range
     * that follows.
     *
     * b1
     * --
     *
     * This is either a mapping decision or the length of the mapped output, according to this table:
     *
     * ```
     *  0..63 : Length of the UTF-16 sequence that this range maps to. The offset is b2b3.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 11:39:58 GMT 2024
    - 9K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/-MediaTypeCommon.kt

      var s = typeSubtype.range.last + 1
      while (s < length) {
        val parameter = PARAMETER.matchAtPolyfill(this, s)
        require(parameter != null) {
          "Parameter is not formatted correctly: \"${substring(s)}\" for: \"$this\""
        }
    
        val name = parameter.groups[1]?.value
        if (name == null) {
          s = parameter.range.last + 1
          continue
        }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/connection/RouteSelector.kt

          }
          socketHost = proxyAddress.socketHost
          socketPort = proxyAddress.port
        }
    
        if (socketPort !in 1..65535) {
          throw SocketException("No route to $socketHost:$socketPort; port is out of range")
        }
    
        if (proxy.type() == Proxy.Type.SOCKS) {
          mutableInetSocketAddresses += InetSocketAddress.createUnresolved(socketHost, socketPort)
        } else {
          val addresses =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Mar 06 17:33:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/idn/IdnaMappingTableTest.kt

            when {
              r + 1 < rangesOffsets.size -> rangesOffsets[r + 1] * 4
              else -> rangesOffsets.size * 4
            }
    
          // Confirm this range starts with byte 0.
          assertThat(compactTable.ranges[rangePos].code).isEqualTo(0)
    
          // Confirm this range's index byte is increasing.
          val rangeStarts = mutableListOf<Int>()
          for (i in rangePos until rangeLimit step 4) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.9K bytes
    - Viewed (0)
Back to top