- Sort Score
- Result 10 results
- Languages All
Results 3081 - 3090 of 3,109 for Link (0.05 sec)
-
okhttp/src/test/java/okhttp3/EventListenerTest.kt
} override fun contentLength(): Long { return chunk!!.size * 8L } override fun writeTo(sink: BufferedSink) { try { var i = 0 while (i < contentLength()) { sink.write(chunk!!) sink.flush() Thread.sleep(100) i += chunk.size } } catch (e: IOException) { ioe = e
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 56.9K bytes - Viewed (2) -
mockwebserver/src/main/kotlin/mockwebserver3/MockResponseBody.kt
* called by readers. */ @ExperimentalOkHttpApi interface MockResponseBody { /** The length of this response in bytes, or -1 if unknown. */ val contentLength: Long @Throws(IOException::class) fun writeTo(sink: BufferedSink)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 23 14:31:42 UTC 2024 - 1.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 75.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/TestCharSink.java
import static java.nio.charset.StandardCharsets.UTF_8; import java.io.FilterWriter; import java.io.IOException; import java.io.OutputStreamWriter; import java.io.Writer; /** * A char sink for testing that has configurable behavior. * * @author Colin Decker */ public class TestCharSink extends CharSink implements TestStreamSupplier { private final TestByteSink byteSink;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 2K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt
) = error("unsupported") override fun take() = error("unsupported") override fun remainingCapacity() = error("unsupported") override fun drainTo(sink: MutableCollection<in T>) = error("unsupported") override fun drainTo( sink: MutableCollection<in T>, maxElements: Int, ) = error("unsupported") }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 29 00:33:04 UTC 2024 - 12.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt
synchronized(this) { this.name = name this.streams = streams this.writer = WebSocketWriter( isClient = streams.client, sink = streams.sink, random = random, perMessageDeflate = extensions.perMessageDeflate, noContextTakeover = extensions.noContextTakeover(streams.client), minimumDeflateSize = minimumDeflateSize,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 01 14:21:25 UTC 2024 - 22.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/MultipartReader.kt
private val timeout = Timeout() override fun close() { if (currentPart == this) { currentPart = null } } override fun read( sink: Buffer, byteCount: Long, ): Long { require(byteCount >= 0L) { "byteCount < 0: $byteCount" } check(currentPart == this) { "closed" } source.timeout().intersectWith(timeout) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt
nameValues[i++] = string } return headerEntries(*nameValues) } private fun writeMedium( sink: BufferedSink, i: Int, ) { sink.writeByte(i ushr 16 and 0xff) sink.writeByte(i ushr 8 and 0xff) sink.writeByte(i and 0xff) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 28.1K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.13.md
* An ip address is required for the cache instance to listen for requests on, default is a link local ip address of value 169.254.20.10 * Fix dry-run output in kubectl apply --prune ([#69344](https://github.com/kubernetes/kubernetes/pull/69344), [@zegl](https://github.com/zegl))
Registered: Fri Nov 01 09:05:11 UTC 2024 - Last Modified: Thu May 05 13:44:43 UTC 2022 - 273.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheTest.kt
return client.newCall(request).execute() } private fun writeFile( directory: Path, file: String, content: String, ) { val sink = fileSystem.sink(directory.div(file)).buffer() sink.writeUtf8(content) sink.close() } /** * @param delta the offset from the current date to use. Negative values yield dates in the past; * positive values yield dates in the future.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 108.6K bytes - Viewed (0)