- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 64 for ByteCount (0.16 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 31.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
buf[1] = 0x66; // andxCommand ServerMessageBlock.writeInt2(50, buf, 3); // andxOffset ServerMessageBlock.writeInt2(20, buf, 9); // byteCount for main block // At offset 50, the implementation writes andx.wordCount (0) to buffer // Then reads byteCount at offset 51 ServerMessageBlock.writeInt2(20, buf, 51); int n = block.readAndXWireFormat(buf, 0); assertTrue(n > 0);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jul 07 18:57:05 GMT 2025 - 22.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java
SMBUtil.writeInt2(83, buffer, 36); // andxOffset (33 + 50) SMBUtil.writeInt2(20, buffer, 42); // byteCount // Setup andx command data at offset 83 (absolute position from buffer start) buffer[83] = 2; // andx wordCount SMBUtil.writeInt2(10, buffer, 88); // andx byteCount int length = testBlock.decode(buffer, 0); assertTrue(length > 0);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/FaultHidingSink.kt
) : ForwardingSink(delegate) { private var hasErrors = false override fun write( source: Buffer, byteCount: Long, ) { if (hasErrors) { source.skip(byteCount) return } try { super.write(source, byteCount) } catch (e: IOException) { hasErrors = true onException(e) } } override fun flush() { if (hasErrors) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 1.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java
+ Hexdump.toHexString(server.capabilities, 8) + ",serverTime=" + new Date(server.serverTime) + ",serverTimeZone=" + server.serverTimeZone + ",encryptionKeyLength=" + server.encryptionKeyLength + ",byteCount=" + byteCount + ",oemDomainName=" + server.oemDomainName + "]"); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 6K bytes - Click Count (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;Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Jan 12 03:31:36 GMT 2019 - 3.9K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt
) = onEvent(RequestHeadersEnd(System.nanoTime(), call, request.headers.byteCount())) override fun requestBodyStart(call: Call) = onEvent( RequestBodyStart( System.nanoTime(), call, ), ) override fun requestBodyEnd( call: Call, byteCount: Long, ) = onEvent(RequestBodyEnd(System.nanoTime(), call, byteCount)) override fun requestFailed( call: Call,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 7.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt
contentType: MediaType? = null, offset: Int = 0, byteCount: Int = size, ): RequestBody { checkOffsetAndCount(size.toLong(), offset.toLong(), byteCount.toLong()) return object : RequestBody() { override fun contentType() = contentType override fun contentLength() = byteCount.toLong() override fun writeTo(sink: BufferedSink) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Oct 07 14:16:29 GMT 2025 - 9.3K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Aug 30 17:01:12 GMT 2025 - 3.8K bytes - Click Count (0)