- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for writable (0.21 sec)
-
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
assertThat(Adapters.IA5_STRING.toDer("hi")).isEqualTo(bytes) } @Test fun `printable string`() { val bytes = "13026869".decodeHex() assertThat(Adapters.PRINTABLE_STRING.fromDer(bytes)).isEqualTo("hi") assertThat(Adapters.PRINTABLE_STRING.toDer("hi")).isEqualTo(bytes) } @Test fun `cannot decode utc time with offset`() { assertFailsWith<ProtocolException> {
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 31.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
} @Test fun parseHostAsciiNonPrintable() { val host = "host\u0001" assertInvalid("http://$host/", "Invalid URL host: \"host\u0001\"") // TODO make exception message escape non-printable characters } @Test fun parseDoesNotTrimOtherWhitespaceCharacters() { // Whitespace characters list from Google's Guava team: http://goo.gl/IcR9RD // line tabulation
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 67.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt
* * @constructor Create a cache which will reside in [directory]. This cache is lazily initialized on * first access and will be created if it does not exist. * @param directory a writable directory. * @param valueCount the number of values per cache entry. Must be positive. * @param maxSize the maximum number of bytes this cache should use to store. */ class DiskLruCache( fileSystem: FileSystem,
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 34.7K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt
329B ; mapped ; 5973 # 1.1 CIRCLED IDEOGRAPH FEMALE 329C ; mapped ; 9069 # 1.1 CIRCLED IDEOGRAPH SUITABLE 329D ; mapped ; 512A # 1.1 CIRCLED IDEOGRAPH EXCELLENT 329E ; mapped ; 5370 # 1.1 CIRCLED IDEOGRAPH PRINT
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Feb 10 11:25:47 GMT 2024 - 854.1K bytes - Viewed (2) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt
/** * Permits alphanumerics, spaces, and these: * * ``` * ' () + , - . / : = ? * ``` * * TODO(jwilson): constrain to printable string characters. */ val PRINTABLE_STRING = BasicDerAdapter( name = "PRINTABLE STRING", tagClass = DerHeader.TAG_CLASS_UNIVERSAL, tag = 19L, codec = object : BasicDerAdapter.Codec<String> {
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 15K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/FormBodyTest.kt
assertThat(formEncode(255)).isEqualTo("%C3%BF") } @Throws(IOException::class) private fun formEncode(codePoint: Int): String { // Wrap the codepoint with regular printable characters to prevent trimming. val body = FormBody.Builder() .add("a", String(intArrayOf('b'.code, codePoint, 'c'.code), 0, 3)) .build() val buffer = Buffer() body.writeTo(buffer)
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 7.8K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt
Adapters.sequence( "AttributeTypeAndValue", Adapters.OBJECT_IDENTIFIER, Adapters.any( String::class to Adapters.UTF8_STRING, Nothing::class to Adapters.PRINTABLE_STRING, AnyValue::class to Adapters.ANY_VALUE, ), decompose = { listOf( it.type, it.value, ) }, construct = {
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 13.6K bytes - Viewed (1) -
docs/changelogs/changelog_3x.md
the API is subject to change. * New: `okhttp-sse` is an early preview of Server-Sent Events (SSE). This feature is incomplete and is only suitable for experimental use. * New: MockWebServer now supports client authentication (mutual TLS). Call `requestClientAuth()` to permit an optional client certificate or `requireClientAuth()` to require one.
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/HttpUrl.kt
* | `http://username:password@host/` | `"password"` | * | `http://a%20b:c%20d@host/` | `"c d"` | */ @get:JvmName("password") val password: String, /** * The host address suitable for use with [InetAddress.getAllByName]. May be: * * * A regular host name, like `android.com`. * * * An IPv4 address, like `127.0.0.1`. *
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Tue Jan 09 12:33:05 GMT 2024 - 63.5K bytes - Viewed (1)