- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 81 for 0x0100 (0.03 sec)
-
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java
// 2 bytes for fileAttributes, 4 bytes for lastWriteTime, 4 bytes for fileSize byte[] buffer = new byte[20]; // File Attributes: 0x0010 (Directory) buffer[0] = 0x10; buffer[1] = 0x00; // Last Write Time (UTime): A sample timestamp in milliseconds long sampleTimeMillis = 1672531200000L; // Represents a specific date in milliseconds
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java
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/smb1/trans/nt/NtTransQuerySecurityDescTest.java
assertEquals(0x00, dst[dstIndex + 2]); assertEquals(0x00, dst[dstIndex + 3]); // Verify security information (4 bytes) assertEquals(securityInfo, SMBUtil.readInt4(dst, dstIndex + 4)); } @ParameterizedTest @DisplayName("Test writeParametersWireFormat with various FID values") @ValueSource(ints = { 0x0000, 0x0001, 0x7FFF, 0xFFFF, 0x1234, 0xABCD })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
@DisplayName("SMB 2.1 dialect should be 0x0210") void testDialect0210() { assertEquals(0x0210, Smb2Constants.SMB2_DIALECT_0210, "SMB 2.1 dialect must be 0x0210"); } @Test @DisplayName("SMB 3.0 dialect should be 0x0300") void testDialect0300() { assertEquals(0x0300, Smb2Constants.SMB2_DIALECT_0300, "SMB 3.0 dialect must be 0x0300"); } @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/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java
/** * Share flag indicating that level 2 oplocks are forced on this share. */ public static final int SMB2_SHAREFLAG_FORCE_LEVEL2_OPLOCK = 0x1000; /** * Share flag indicating that hash generation V1 is enabled for this share. */ public static final int SMB2_SHAREFLAG_ENABLE_HASH_V1 = 0x2000; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
byte[] wireData = new byte[] { 0x10, 0x00, // StructureSize (must be 16) 0x01, // ShareType (DISK) 0x00, // Reserved 0x01, 0x00, 0x00, 0x00, // ShareFlags 0x08, 0x00, 0x00, 0x00, // Capabilities (byte) 0xFF, 0x01, 0x1F, 0x00 // MaximalAccess }; // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/NtlmMessageTest.java
assertTrue(message.getFlag(0b1000), "Flag 0b1000 should be set."); assertTrue(message.getFlag(0b0010), "Flag 0b0010 should be set."); assertFalse(message.getFlag(0b0100), "Flag 0b0100 should not be set."); assertFalse(message.getFlag(0b0001), "Flag 0b0001 should not be set."); message.setFlags(0); // No flags set assertFalse(message.getFlag(0b1000), "No flags should be set."); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt
), ), ).containsExactly( Mapping(0x0000, 0x002e, TYPE_VALID, ByteString.EMPTY), ) } @Test fun withSectionStartsSplits() { assertThat( withoutSectionSpans( listOf( Mapping(0x40000, 0x40180, TYPE_DISALLOWED, ByteString.EMPTY), ), ), ).containsExactly( Mapping(0x40000, 0x4007f, TYPE_DISALLOWED, ByteString.EMPTY),
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6.3K 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/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
// Check information level (FS_SIZE_INFO maps to 0x0103) int actualInfoLevel = SMBUtil.readInt2(buffer, 0); assertEquals(0x0103, actualInfoLevel); } @DisplayName("Test writeParametersWireFormat with different information levels") @ParameterizedTest @CsvSource({ "-1, 1", // SMB_INFO_ALLOCATION -> 0x0001 "3, 259" // FS_SIZE_INFO -> 0x0103 })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.9K bytes - Viewed (0)