- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for TYPE_MAPPED (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt
Mapping(0x0233, 0x0239, TYPE_VALID, ByteString.EMPTY), Mapping(0x023a, 0x023a, TYPE_MAPPED, "b".encodeUtf8()), ) } @Test fun simplifyDoesNotCombineWhenMappedTargetsAreDifferent() { assertThat( mergeAdjacentRanges( listOf( Mapping(0x0041, 0x0041, TYPE_MAPPED, "a".encodeUtf8()), Mapping(0x0042, 0x0042, TYPE_MAPPED, "b".encodeUtf8()), ),
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 6.3K bytes - Click Count (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt
require(index in mappings.indices) { "unexpected code point: $codePoint" } val mapping = mappings[index] var result = true when (mapping.type) { TYPE_IGNORED -> Unit TYPE_MAPPED, TYPE_DISALLOWED_STD3_MAPPED -> { sink.write(mapping.mappedTo) } TYPE_DEVIATION, TYPE_DISALLOWED_STD3_VALID, TYPE_VALID -> { sink.writeUtf8CodePoint(codePoint) }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.8K bytes - Click Count (0)