- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for inlineDeltaOrNull (0.1 sec)
-
okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt
) } @Test fun inlineDeltaOrNullValid() { assertThat( inlineDeltaOrNull( mappingOf( sourceCodePoint0 = 1, sourceCodePoint1 = 1, mappedToCodePoints = listOf(2), ), ), ).isEqualTo(InlineDelta(1, 1)) assertThat( inlineDeltaOrNull( mappingOf( sourceCodePoint0 = 2, sourceCodePoint1 = 2,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.3K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt
* An [MappedRange.InlineDelta] must be a mapping from a single code-point to a single code-point with a difference * that can be represented in 2^18-1. */ internal fun inlineDeltaOrNull(mapping: Mapping): MappedRange.InlineDelta? { if (mapping.hasSingleSourceCodePoint) { val sourceCodePoint = mapping.sourceCodePoint0 val mappedCodePoints = mapping.mappedTo.utf8().codePoints().toList()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.2K bytes - Viewed (0)