- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 53 for 0x0210 (0.04 seconds)
-
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"); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (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 =
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.7K bytes - Click Count (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");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
} 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), Arguments.of(0x0311, DialectVersion.SMB311, true), Arguments.of(0xFFFF, null, false), // SMB2_DIALECT_ANYCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 32.5K bytes - Click Count (0) -
src/main/java/jcifs/SmbConstants.java
/** * NT SMBs are supported capability. */ int CAP_NT_SMBS = 0x0010; int CAP_PERSISTENT_HANDLES = 0x0002; /** * RPC remote APIs are supported capability. */ int CAP_RPC_REMOTE_APIS = 0x0020; /** * NT status codes are supported capability. */ int CAP_STATUS32 = 0x0040; /** * Level II oplocks are supported capability. */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 12.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
/** 32-bit status codes capability */ int CAP_STATUS32 = 0x0040; /** Level II oplocks capability */ int CAP_LEVEL_II_OPLOCKS = 0x0080; /** Lock and read capability */ int CAP_LOCK_AND_READ = 0x0100; /** NT find capability */ int CAP_NT_FIND = 0x0200; /** DFS capability */ int CAP_DFS = 0x1000; /** Extended security capability */ int CAP_EXTENDED_SECURITY = 0x80000000;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.3K bytes - Click Count (0) -
src/test/java/jcifs/SmbConstantsTest.java
assertEquals(0x0008, SmbConstants.CAP_LARGE_FILES); assertEquals(0x0010, SmbConstants.CAP_NT_SMBS); assertEquals(0x0020, SmbConstants.CAP_RPC_REMOTE_APIS); 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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
assertEquals(0, bytesRead); assertEquals(0, response.getAttributes()); assertEquals(0, response.getSize()); } @ParameterizedTest @ValueSource(ints = { 0x0001, 0x0002, 0x0004, 0x0010, 0x0020, 0x0080, 0x0100 }) void testDifferentFileAttributes(int fileAttribute) { // Test various file attribute values response = new SmbComQueryInformationResponse(mockConfig, 0L);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
} @Test @DisplayName("Test close flags with different values") void testCloseFlagsWithDifferentValues() { // Test with different flag values int[] testFlagValues = { 0x0000, 0x0001, 0xFFFF }; for (int flagValue : testFlagValues) { request.setCloseFlags(flagValue); byte[] buffer = new byte[256]; request.writeBytesWireFormat(buffer, 0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0)