- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 228 for SMBUtil (0.04 sec)
-
src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
void testDecodeNegativeValuesAsUnsigned() throws SMBProtocolDecodingException { byte[] buffer = new byte[12]; SMBUtil.writeInt4(-1, buffer, 0); // chunksWritten SMBUtil.writeInt4(-2, buffer, 4); // chunkBytesWritten SMBUtil.writeInt4(-3, buffer, 8); // totalBytesWritten int bytesDecoded = response.decode(buffer, 0, buffer.length);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralResponseBuffer.java
final int start = bufferIndex; this.pathConsumed = SMBUtil.readInt2(buffer, bufferIndex) / 2; bufferIndex += 2; this.numReferrals = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; this.tflags = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 4; this.referrals = new Referral[this.numReferrals];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
byte[] buffer = new byte[60]; SMBUtil.writeInt2(60, buffer, 0); SMBUtil.writeInt2(0xFFFF, buffer, 2); // Max flags SMBUtil.writeInt4(0xFFFFFFFF, buffer, 4); // Max reserved (ignored) SMBUtil.writeInt8(Long.MAX_VALUE, buffer, 8); // Max times SMBUtil.writeInt8(Long.MAX_VALUE, buffer, 16); SMBUtil.writeInt8(Long.MAX_VALUE, buffer, 24);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java
SMBUtil.writeInt2(23, buffer, offset); // sa_family: AF_INET6 SMBUtil.writeInt2(445, buffer, offset + 2); // sin6_port SMBUtil.writeInt4(0, buffer, offset + 4); // sin6_flowinfo System.arraycopy(address.getAddress(), 0, buffer, offset + 8, 16); // sin6_addr SMBUtil.writeInt4(0, buffer, offset + 24); // sin6_scope_id } else {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 9.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComOpenAndXResponse.java
bufferIndex += 2; this.fileType = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; this.deviceState = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; this.action = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; this.serverFid = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 6;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java
// Write context header SMBUtil.writeInt4(0, buffer, offset); // Next (offset to next context, 0 for last) offset += 4; SMBUtil.writeInt2(16, buffer, offset); // NameOffset (from start of context) offset += 2; SMBUtil.writeInt2(4, buffer, offset); // NameLength offset += 2; SMBUtil.writeInt2(0, buffer, offset); // Reserved offset += 2;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
// Given byte[] buffer = new byte[10]; int bufferIndex = 2; SMBUtil.writeInt2(4, buffer, bufferIndex); // Write structure size = 4 SMBUtil.writeInt2(0, buffer, bufferIndex + 2); // Reserved field // When int bytesRead = response.readBytesWireFormat(buffer, bufferIndex);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
// Version (2 bytes) SMBUtil.writeInt2(3, buffer, 8); // Size (2 bytes) - the size of this referral entry SMBUtil.writeInt2(20, buffer, 10); // Server type (2 bytes) SMBUtil.writeInt2(1, buffer, 12); // Referral flags (2 bytes) SMBUtil.writeInt2(0, buffer, 14); // Proximity (2 bytes for v3) SMBUtil.writeInt2(0, buffer, 16);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
int offset = 0; SMBUtil.writeInt4(idFileSystem, buffer, offset); // idFileSystem (skipped) offset += 4; SMBUtil.writeInt4(sectPerAlloc, buffer, offset); offset += 4; SMBUtil.writeInt4((int) alloc, buffer, offset); offset += 4; SMBUtil.writeInt4((int) free, buffer, offset); offset += 4; SMBUtil.writeInt2(bytesPerSect, buffer, offset);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java
bufferIndex += 8; this.changeTime = SMBUtil.readTime(buffer, bufferIndex); bufferIndex += 8; this.endOfFile = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; this.allocationSize = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; this.extFileAttributes = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6K bytes - Viewed (0)