Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for sourceCodePoint1 (0.07 sec)

  1. okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt

              sourceCodePoint0 = 0,
              sourceCodePoint1 = 0,
              mappedToCodePoints = listOf(1 shl 18),
            ),
          ),
        ).isEqualTo(null)
      }
    
      private fun mappingOf(
        sourceCodePoint0: Int,
        sourceCodePoint1: Int,
        mappedToCodePoints: List<Int>,
      ): Mapping =
        Mapping(
          sourceCodePoint0 = sourceCodePoint0,
          sourceCodePoint1 = sourceCodePoint1,
          type = TYPE_MAPPED,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

        result +=
          Mapping(
            sourceCodePoint0.toInt(),
            sourceCodePoint1.toInt(),
            type,
            mappedTo.readByteString(),
          )
      }
    
      return SimpleIdnaMappingTable(result)
    }
    
    internal data class Mapping(
      val sourceCodePoint0: Int,
      val sourceCodePoint1: Int,
      val type: Int,
      val mappedTo: ByteString,
    ) {
      val section: Int
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

          unionWith = next
          index++
        }
    
        result +=
          Mapping(
            sourceCodePoint0 = mapping.sourceCodePoint0,
            sourceCodePoint1 = unionWith.sourceCodePoint1,
            type = type,
            mappedTo = mappedTo,
          )
      }
    
      return result
    }
    
    internal fun canonicalizeType(type: Int): Int {
      return when (type) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top