- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 53 for 0x02FF (0.12 sec)
-
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
@DisplayName("SMB 2.0.2 dialect should be 0x0202") void testDialect0202() { assertEquals(0x0202, Smb2Constants.SMB2_DIALECT_0202, "SMB 2.0.2 dialect must be 0x0202"); } @Test @DisplayName("SMB 2.1 dialect should be 0x0210") void testDialect0210() { assertEquals(0x0210, Smb2Constants.SMB2_DIALECT_0210, "SMB 2.1 dialect must be 0x0210"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java
for (int i = 0; i < 16; i++) { defaultClientGuid[i] = (byte) (i + 1); } // Initialize default dialects defaultDialects = new int[] { 0x0202, 0x0210, 0x0300, 0x0302, 0x0311 }; } @Test @DisplayName("Test constructor with valid parameters") void testConstructor() { ValidateNegotiateInfoRequest request =
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
SMBUtil.writeInt2(0x1111, buffer1, 20); SMBUtil.writeInt2(0x0210, buffer1, 22); response.decode(buffer1, 0, 24); assertEquals(0x11111111, response.getCapabilities(), "First decode capabilities"); assertEquals(0x1111, response.getSecurityMode(), "First decode security mode"); assertEquals(0x0210, response.getDialect(), "First decode dialect");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/main/java/jcifs/SmbConstants.java
/** * Lock and read operation is supported capability. */ int CAP_LOCK_AND_READ = 0x0100; /** * NT find operations are supported capability. */ int CAP_NT_FIND = 0x0200; /** * DFS operations are supported capability. */ int CAP_DFS = 0x1000; /** * Large read operations are supported capability. */ int CAP_LARGE_READX = 0x4000;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
/** NT find capability */ int CAP_NT_FIND = 0x0200; /** DFS capability */ int CAP_DFS = 0x1000; /** Extended security capability */ int CAP_EXTENDED_SECURITY = 0x80000000; // file attribute encoding /** Read-only file attribute */ int ATTR_READONLY = 0x01; /** Hidden file attribute */ int ATTR_HIDDEN = 0x02; /** System file attribute */ int ATTR_SYSTEM = 0x04;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
assertEquals(expectedDialect, response.getSelectedDialect()); } } private static Stream<Arguments> provideDialectVersions() { return Stream.of(Arguments.of(0x0202, DialectVersion.SMB202, true), Arguments.of(0x0210, DialectVersion.SMB210, true), Arguments.of(0x0300, DialectVersion.SMB300, true), Arguments.of(0x0302, DialectVersion.SMB302, true),
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
src/test/java/jcifs/SmbConstantsTest.java
assertEquals(0x0040, SmbConstants.CAP_STATUS32); assertEquals(0x0080, SmbConstants.CAP_LEVEL_II_OPLOCKS); assertEquals(0x0100, SmbConstants.CAP_LOCK_AND_READ); assertEquals(0x0200, SmbConstants.CAP_NT_FIND); assertEquals(0x1000, SmbConstants.CAP_DFS); assertEquals(0x4000, SmbConstants.CAP_LARGE_READX); assertEquals(0x8000, SmbConstants.CAP_LARGE_WRITEX);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
// Arrange context = new PreauthIntegrityNegotiateContext(); byte[] buffer = new byte[] { 0x02, 0x00, // 2 hash algos 0x04, 0x00, // 4 bytes salt 0x01, 0x00, // SHA512 0x02, 0x00, // Another hash algo 0x0A, 0x0B, 0x0C, 0x0D // Salt }; // Act
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationTest.java
private byte[] testResponseBuffer; private SmbNegotiation negotiation; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); testRequestBuffer = new byte[] { 0x01, 0x02, 0x03, 0x04 }; testResponseBuffer = new byte[] { 0x05, 0x06, 0x07, 0x08 }; negotiation = new SmbNegotiation(mockRequest, mockResponse, testRequestBuffer, testResponseBuffer); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0)