- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for topping (0.14 sec)
-
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) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackRoundTripTest.kt
import okio.Buffer import org.junit.jupiter.api.Assumptions.assumeFalse import org.junit.jupiter.params.ParameterizedTest import org.junit.jupiter.params.provider.ArgumentsSource /** * Tests for round-tripping headers through hpack. * * TODO: update hpack-test-case with the output of our encoder. * This test will hide complementary bugs in the encoder and decoder, * We should test that the encoder is producing responses that are
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2K bytes - Viewed (0) -
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) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt
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 index++ while (index < mappings.size) {
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) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/GenerateIdnaMappingTableCode.kt
FileSystem.RESOURCES.read(path) { readPlainTextIdnaMappingTable() } 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 = "", * ) * ``` */
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) -
okhttp/src/test/java/okhttp3/internal/idn/StringprepReader.kt
}, ) val randalcatSet = readCodePointSet(base / "rfc3454.D.1.txt") val lcatSet = readCodePointSet(base / "rfc3454.D.2.txt") return Stringprep( unassigned = unassigned, mapping = mapping, prohibitSet = prohibitSet, randalcatSet = randalcatSet, lcatSet = lcatSet, ) } /** * Reads a set of range lines like the following: * * ``` * 0221
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) -
okhttp/src/test/java/okhttp3/internal/idn/StringprepTablesReaderTest.kt
val nameprep = reader.readNameprep("/okhttp3/internal/idn".toPath()) assertThat((nameprep.unassigned as RangeListCodePointSet).ranges).hasSize(396) assertThat((nameprep.mapping as MappingListCodePointMapping).mappings).hasSize(1398) assertThat((nameprep.prohibitSet as RangeListCodePointSet).ranges).hasSize(78) assertThat((nameprep.randalcatSet as RangeListCodePointSet).ranges).hasSize(34)
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) -
settings.gradle.kts
} include(":okcurl") include(":okhttp") include(":okhttp-bom") include(":okhttp-brotli") include(":okhttp-coroutines") include(":okhttp-dnsoverhttps") include(":okhttp-hpacktests") include(":okhttp-idna-mapping-table") include(":okhttp-java-net-cookiejar") include(":okhttp-logging-interceptor") include(":okhttp-sse") include(":okhttp-testing-support") include(":okhttp-tls") include(":okhttp-urlconnection")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Apr 14 14:24:05 GMT 2024 - 2.6K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt
assertThat( mergeAdjacentRanges( listOf( Mapping(0x0232, 0x0232, TYPE_MAPPED, "a".encodeUtf8()), Mapping(0x0233, 0x0233, TYPE_VALID, ByteString.EMPTY), Mapping(0x0234, 0x0236, TYPE_VALID, ByteString.EMPTY), Mapping(0x0237, 0x0239, TYPE_VALID, ByteString.EMPTY), Mapping(0x023a, 0x023a, TYPE_MAPPED, "b".encodeUtf8()), ), ), ).containsExactly(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/idn/IdnaMappingTableTest.kt
/** Confirm we didn't corrupt any data in code generation. */ @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()
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)