- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for topping (0.17 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/main/kotlin/okhttp3/internal/-HostnamesCommon.kt
* See the License for the specific language governing permissions and * limitations under the License. */ @file:Suppress("ktlint:standard:filename") package okhttp3.internal import okhttp3.internal.idn.IDNA_MAPPING_TABLE import okhttp3.internal.idn.Punycode import okio.Buffer /** * Quick and dirty pattern to differentiate IP addresses from hostnames. This is an approximation * of Android's private InetAddress#isNumeric API.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt
* from this file as necessary. * * This class also keeps a small buffer of bytes recently read from upstream. This is intended to * save a small amount of file I/O and data copying. */ class Relay private constructor( /** * Read/write persistence of the upstream source and its metadata. Its layout is as follows: *
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.8K 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/src/main/kotlin/okhttp3/HttpUrl.kt
* the offending characters. * * ### IDNA Mapping and Punycode encoding * * Hostnames have different requirements and use a different encoding scheme. It consists of IDNA * mapping and Punycode encoding. * * In order to avoid confusion and discourage phishing attacks, [IDNA Mapping][idna] transforms
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 09 12:33:05 GMT 2024 - 63.5K bytes - Viewed (1) -
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)