- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 186 for writeInt8 (0.72 sec)
-
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
SMBUtil.writeInt4(0, buffer, headerStart + 16); // Next command SMBUtil.writeInt4(0, buffer, headerStart + 20); // Message ID SMBUtil.writeInt8(1, buffer, headerStart + 24); // Reserved/Async ID SMBUtil.writeInt8(0, buffer, headerStart + 32); // Session ID SMBUtil.writeInt8(0, buffer, headerStart + 40); // SignatureRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunk.java
*/ @Override public int encode(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt8(this.sourceOffset, dst, dstIndex); dstIndex += 8; SMBUtil.writeInt8(this.targetOffset, dst, dstIndex); dstIndex += 8; SMBUtil.writeInt4(this.length, dst, dstIndex); dstIndex += 4; dstIndex += 4; // reserved return dstIndex - start; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2Lock.java
*/ @Override public int encode(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt8(this.offset, dst, dstIndex); dstIndex += 8; SMBUtil.writeInt8(this.length, dst, dstIndex); dstIndex += 8; SMBUtil.writeInt4(this.flags, dst, dstIndex); dstIndex += 4; dstIndex += 4; // Reserved return dstIndex - start; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
// EndOfFile SMBUtil.writeInt8(0, buffer, dataOffset + 40); // AllocationSize SMBUtil.writeInt8(0, buffer, dataOffset + 48); // ExtFileAttributes SMBUtil.writeInt4(0, buffer, dataOffset + 56); // FileNameLength SMBUtil.writeInt4(8, buffer, dataOffset + 60); // EaSize SMBUtil.writeInt4(0, buffer, dataOffset + 64);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileStandardInfo.java
*/ @Override public int encode(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt8(this.allocationSize, dst, dstIndex); dstIndex += 8; SMBUtil.writeInt8(this.endOfFile, dst, dstIndex); dstIndex += 8; SMBUtil.writeInt4(this.numberOfLinks, dst, dstIndex); dstIndex += 4; dst[dstIndex] = (byte) (this.deletePending ? 1 : 0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
void testDecode() throws SMBProtocolDecodingException { // Prepare buffer with known value long expectedValue = 0x0123456789ABCDEFL; byte[] buffer = new byte[16]; SMBUtil.writeInt8(expectedValue, buffer, 0); // Decode int bytesRead = fileInfo.decode(buffer, 0, buffer.length); // Verify bytes read assertEquals(8, bytesRead);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java
SMBUtil.writeInt4(this.originalMessageSize, dst, dstIndex); dstIndex += 4; // Reserved (2 bytes) SMBUtil.writeInt2(0, dst, dstIndex); dstIndex += 2; // Flags (2 bytes) SMBUtil.writeInt2(this.flags, dst, dstIndex); dstIndex += 2; // Session ID (8 bytes) SMBUtil.writeInt8(this.sessionId, dst, dstIndex);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
int ci = 0; SMBUtil.writeInt4(0, ctx, ci); // Next = 0 ci += 4; SMBUtil.writeInt2(0x10, ctx, ci); // NameOffset SMBUtil.writeInt2(4, ctx, ci + 2); // NameLength ci += 4; SMBUtil.writeInt2(0, ctx, ci); // Reserved SMBUtil.writeInt2(0x20, ctx, ci + 2); // DataOffset ci += 4; SMBUtil.writeInt4(8, ctx, ci); // DataLength ci += 4;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
SMBUtil.writeInt2(this.creditCharge, dst, dstIndex + 6); SMBUtil.writeInt2(this.command, dst, dstIndex + 12); SMBUtil.writeInt2(this.credit, dst, dstIndex + 14); SMBUtil.writeInt4(this.flags, dst, dstIndex + 16); SMBUtil.writeInt4(this.nextCommand, dst, dstIndex + 20); SMBUtil.writeInt8(this.mid, dst, dstIndex + 24); if (this.async) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
src/main/java/jcifs/internal/util/SMBUtil.java
* @param val the value to write * @param dst the destination byte array * @param dstIndex the starting index in the destination array */ public 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: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0)