- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for ctags (0.13 sec)
-
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
assertThat(CertificateAdapters.extension.toDer(extension)) .isEqualTo(bytes) assertThat(CertificateAdapters.extension.fromDer(bytes)) .isEqualTo(extension) } /** Tags larger than 30 are a special case. */ @Test fun `large tag`() { val bytes = "df83fb6800".decodeHex() val adapter = Adapters.NULL.withTag(tagClass = DerHeader.TAG_CLASS_PRIVATE, tag = 65_000L)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 31.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-RequestCommon.kt
type: KClass<T>, tag: T?, ) = apply { if (tag == null) { if (tags.isNotEmpty()) { (tags as MutableMap).remove(type) } } else { val mutableTags: MutableMap<KClass<*>, Any> = when { tags.isEmpty() -> mutableMapOf<KClass<*>, Any>().also { tags = it } else -> tags as MutableMap<KClass<*>, Any> } mutableTags[type] = tag } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.1K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt
/** The tag class this adapter expects, or -1 to match any tag class. */ val tagClass: Int, /** The tag this adapter expects, or -1 to match any tag. */ val tag: Long, /** Encode and decode the value once tags are handled. */ private val codec: Codec<T>, /** True if the default value should be used if this value is absent during decoding. */ val isOptional: Boolean = false,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.4K bytes - Viewed (0) -
docs/releasing.md
``` 4. Tag the release and push to GitHub. ``` git commit -am "Prepare for release $RELEASE_VERSION." git tag -a parent-$RELEASE_VERSION -m "Version $RELEASE_VERSION" git push && git push --tags ``` 5. Wait for [GitHub Actions][github_actions] to start the publish job. 6. Prepare for ongoing development and push to GitHub. ``` sed -i "" \
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Dec 26 22:07:16 GMT 2022 - 1.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Request.kt
this.method = request.method this.body = request.body this.tags = when { request.tags.isEmpty() -> mapOf() else -> request.tags.toMutableMap() } this.headers = request.headers.newBuilder() this.cacheUrlOverride = request.cacheUrlOverride } open fun url(url: HttpUrl): Builder = apply { this.url = url }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:17:44 GMT 2024 - 10.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/RequestTest.kt
) assertThat(request.url).isEqualTo(url) assertThat(request.headers).isEqualTo(headers) assertThat(request.method).isEqualTo(method) assertThat(request.body).isEqualTo(body) assertThat(request.tags).isEmpty() } @Test fun constructorNoBodyNoMethod() { val url = "https://example.com/".toHttpUrl() val headers = headersOf("User-Agent", "RequestTest") val request = Request(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 16.4K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
configuring only OkHttp's TLS sockets. * Fix: Prefer TLSv1.2 where it is available. On certain older platforms it is necessary to opt-in to TLSv1.2. * New: `Request.tag()` permits multiple tags. Use a `Class<?>` as a key to identify tags. Note that `tag()` now returns null if the request has no tag. Previously this would return the request itself. * New: `Headers.Builder.addAll(Headers)`.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Viewed (0) -
native-image-tests/src/main/kotlin/okhttp3/GenerateClassList.kt
*/ package okhttp3 import java.io.File import org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor import org.junit.platform.engine.discovery.DiscoverySelectors // TODO move to junit5 tags val avoidedTests = setOf( "okhttp3.BouncyCastleTest", "okhttp3.ConscryptTest", "okhttp3.CorrettoTest", "okhttp3.OpenJSSETest", "okhttp3.internal.platform.Jdk8WithJettyBootPlatformTest",
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.9K bytes - Viewed (0) -
CHANGELOG.md
`Response.networkResponse`, and `Response.priorResponse`. In such cases the body is now non-null, but attempts to read its content will fail. * New: Kotlin-specific APIs for request tags. Kotlin language users can lookup tags with a type parameter only, like `request.tag<MyTagClass>()`. * New: MockWebServer has improved support for HTTP/1xx responses. Once you've migrated to the new
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 18 01:31:39 GMT 2024 - 21.4K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt
if (result.size > 0) { result.writeByte(dot) } result.writeDecimalLong(readVariableLengthLong()) } return result.readUtf8() } /** Used for tags and subidentifiers. */ private fun readVariableLengthLong(): Long { // TODO(jwilson): detect overflow. var result = 0L while (true) { val byteN = source.readByte().toLong() and 0xff
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 10.5K bytes - Viewed (0)