- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 91 for 0x0001 (0.03 sec)
-
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/ntlmssp/Type2MessageTest.java
// For domain: Type 0x0002 (NetBIOS Domain Name) // For server: Type 0x0001 (NetBIOS Computer Name) // Verify domain part assertEquals(2, Type2Message.readUShort(targetInfo, 0)); // Type 0x0002
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 38.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java
void createOptionsAddedWhenLow() { // createOptions less than 0x0001 (i.e., 0) should be padded with 0x0040 SmbComNTCreateAndX req = createRequest(0, 0); int actual = (int) getPrivateField(req, "createOptions"); assertEquals(0x0040, actual, "createOptions should be padded with 0x0040"); } @Test @DisplayName("addFlags0 combines flags correctly") void addFlags0() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
} @Test void testWriteHeaderReadHeader() { byte[] buffer = new byte[32]; smb.command = ServerMessageBlock.SMB_COM_NEGOTIATE; smb.flags = (byte) 0x18; smb.flags2 = 0x0001; smb.tid = 1; smb.pid = 2; smb.uid = 3; smb.mid = 4; smb.writeHeaderWireFormat(buffer, 0); TestServerMessageBlock readSmb = new TestServerMessageBlock();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java
createDisposition = FILE_OPEN_IF; } } else { createDisposition = FILE_OPEN; } if ((createOptions & 0x0001) == 0) { this.createOptions = createOptions | 0x0040; } else { this.createOptions = createOptions; } impersonationLevel = 0x02; // As seen on NT :~)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java
assertEquals(8, bytesWritten); // Verify watchTree flag is set to 0x01 assertEquals(0x01, dst[dstIndex + 6]); } @ParameterizedTest @DisplayName("Test writeSetupWireFormat with various FID values") @ValueSource(ints = { 0x0000, 0x0001, 0x7FFF, 0xFFFF, 0x1234, 0xABCD }) void testWriteSetupWireFormatWithVariousFids(int fid) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.4K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 21.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
// Set test values int testCapabilities = 0xABCDEF00; byte[] testGuid = new byte[16]; Arrays.fill(testGuid, (byte) 0xFF); int testSecurityMode = 0x0001; int testDialect = 0x0202; // Write to buffer SMBUtil.writeInt4(testCapabilities, buffer, bufferIndex); System.arraycopy(testGuid, 0, buffer, bufferIndex + 4, 16);
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/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java
this.createDisposition = FILE_OPEN_IF; } } else { this.createDisposition = FILE_OPEN; } if ((createOptions & 0x0001) == 0) { this.createOptions = createOptions | 0x0040; } else { this.createOptions = createOptions; } this.impersonationLevel = 0x02; // As seen on NT :~)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameQueryResponseTest.java
// recordType (2 bytes) src[srcIndex + 2] = 0x00; src[srcIndex + 3] = 0x20; // NB (0x0020) // recordClass (2 bytes) src[srcIndex + 4] = 0x00; src[srcIndex + 5] = 0x01; // IN (0x0001) // ttl (4 bytes) src[srcIndex + 6] = 0x00; src[srcIndex + 7] = 0x00; src[srcIndex + 8] = 0x00; src[srcIndex + 9] = 0x00; // rDataLength (2 bytes)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0)