- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 57 for WriteUint8 (0.06 sec)
-
src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java
dstIndex += 4; writeInt4(rootDirectoryFid, dst, dstIndex); dstIndex += 4; writeInt4(desiredAccess, dst, dstIndex); dstIndex += 4; writeInt8(allocationSize, dst, dstIndex); dstIndex += 8; writeInt4(extFileAttributes, dst, dstIndex); dstIndex += 4; writeInt4(shareAccess, dst, dstIndex); dstIndex += 4;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java
dst[dstIndex + 2] = this.padding; dst[dstIndex + 3] = this.readFlags; dstIndex += 4; SMBUtil.writeInt4(this.readLength, dst, dstIndex); dstIndex += 4; SMBUtil.writeInt8(this.offset, dst, dstIndex); dstIndex += 8; System.arraycopy(this.fileId, 0, dst, dstIndex, 16); dstIndex += 16; SMBUtil.writeInt4(this.minimumCount, dst, dstIndex);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
assertEquals(26, written); // Check that padding bytes are zeros // The implementation writes 8 bytes with writeInt8 but only increments by 6 // This means bytes 20-27 will be zero (8 bytes written by writeInt8) for (int i = 20; i < 28; i++) { assertEquals(0, buffer[i], "Padding byte at position " + i + " should be 0"); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
} static long readInt8(final byte[] src, final int srcIndex) { return (readInt4(src, srcIndex) & 0xFFFFFFFFL) + ((long) readInt4(src, srcIndex + 4) << 32); } static void writeInt8(long val, final byte[] dst, int dstIndex) { dst[dstIndex] = (byte) val; dstIndex++; dst[dstIndex] = (byte) (val >>= 8); dst[++dstIndex] = (byte) (val >>= 8);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.7K bytes - Viewed (0) -
docs/smb3-features/01-smb3-lease-design.md
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 22K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformation.java
protected int writeDataWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dstIndex += this.info.encode(dst, dstIndex); /* 6 zeros observed with NT */ SMBUtil.writeInt8(0L, dst, dstIndex); dstIndex += 6; /* * Also observed 4 byte alignment but we stick * with the default for jCIFS which is 2 */ return dstIndex - start;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java
dstIndex += 4; final int offsetOffset = dstIndex; dstIndex += 2; SMBUtil.writeInt2(this.token != null ? this.token.length : 0, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt8(this.previousSessionId, dst, dstIndex); dstIndex += 8; SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, offsetOffset); dstIndex += pad8(dstIndex); if (this.token != null) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
// Set up async message fields SMBUtil.writeInt4(ServerMessageBlock2.SMB2_FLAGS_ASYNC_COMMAND, buffer, 16); // flags with async SMBUtil.writeInt8(789L, buffer, 32); // async ID SMBUtil.writeInt8(456L, buffer, 40); // session ID return buffer; } private byte[] createErrorResponseMessage() { byte[] buffer = new byte[256];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java
dstIndex += 4; SMBUtil.writeInt4(this.rootDirectoryFid, dst, dstIndex); dstIndex += 4; SMBUtil.writeInt4(this.desiredAccess, dst, dstIndex); dstIndex += 4; SMBUtil.writeInt8(this.allocationSize, dst, dstIndex); dstIndex += 8; SMBUtil.writeInt4(this.extFileAttributes, dst, dstIndex); dstIndex += 4; SMBUtil.writeInt4(this.shareAccess, dst, dstIndex);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java
// if SMB 3.11 support negotiateContextOffset/negotiateContextCount int negotitateContextOffsetOffset = 0; if (this.negotiateContexts == null || this.negotiateContexts.length == 0) { SMBUtil.writeInt8(0, dst, dstIndex); } else { negotitateContextOffsetOffset = dstIndex; SMBUtil.writeInt2(this.negotiateContexts.length, dst, dstIndex + 4); SMBUtil.writeInt2(0, dst, dstIndex + 6);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.3K bytes - Viewed (0)