Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for readHexadecimalUnsignedLong (0.3 sec)

  1. okhttp/src/test/java/okhttp3/internal/idn/StringprepReader.kt

      val target = Buffer()
      while (!exhausted()) {
        skipWhitespace()
        val sourceCodePoint = readHexadecimalUnsignedLong().toInt()
        skipWhitespace()
        if (select(optionsSemicolon) != 0) throw IOException("expected ';'")
        skipWhitespace()
        while (select(optionsSemicolon) == -1) {
          val targetCodePoint = readHexadecimalUnsignedLong().toInt()
          target.writeUtf8CodePoint(targetCodePoint)
          skipWhitespace()
        }
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

          }
        }
    
        // "002F" or "0000..002C"
        val sourceCodePoint0 = readHexadecimalUnsignedLong()
        val sourceCodePoint1 =
          when (select(optionsDot)) {
            DELIMITER_DOT -> {
              if (readByte() != '.'.code.toByte()) throw IOException("expected '..'")
              readHexadecimalUnsignedLong()
            }
    
            else -> sourceCodePoint0
          }
    
        skipWhitespace()
    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/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

          // Read the suffix of the previous chunk.
          if (bytesRemainingInChunk != NO_CHUNK_YET) {
            source.readUtf8LineStrict()
          }
          try {
            bytesRemainingInChunk = source.readHexadecimalUnsignedLong()
            val extensions = source.readUtf8LineStrict().trim()
            if (bytesRemainingInChunk < 0L || extensions.isNotEmpty() && !extensions.startsWith(";")) {
              throw ProtocolException(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.2K bytes
    - Viewed (0)
Back to top