- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 55 for WriteUint8 (0.05 sec)
-
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: 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/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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.5K bytes - Viewed (0) -
docs/smb3-features/01-smb3-lease-design.md
Registered: Sun Sep 07 00:10:21 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: Sun Sep 07 00:10:21 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: Sun Sep 07 00:10:21 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.3K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.6K bytes - Viewed (0) -
docs/smb3-features/02-persistent-handles-design.md
// Data int dataOffset = offset + 16 + nameLen; dataOffset = (dataOffset + 7) & ~7; // 8-byte alignment writeInt8(buffer, dataOffset, timeout); // Timeout writeInt4(buffer, dataOffset + 8, flags); // Flags writeInt8(buffer, dataOffset + 12, 0); // Reserved System.arraycopy(createGuid.toBytes(), 0, buffer, dataOffset + 20, 16); // CreateGuid } } ```
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 31.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java
SMBUtil.writeInt2(49, dst, dstIndex); final int dataOffsetOffset = dstIndex + 2; dstIndex += 4; SMBUtil.writeInt4(this.dataLength, 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.channel, dst, dstIndex); dstIndex += 4;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.1K bytes - Viewed (0)