- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 234 for writeInt8 (0.09 sec)
-
src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java
public class AvTimestampTest { /** * Test constructor with raw bytes. */ @Test public void testConstructorWithRawBytes() { byte[] rawBytes = new byte[8]; SMBUtil.writeInt8(1234567890L, rawBytes, 0); // Example timestamp AvTimestamp avTimestamp = new AvTimestamp(rawBytes); assertNotNull(avTimestamp); assertEquals(AvPair.MsvAvTimestamp, avTimestamp.getType());Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.8K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationTest.java
assertEquals(0, (dst[5] << 8) | (dst[4] & 0xFF)); } @Test void testWriteDataWireFormat() { // Given // writeInt8 writes 8 bytes but needs to access dst[dstIndex+7] // Total bytes written: 8+8+8+8+2+6=40 // But writeInt8 at position 34 needs to access position 34+7=41 // So we need at least 42 bytes in the array byte[] dst = new byte[42]; // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.3K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0)