- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for Lange (0.18 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt
* and the last 7 bits from this byte. * * The end of the range is not encoded, but can be inferred by looking at the start of the range * that follows. * * b1 * -- * * This is either a mapping decision or the length of the mapped output, according to this table: * * ``` * 0..63 : Length of the UTF-16 sequence that this range maps to. The offset is b2b3.
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Tue Apr 02 11:39:58 GMT 2024 - 9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-MediaTypeCommon.kt
var s = typeSubtype.range.last + 1 while (s < length) { val parameter = PARAMETER.matchAtPolyfill(this, s) require(parameter != null) { "Parameter is not formatted correctly: \"${substring(s)}\" for: \"$this\"" } val name = parameter.groups[1]?.value if (name == null) { s = parameter.range.last + 1 continue }
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/idn/IdnaMappingTableTest.kt
when { r + 1 < rangesOffsets.size -> rangesOffsets[r + 1] * 4 else -> rangesOffsets.size * 4 } // Confirm this range starts with byte 0. assertThat(compactTable.ranges[rangePos].code).isEqualTo(0) // Confirm this range's index byte is increasing. val rangeStarts = mutableListOf<Int>() for (i in rangePos until rangeLimit step 4) {
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/url/-Url.kt
// This character doesn't need encoding. Just copy it over. writeUtf8CodePoint(codePoint) } i += Character.charCount(codePoint) } } /** * Returns a substring of `input` on the range `[pos..limit)` with the following * transformations: * * * Tabs, newlines, form feeds and carriage returns are skipped. * * * In queries, ' ' is encoded to '+' and '+' is encoded to "%2B". *
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Tue Jan 09 12:33:05 GMT 2024 - 7.3K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt
} limit = newLimit constructed = header.constructed if (name != null) path += name try { val result = block(header) // The object processed bytes beyond its range. if (newLimit != -1L && byteCount > newLimit) { throw ProtocolException("unexpected byte count at $this") } return result } finally { peekedHeader = null
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 10.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheTest.kt
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 108.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt
/** Arbitrary code point that's 4 bytes in UTF-8 and valid in IdnaMappingTable.txt. */ private const val UNICODE_4 = 0x1d11e /** * Returns a new instance configured with a default encode set for the ASCII range. The specific * rules vary per-component: for example, '?' may be identity-encoded in a fragment, but must be * percent-encoded in a path. * * See https://url.spec.whatwg.org/#percent-encoded-bytes
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 12.3K bytes - Viewed (0) -
okhttp-urlconnection/build.gradle.kts
plugins { kotlin("jvm") id("org.jetbrains.dokka") id("com.vanniktech.maven.publish.base") id("binary-compatibility-validator") } project.applyOsgi( "Fragment-Host: com.squareup.okhttp3; bundle-version=\"\${range;[==,+);\${version_cleanup;${projects.okhttp.version}}}\"", "Automatic-Module-Name: okhttp3.urlconnection", "Bundle-SymbolicName: com.squareup.okhttp3.urlconnection", "-removeheaders: Private-Package" )
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Nov 20 16:20:29 GMT 2023 - 764 bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketWriterTest.kt
assertFailsWith<IllegalArgumentException> { clientWriter.writeClose(98724976, "Hello".encodeUtf8()) }.also { expected -> assertThat(expected.message).isEqualTo("Code must be in range [1000,5000): 98724976") } } @Test fun closeReservedThrows() { assertFailsWith<IllegalArgumentException> { clientWriter.writeClose(1005, "Hello".encodeUtf8()) }.also { expected ->
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.3K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt
* All comments are ignored. * * Regular lines contain fields separated by semicolons. * * The first element on each line is a single hex code point (like 0041) or a hex code point range * (like 0030..0039). * * The second element on each line is a mapping type, like `valid` or `mapped`. * * For lines that contain a mapping target, the next thing is a sequence of hex code points (like
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.8K bytes - Viewed (0)