- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 471 for butter (0.04 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt
assertThat(stream.readBytes.total).isEqualTo(0L) assertThat(stream.takeHeaders()).isEqualTo(headersOf("a", "android")) val source = stream.source val buffer = Buffer() buffer.writeAll(source) assertThat(source.read(buffer, 1)).isEqualTo(-1) assertThat(buffer.size).isEqualTo(150) val synStream = peer.takeFrame() assertThat(synStream.type).isEqualTo(Http2.TYPE_HEADERS) for (i in 0..2) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 75.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTestData.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.7K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/EventBus.java
* of EventBus may be better written using <a * href="https://kotlinlang.org/docs/coroutines-guide.html">Kotlin coroutines</a>, including <a * href="https://kotlinlang.org/docs/flow.html">Flow</a> and <a * href="https://kotlinlang.org/docs/channels.html">Channels</a>. Yet other usages are better served * by individual libraries that provide specialized support for particular use cases. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 12.7K bytes - Viewed (0) -
okhttp/src/commonTest/kotlin/okhttp3/CompressionInterceptorTest.kt
import okio.Buffer import okio.ByteString.Companion.encodeUtf8 import okio.GzipSink import okio.Source import okio.buffer import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.RegisterExtension class CompressionInterceptorTest { @RegisterExtension val clientTestRule = OkHttpClientTestRule() val source = Buffer().apply { write("Hello World".encodeUtf8())
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 01 06:04:22 UTC 2025 - 3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
mockResponse.headers = headersOf() mockResponse.trailers = headersOf() mockResponse = mockResponse.removeHeader("") var body: Buffer? = mockResponse.getBody() mockResponse = mockResponse.setBody(Buffer()) mockResponse = mockResponse.setChunkedBody(Buffer(), 0) mockResponse = mockResponse.setChunkedBody("", 0) var socketPolicy: SocketPolicy = mockResponse.socketPolicy
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 46.5K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt
* limitations under the License. */ package okhttp3 import assertk.assertThat import assertk.assertions.containsExactly import java.net.InetAddress import java.net.UnknownHostException import okio.Buffer class FakeDns : Dns { private val hostAddresses: MutableMap<String, List<InetAddress>> = mutableMapOf() private val requestedHosts: MutableList<String> = mutableListOf()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.5K bytes - Viewed (0) -
okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt
@Before fun setUp() { beforePublicSuffixTest() } @Test fun allPublicSuffixes() { val buffer = Buffer() FileSystem.SYSTEM.read(pathForTests) { val length = readInt() buffer.write(this, length.toLong()) } while (!buffer.exhausted()) { var publicSuffix = buffer.readUtf8LineStrict() if (publicSuffix.contains("*")) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 22:00:49 UTC 2025 - 8.5K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractByteHasher.java
update(b, 0, b.length); } /** Updates this hasher with {@code len} bytes starting at {@code off} in the given buffer. */ protected void update(byte[] b, int off, int len) { for (int i = off; i < off + len; i++) { update(b[i]); } } /** Updates this hasher with bytes from the given buffer. */ protected void update(ByteBuffer b) { if (b.hasArray()) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 12:40:17 UTC 2025 - 3.9K bytes - Viewed (0) -
docs/security/tls_configuration_history.md
<a name="http2_naughty"></a> #### ² HTTP/2 Cipher Suite Denylist Cipher suites that are [discouraged for use][http2_denylist] with HTTP/2. OkHttp includes them because better suites are not commonly available. For example, none of the better cipher suites listed above shipped with Android 4.4 or Java 7. [OkHttp30]: https://square.github.io/okhttp/changelog_3x/#version-300
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 16:35:36 UTC 2022 - 9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt
} } private fun gzip(data: String): Buffer { val result = Buffer() val sink = GzipSink(result).buffer() sink.writeUtf8(data) sink.close() return result } private fun addInterceptor( network: Boolean, interceptor: Interceptor, ) { val builder = client.newBuilder() if (network) { builder.addNetworkInterceptor(interceptor)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 28.2K bytes - Viewed (0)