- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 41 for byteCount (0.17 sec)
-
regression-test/README.md
01-01 12:53:32.811 10999 11089 D OkHttp : [49 ms] responseBodyStart 01-01 12:53:32.811 10999 11089 D OkHttp : [49 ms] responseBodyEnd: byteCount=128 01-01 12:53:32.811 10999 11089 D OkHttp : [49 ms] connectionReleased 01-01 12:53:32.811 10999 11089 D OkHttp : [49 ms] callEnd 01-01 12:53:32.816 10999 11090 D OkHttp : [54 ms] responseHeadersStart
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Fri Nov 13 07:09:56 GMT 2020 - 2.5K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt
request: Request, ) = logEvent(RequestHeadersEnd(System.nanoTime(), call, request.headers.byteCount())) override fun requestBodyStart(call: Call) = logEvent(RequestBodyStart(System.nanoTime(), call)) override fun requestBodyEnd( call: Call, byteCount: Long, ) = logEvent(RequestBodyEnd(System.nanoTime(), call, byteCount)) override fun requestFailed( call: Call, ioe: IOException,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/internal/http2/PushObserver.kt
* @param source location of data corresponding with this stream ID. * @param byteCount number of bytes to read or skip from the source. * @param last when true, there are no data frames to follow. */ @Throws(IOException::class) fun onData( streamId: Int, source: BufferedSource, byteCount: Int, last: Boolean, ): Boolean /** Indicates the reason why this stream was canceled. */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/Exchange.kt
override fun write( source: Buffer, byteCount: Long, ) { check(!closed) { "closed" } if (contentLength != -1L && bytesReceived + byteCount > contentLength) { throw ProtocolException( "expected $contentLength bytes but received ${bytesReceived + byteCount}", ) } try { super.write(source, byteCount) this.bytesReceived += byteCount
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/main/kotlin/okhttp3/MultipartReader.kt
} override fun read( sink: Buffer, byteCount: Long, ): Long { require(byteCount >= 0L) { "byteCount < 0: $byteCount" } check(currentPart == this) { "closed" } source.timeout().intersectWith(timeout) { return when (val limit = currentPartBytesRemaining(maxResult = byteCount)) { 0L -> -1L // No more bytes in this part.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 7.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersJvmTest.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.6K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/ThrottledSink.kt
private val bytesPerPeriod: Long, private val periodDelayNanos: Long, ) : Sink by delegate { private var bytesWrittenSinceLastDelay = 0L override fun write( source: Buffer, byteCount: Long, ) { var bytesLeft = byteCount while (bytesLeft > 0) { if (bytesWrittenSinceLastDelay == bytesPerPeriod) { flush() sleepNanos(periodDelayNanos) bytesWrittenSinceLastDelay = 0 }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/RequestBody.kt
imports = ["okhttp3.RequestBody.Companion.toRequestBody"], ), level = DeprecationLevel.WARNING, ) fun create( contentType: MediaType?, content: ByteArray, offset: Int = 0, byteCount: Int = content.size, ): RequestBody = content.toRequestBody(contentType, offset, byteCount) @JvmStatic @Deprecated(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Jan 25 14:41:37 GMT 2024 - 9.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java
",serverTime=" + new Date( server.serverTime ) + ",serverTimeZone=" + server.serverTimeZone + ",encryptionKeyLength=" + server.encryptionKeyLength + ",byteCount=" + byteCount + ",oemDomainName=" + server.oemDomainName + "]" ); }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 6.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/Progress.java
private Source source(Source source) { return new ForwardingSource(source) { long totalBytesRead = 0L; @Override public long read(Buffer sink, long byteCount) throws IOException { long bytesRead = super.read(sink, byteCount); // read() returns the number of bytes read, or -1 if this source is exhausted. totalBytesRead += bytesRead != -1 ? bytesRead : 0;
Java - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 12 03:31:36 GMT 2019 - 3.9K bytes - Viewed (0)