- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 75 for Reserved2 (0.2 sec)
-
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
Registered: 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/io/Smb2FlushRequestTest.java
// Reserved1 (2 bytes) - should be 0 (bytes were initialized to 0xCC, so they weren't written) // This is expected behavior - the reserved fields are not explicitly written to 0 // Reserved2 (4 bytes) - should be 0 (bytes were initialized to 0xCC, so they weren't written) // This is expected behavior - the reserved fields are not explicitly written to 0
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
@Test @DisplayName("Should correctly parse reserved fields") void testReservedFieldsAreSkipped() throws Exception { byte[] buffer = new byte[64]; // Structure with specific values in reserved fields SMBUtil.writeInt2(24, buffer, 0); buffer[2] = 0x01; // Oplock level buffer[3] = (byte) 0xAA; // Reserved byte
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTransaction.java
dst[dstIndex] = maxSetupCount; dstIndex++; dst[dstIndex++] = (byte) 0x00; // Reserved1 writeInt2(flags, dst, dstIndex); dstIndex += 2; writeInt4(timeout, dst, dstIndex); dstIndex += 4; dst[dstIndex++] = (byte) 0x00; // Reserved2 dst[dstIndex++] = (byte) 0x00; } writeInt2(parameterCount, dst, dstIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
pos += 4; // outputCount SMBUtil.writeInt4(outputCount, buf, pos); pos += 4; // ioctlFlags SMBUtil.writeInt4(ioctlFlags, buf, pos); pos += 4; // reserved2 (4 bytes) pos += 4; // Write payload data: input then output if (inputCount > 0 && inputBytes != null) { System.arraycopy(inputBytes, 0, buf, pos, inputCount);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java
this.endOfFile = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; this.fileAttributes = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; bufferIndex += 4; // Reserved2 System.arraycopy(buffer, bufferIndex, this.fileId, 0, 16); bufferIndex += 16; final int createContextOffset = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
ci += 4; SMBUtil.writeInt2(0x10, ctx, ci); // NameOffset SMBUtil.writeInt2(4, ctx, ci + 2); // NameLength ci += 4; // Reserved (2) + DataOffset (2) // Put data at offset 0x20 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) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java
// Verify the bytes written assertTrue(bytesWritten > 0); // For secondary, first byte should be 0x00 (Reserved) assertEquals(0, dst[0]); // Verify reserved bytes assertEquals(0, dst[1]); assertEquals(0, dst[2]); // Verify total parameter count (4 bytes at position 3)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
byte[] buffer = createValidWriteResponse(1024, 512); int bytesRead = response.readBytesWireFormat(buffer, 0); assertEquals(16, bytesRead); // Structure size + reserved (4) + count (4) + remaining (4) + channel info (4) assertEquals(1024, response.getCount()); assertEquals(512, response.getRemaining()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0)