Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for readCodePointMapping (0.25 sec)

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

        val mapping =
          MappingListCodePointMapping(
            mutableMapOf<Int, String>()
              .apply {
                putAll(readCodePointMapping(base / "rfc3454.B.1.txt").mappings)
                putAll(readCodePointMapping(base / "rfc3454.B.2.txt").mappings)
              },
          )
        val prohibitSet =
          RangeListCodePointSet(
            ranges =
              mutableListOf<IntRange>()
    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/src/test/java/okhttp3/internal/idn/StringprepTablesReaderTest.kt

            0x0234..0x024f,
            // [CONTROL CHARACTERS].
            0x0000..0x001f,
            // DELETE.
            0x007f..0x007f,
          ),
          rangeList.ranges,
        )
      }
    
      @Test fun readCodePointMapping() {
        val buffer = Buffer()
        buffer.writeUtf8(
          """
          |    180C; ; Map to nothing
          |    0041; 0061; Case map
          |    0390; 03B9 0308 0301; Case map
          |
          """.trimMargin(),
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.4K bytes
    - Viewed (0)
Back to top