- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 45 for ByteCount (0.36 sec)
-
src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java
wordCount /= 2; dst[start] = (byte) (wordCount & 0xFF); byteCount = writeBytesWireFormat(dst, dstIndex + 2); dst[dstIndex] = (byte) (byteCount & 0xFF); dstIndex++; dst[dstIndex++] = (byte) (byteCount >> 8 & 0xFF); dstIndex += byteCount; /* Normally, without intervention everything would batch
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 17.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java
this.wordCount /= 2; dst[start] = (byte) (this.wordCount & 0xFF); this.byteCount = writeBytesWireFormat(dst, dstIndex + 2); dst[dstIndex] = (byte) (this.byteCount & 0xFF); dstIndex++; dst[dstIndex++] = (byte) (this.byteCount >> 8 & 0xFF); dstIndex += this.byteCount; /* * Normally, without intervention everything would batch
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java
assertTrue(result.contains("byteCount=8")); assertTrue(result.contains("oemDomainName=TEST_DOMAIN")); } // Helper method to set protected byteCount field using reflection private void setByteCount(SmbComNegotiateResponse response, int byteCount) { try { Field field = response.getClass().getSuperclass().getDeclaredField("byteCount"); field.setAccessible(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java
serverData.encryptionKeyLength = 8; response.byteCount = 15; // 8 bytes key + 6 bytes "DOMAIN" + 1 null terminator // Prepare byte array byte[] encryptionKey = "12345678".getBytes(); byte[] domainNameBytes = "DOMAIN".getBytes(ServerMessageBlock.OEM_ENCODING); ByteBuffer buffer = ByteBuffer.allocate(response.byteCount); buffer.put(encryptionKey); buffer.put(domainNameBytes);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/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
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 22:04:11 UTC 2025 - 9.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
} bufferIndex += wordCount * 2; } byteCount = readInt2(buffer, bufferIndex); bufferIndex += 2; if (byteCount != 0) { int n = readBytesWireFormat(buffer, bufferIndex); if ((n != byteCount) && (LogStream.level >= 5)) { log.println("byteCount=" + byteCount + " but readBytesWireFormat returned " + n); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
} this.byteCount = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; if (this.byteCount != 0) { int n = readBytesWireFormat(buffer, bufferIndex); if ((n != this.byteCount) && log.isTraceEnabled()) { log.trace("byteCount=" + this.byteCount + " but readBytesWireFormat returned " + n); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 38.9K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java
private long totalBytesWritten = 0L; private boolean completed = false; @Override public void write(Buffer source, long byteCount) throws IOException { super.write(source, byteCount); totalBytesWritten += byteCount; progressListener.update(totalBytesWritten, contentLength(), completed); } @Override public void close() throws IOException {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 4.2K bytes - Viewed (1) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 31.8K bytes - Viewed (0)