- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 44 for ReadUint8 (0.06 sec)
-
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
assertEquals(2, buffer[2]); // Padding assertEquals(0x01, buffer[3]); // Read flags assertEquals(4096, SMBUtil.readInt4(buffer, 4)); // Read length assertEquals(8192L, SMBUtil.readInt8(buffer, 8)); // Offset assertArrayEquals(testFileId, Arrays.copyOfRange(buffer, 16, 32)); // File ID assertEquals(512, SMBUtil.readInt4(buffer, 32)); // Minimum count
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
int bytesEncoded = fileInternalInfo.encode(destinationBuffer, 0); // Verify assertEquals(8, bytesEncoded); assertEquals(expectedIndexNumber, SMBUtil.readInt8(destinationBuffer, 0)); } @Test @DisplayName("Test encode with buffer offset") void testEncodeWithBufferOffset() throws SMBProtocolDecodingException { // First decode to set internal state
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.java
final int start = bufferIndex; // Read total allocation units. this.alloc = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; // read caller available allocation units this.free = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; // skip actual free units bufferIndex += 8;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
assertEquals(49, SMBUtil.readInt2(buffer, headerStart)); // Structure size assertEquals(data.length, SMBUtil.readInt4(buffer, headerStart + 4)); // Data length assertEquals(1024L, SMBUtil.readInt8(buffer, headerStart + 8)); // Offset assertArrayEquals(testFileId, Arrays.copyOfRange(buffer, headerStart + 16, headerStart + 32)); // File ID
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponse.java
final int start = bufferIndex; final SmbInfoAllocation info = new SmbInfoAllocation(); info.alloc = readInt8(buffer, bufferIndex); bufferIndex += 8; info.free = readInt8(buffer, bufferIndex); bufferIndex += 8; info.sectPerAlloc = readInt4(buffer, bufferIndex); bufferIndex += 4;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileStandardInfo.java
final int start = bufferIndex; this.allocationSize = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; this.endOfFile = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; this.numberOfLinks = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4;
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/create/Smb2CloseResponse.java
bufferIndex += 8; this.changeTime = SMBUtil.readTime(buffer, bufferIndex); bufferIndex += 8; this.allocationSize = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; this.endOfFile = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; this.fileAttributes = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java
int bytesEncoded = request.encode(buffer, 0); // Verify assertEquals(14 + nameBytes.length, bytesEncoded); // Check timeout (should be 0) assertEquals(0L, SMBUtil.readInt8(buffer, 0)); // Check name length assertEquals(nameBytes.length, SMBUtil.readInt4(buffer, 8)); // Check timeout specified flag (should be 0) assertEquals(0x0, buffer[12]);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponse.java
final int start = bufferIndex; final SmbQueryFileStandardInfo info = new SmbQueryFileStandardInfo(); info.allocationSize = readInt8(buffer, bufferIndex); bufferIndex += 8; info.endOfFile = readInt8(buffer, bufferIndex); bufferIndex += 8; info.numberOfLinks = readInt4(buffer, bufferIndex); bufferIndex += 4;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java
e.lastWriteTime = readTime(buffer, bufferIndex + 24); // e.changeTime = readTime( buffer, bufferIndex + 32 ); e.endOfFile = readInt8(buffer, bufferIndex + 40); // e.allocationSize = readInt8( buffer, bufferIndex + 48 ); e.extFileAttributes = readInt4(buffer, bufferIndex + 56); e.fileNameLength = readInt4(buffer, bufferIndex + 60);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 8.6K bytes - Viewed (0)