- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 157 for Wong (0.14 sec)
-
okhttp/src/main/kotlin/okhttp3/EventListener.kt
} /** * Invoked immediately after sending a request body. * * This method is always invoked after [requestBodyStart]. */ open fun requestBodyEnd( call: Call, byteCount: Long, ) { } /** * Invoked when a request fails to be written. * * This method is invoked after [requestHeadersStart] or [requestBodyStart]. Note that request
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 15.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/DuplexTest.kt
Request.Builder() .url(server.url("/")) .post(AsyncRequestBody()) .build() val call = client.newCall(request) call.timeout() .timeout(500, TimeUnit.MILLISECONDS) // Long enough for the first TLS handshake. call.execute().use { response -> val requestBody = (call.request().body as AsyncRequestBody?)!!.takeSink() val responseBody = response.body.source()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 23.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2.kt
* window size increment instead of flags. */ fun frameLogWindowUpdate( inbound: Boolean, streamId: Int, length: Int, windowSizeIncrement: Long, ): String { val formattedType = formattedType(TYPE_WINDOW_UPDATE) val direction = if (inbound) "<<" else ">>" return format( "%s 0x%08x %5d %-13s %d", direction, streamId,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheTest.kt
) { this.server = server this.server2 = server2 platform.assumeNotOpenJSSE() server.protocolNegotiationEnabled = false fileSystem.emulateUnix() cache = Cache(fileSystem, "/cache/".toPath(), Long.MAX_VALUE) client = clientTestRule.newClientBuilder() .cache(cache) .cookieJar(JavaNetCookieJar(cookieManager)) .build() } @AfterEach fun tearDown() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 108.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketWriter.kt
import okhttp3.internal.ws.WebSocketProtocol.OPCODE_CONTROL_PING import okhttp3.internal.ws.WebSocketProtocol.OPCODE_CONTROL_PONG import okhttp3.internal.ws.WebSocketProtocol.PAYLOAD_BYTE_MAX import okhttp3.internal.ws.WebSocketProtocol.PAYLOAD_LONG import okhttp3.internal.ws.WebSocketProtocol.PAYLOAD_SHORT import okhttp3.internal.ws.WebSocketProtocol.PAYLOAD_SHORT_MAX
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.9K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt
override val timestampNs: Long, override val call: Call, ) : CallEvent() data class RequestHeadersStart( override val timestampNs: Long, override val call: Call, ) : CallEvent() data class RequestHeadersEnd( override val timestampNs: Long, override val call: Call, val headerLength: Long, ) : CallEvent() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.7K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt
} fun writeBigInteger(value: BigInteger) { sink().write(value.toByteArray()) } fun writeLong(v: Long) { val sink = sink() val lengthBitCount: Int = if (v < 0L) { 65 - java.lang.Long.numberOfLeadingZeros(v xor -1L) } else { 65 - java.lang.Long.numberOfLeadingZeros(v) } val lengthByteCount = (lengthBitCount + 7) / 8
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache2/FileOperator.kt
internal class FileOperator( private val fileChannel: FileChannel, ) { /** Write [byteCount] bytes from [source] to the file at [pos]. */ @Throws(IOException::class) fun write( pos: Long, source: Buffer, byteCount: Long, ) { if (byteCount < 0L || byteCount > source.size) { throw IndexOutOfBoundsException() } var mutablePos = pos var mutableByteCount = byteCount
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/Exchange.kt
private val contentLength: Long, ) : ForwardingSink(delegate) { private var completed = false private var bytesReceived = 0L private var closed = false @Throws(IOException::class) override fun write( source: Buffer, byteCount: Long, ) { check(!closed) { "closed" }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.2K bytes - Viewed (2) -
okhttp/src/test/java/okhttp3/ResponseBodyTest.kt
assertThat(body.bytes()).isEqualTo(text) } } abstract class ForwardingSource( val delegate: Source, ) : Source { override fun read( sink: Buffer, byteCount: Long, ): Long = delegate.read(sink, byteCount) override fun timeout() = delegate.timeout() override fun close() = delegate.close()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4K bytes - Viewed (0)