- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 159 for reserved2 (0.96 sec)
-
src/main/java/jcifs/internal/util/SMBUtil.java
(byte) 64, (byte) 0x00, // StructureSize (LE) (byte) 0x00, (byte) 0x00, // CreditCharge (reserved 2.0.2) (byte) 0x00, (byte) 0x00, // ChannelSequence (byte) 0x00, (byte) 0x00, // Reserved (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, // Status (byte) 0x00, (byte) 0x00, // Command
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
assertEquals((byte) (informationLevel & 0xFF), dst[0]); assertEquals((byte) ((informationLevel >> 8) & 0xFF), dst[1]); // Check reserved bytes for (int i = 2; i < 6; i++) { assertEquals((byte) 0x00, dst[i], "Reserved byte at index " + i + " should be 0."); } // Check filename byte[] filenameBytes = filename.getBytes();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java
void messageConstructor_setsMessageAndNullCause(String message) { // Arrange & Act SMBProtocolDowngradeException ex = new SMBProtocolDowngradeException(message); // Assert - message preserved, cause null assertEquals(message, ex.getMessage()); assertNull(ex.getCause()); // Assert - toString starts with class name and contains message when present if (message == null) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComReadAndXResponseTest.java
@BeforeEach public void setUp() { // Build a sample buffer int bufferIndex = 0; bufferIndex += 2; // reserved writeInt2(dataCompactionMode, buffer, bufferIndex); bufferIndex += 2; bufferIndex += 2; // reserved writeInt2(dataLength, buffer, bufferIndex); bufferIndex += 2; writeInt2(dataOffset, buffer, bufferIndex); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java
// Then assertEquals(CRYPTO_ERROR_MESSAGE, exception.getMessage(), "Crypto message should be preserved"); assertSame(cause, exception.getCause(), "Crypto cause should be preserved"); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java
assertEquals(16, SMBUtil.readInt2(buffer, 4)); // NameLength field (2 bytes) - should be 4 for "RqLs" assertEquals(4, SMBUtil.readInt2(buffer, 6)); // Reserved field (2 bytes) - should be 0 assertEquals(0, SMBUtil.readInt2(buffer, 8)); // DataOffset field (2 bytes) - should be 24 (16 header + 4 name + 4 padding)
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNtTransactionResponseTest.java
@Test void testReadParameterWordsWireFormat_bufDataStartIsZero() { // Test case when bufDataStart is initially 0. byte[] buffer = new byte[37]; // 3 reserved + 8*4 bytes for int4 values + 2 bytes for setupCount int bufferIndex = 0; // Reserved bytes buffer[bufferIndex++] = 0x00; buffer[bufferIndex++] = 0x00; buffer[bufferIndex++] = 0x00; // totalParameterCount = 10Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java
// dataDisplacement (4 bytes) SMBUtil.writeInt4(0, buffer, bufferIndex + 31); // setupCount (1 byte) + 1 reserved byte buffer[bufferIndex + 35] = 0x00; // setupCount = 0 buffer[bufferIndex + 36] = 0x00; // reserved int bytesRead = response.readParameterWordsWireFormat(buffer, bufferIndex); // Verify the correct number of bytes were read (37 bytes total)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateRequest.java
idx += 2; SMBUtil.writeInt2(reserved, data, idx); idx += 2; SMBUtil.writeInt2(creditsRequested, data, idx); idx += 2; SMBUtil.writeInt4(preferredSendSize, data, idx); idx += 4; SMBUtil.writeInt4(maxReceiveSize, data, idx); idx += 4; SMBUtil.writeInt4(maxFragmentedSize, data, idx); idx += 4; // Reserved fields (8 bytes)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 5.4K bytes - Viewed (0)