- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 88 for 0x0040 (0.82 sec)
-
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"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2Constants.java
/** * SMB2 negotiate flag indicating signing is enabled */ public static final int SMB2_NEGOTIATE_SIGNING_ENABLED = 0x0001; /** * SMB2 negotiate flag indicating signing is required */ public static final int SMB2_NEGOTIATE_SIGNING_REQUIRED = 0x0002; /** * SMB 2.0.2 dialect (Windows Vista/Server 2008) */ public static final int SMB2_DIALECT_0202 = 0x0202; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/netdfs.java
*/ public static final int DFS_VOLUME_FLAVOR_STANDALONE = 0x100; /** * DFS volume flavor indicating Active Directory blob storage */ public static final int DFS_VOLUME_FLAVOR_AD_BLOB = 0x200; /** * DFS storage state indicating offline status */ public static final int DFS_STORAGE_STATE_OFFLINE = 0x0001; /** * DFS storage state indicating online status */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 21.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java
// Hexdump.toHexString uses uppercase and produces only the specified width // Note: completionFilter is displayed with 4 hex chars, not 8 assertTrue(result.contains("fid=0x0000")); assertTrue(result.contains("filter=0x0000")); // Only 4 hex chars are shown assertTrue(result.contains("watchTree=false")); } @Test @DisplayName("Test writeSetupWireFormat preserves other buffer content")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
assertTrue(s.contains(",informationLevel=0x104"), "toString should include information level 0x104"); assertTrue(s.contains(",resumeKey=0x0304"), "toString should include lower 16-bit resumeKey hex"); assertTrue(s.contains(",flags=0x00"), "toString should include flags in hex"); assertTrue(s.endsWith("]"), "toString should end with closing bracket");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
assertEquals("Unknown dialect", exception.getMessage()); } @ParameterizedTest @ValueSource(ints = { 0x0000, 0x0100, 0x0201, 0x0303, 0x0400, 0xFFFF }) @DisplayName("Should throw exception for invalid dialects") void testConstructorInvalidDialects(int dialect) { IllegalArgumentException exception =
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java
byte[] encryptionKey = "12345678".getBytes(); ByteBuffer buffer = ByteBuffer.allocate(response.byteCount); buffer.put(encryptionKey); buffer.put(domainNameBytes); buffer.putShort((short) 0x0000); // Null terminator byte[] byteData = buffer.array(); // Call the method int bytesRead = response.readBytesWireFormat(byteData, 0); // Assertions
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndXResponse.java
package jcifs.smb1.smb1; import java.io.UnsupportedEncodingException; class SmbComTreeConnectAndXResponse extends AndXServerMessageBlock { private static final int SMB_SUPPORT_SEARCH_BITS = 0x0001; private static final int SMB_SHARE_IS_IN_DFS = 0x0002; boolean supportSearchBits, shareIsInDfs; String service, nativeFileSystem = ""; SmbComTreeConnectAndXResponse(final ServerMessageBlock andx) { super(andx); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
// Testing invalid protocol ID during decode instead byte[] invalidBuffer = new byte[52]; // Write invalid protocol ID invalidBuffer[0] = 0x00; invalidBuffer[1] = 0x00; invalidBuffer[2] = 0x00; invalidBuffer[3] = 0x00; assertThrows(IllegalArgumentException.class, () -> { Smb2TransformHeader.decode(invalidBuffer, 0); }); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0)