- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for inlineDeltaOrNull (0.05 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 Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 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()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.3K bytes - Viewed (0)