Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for mappings (0.48 sec)

  1. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

      return result
    }
    
    /** Returns a copy of [mappings] with adjacent ranges merged wherever possible. */
    internal fun mergeAdjacentRanges(mappings: List<Mapping>): List<Mapping> {
      var index = 0
      val result = mutableListOf<Mapping>()
    
      while (index < mappings.size) {
        val mapping = mappings[index]
        val type = canonicalizeType(mapping.type)
        val mappedTo = mapping.mappedTo
    
        var unionWith: Mapping = 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)
  2. okhttp/src/test/java/okhttp3/internal/idn/StringprepTablesReaderTest.kt

          |
          """.trimMargin(),
        )
    
        val mappings = buffer.readCodePointMappings()
        assertEquals(
          mapOf(
            // Map to nothing.
            0x180c to "",
            // Case map.
            'A'.code to "a",
            // Case map.
            'ΐ'.code to "\u03B9\u0308\u0301",
          ),
          mappings.mappings,
        )
      }
    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)
  3. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/GenerateIdnaMappingTableCode.kt

        }
      return buildIdnaMappingTableData(table)
    }
    
    /**
     * Generate a file containing the mapping table's string literals, like this:
     *
     * ```
     * internal val IDNA_MAPPING_TABLE: IdnaMappingTable = IdnaMappingTable(
     *   sections = "...",
     *   ranges = "...",
     *   mappings = "",
     * )
     * ```
     */
    fun generateMappingTableFile(data: IdnaMappingTableData): FileSpec {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/idn/StringprepReader.kt

        val unassigned = readCodePointSet(base / "rfc3454.A.1.txt")
        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 =
    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)
  5. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

     * permissive and permits the `_` character.
     *
     * [mapping table]: https://www.unicode.org/reports/tr46/#IDNA_Mapping_Table
     * [mapping step]: https://www.unicode.org/reports/tr46/#ProcessingStepMap
     */
    class SimpleIdnaMappingTable internal constructor(
      internal val mappings: List<Mapping>,
    ) {
      /**
    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)
  6. dbflute_fess/dfprop/sequenceMap.dfprop

    # /---------------------------------------------------------------------------
    # sequenceMap: (NotRequired - Default map:{})
    # 
    # The relation mappings between sequence and table.
    # If you don't specify the mappings, you cannot insert a record of the table by sequence. 
    # The table names are treated as case insensitive.
    # 
    # Example:
    # map:{
    #     ; PURCHASE     = SEQ_PURCHASE
    #     ; MEMBER       = SEQ_MEMBER
    #     ; MEMBER_LOGIN = SEQ_MEMBER_LOGIN
    Plain Text
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sat Oct 31 23:35:14 GMT 2015
    - 717 bytes
    - Viewed (0)
  7. dbflute_fess/dfprop/databaseInfoMap.dfprop

            #    }
            #}
    
            # o typeMappingMap: (NotRequired - Default map:{NUMERIC=$$AutoMapping$$ ; DECIMAL=$$AutoMapping$$})
            #  If you want to change mappings from default mappings, you can specify your original mappings.
            #  But it is possible that unanticipated problems occurs, so be careful!
            #; typeMappingMap = map:{
    Plain Text
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sat Oct 31 23:35:14 GMT 2015
    - 7.3K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/idn/IdnaMappingTableTest.kt

      @Test fun compareConstructedAndGeneratedCompactTables() {
        assertThat(IDNA_MAPPING_TABLE.sections).isEqualTo(compactTable.sections)
        assertThat(IDNA_MAPPING_TABLE.ranges).isEqualTo(compactTable.ranges)
        assertThat(IDNA_MAPPING_TABLE.mappings).isEqualTo(compactTable.mappings)
      }
    
      private fun String.map(): String {
        val buffer = Buffer()
        for (codePoint in codePoints()) {
    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)
  9. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

     * that of the preceding section.
     *
     * b2b3s2 is the offset into the ranges data. It is shifted by 2 because ranges are 4-byte aligned.
     *
     * Mappings Data (4,719 bytes)
     * ===========================
     *
     * This is UTF-8 character data. It is indexed into by b2b3 in the ranges dataset.
     *
     * Mappings may overlap.
     *
     * ASCII-Only
     * ==========
     *
    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)
  10. okhttp/src/test/java/okhttp3/internal/idn/IdnStringprep.kt

     * [RFC 3491]: https://datatracker.ietf.org/doc/html/rfc3491
     */
    class Stringprep(
      /** Unassigned code points. */
      val unassigned: CodePointSet,
      /** Mappings. Note table B.3 is not used in RFC 3491. */
      val mapping: CodePointMapping,
      /** Prohibited code points. */
      val prohibitSet: CodePointSet,
      /** RandALCat code points; bidi category is "R" or "AL". */
      val randalcatSet: CodePointSet,
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.2K bytes
    - Viewed (0)
Back to top