- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 244 for flags2 (0.04 sec)
-
src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferralResponse.java
path = readString(buffer, start + pathOffset, len, (flags2 & FLAGS2_UNICODE) != 0); if (nodeOffset > 0) { node = readString(buffer, start + nodeOffset, len, (flags2 & FLAGS2_UNICODE) != 0); } } else if (version == 1) { node = readString(buffer, bufferIndex, len, (flags2 & FLAGS2_UNICODE) != 0); } return size;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java
* It should initialize the command and flags2 with default values. */ @Test void testConstructor() { // Verify that the command is set to SMB_COM_NEGOTIATE assertEquals(ServerMessageBlock.SMB_COM_NEGOTIATE, smbComNegotiate.command, "Constructor should set the command to SMB_COM_NEGOTIATE."); // Verify that flags2 is set to the default flags
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
} /** * Verifies reset() clears flags2 and updates resumeKey and filename used for parameters. */ @Test void testResetUpdatesStateAndParameters() { // Given Trans2FindNext2 next = new Trans2FindNext2(0x0001, 0x0AAA0BBB, "old"); next.flags2 = 0xFFFF; // simulate non-zero flags2 // When next.reset(0x11121314, "last.dat");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java
// These tests should be removed or replaced with actual constants } /** * Test individual FLAGS2 constants. */ @Test @DisplayName("FLAGS2 individual constants are correct") void flags2ConstantsTest() { // Test individual flag values assertEquals(0x0001, SmbConstants.FLAGS2_LONG_FILENAMES); assertEquals(0x0002, SmbConstants.FLAGS2_EXTENDED_ATTRIBUTES);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/ServerData.java
*/ public ServerData() { // Default constructor } /** * Server flags from the SMB header. */ public byte sflags; /** * Server flags2 field from the SMB header. */ public int sflags2; /** * Maximum number of outstanding multiplex requests. */ public int smaxMpxCount; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2FindNext2.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNegotiate.java
class SmbComNegotiate extends ServerMessageBlock { private static final String DIALECTS = "\u0002NT LM 0.12\u0000"; SmbComNegotiate() { command = SMB_COM_NEGOTIATE; flags2 = DEFAULT_FLAGS2; } @Override int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindNext2.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java
// Setup server data for this scenario serverData.capabilities = 0; // No extended security serverData.encryptionKeyLength = 8; response.flags2 = ServerMessageBlock.FLAGS2_UNICODE; byte[] domainNameBytes = "DOMAIN_U".getBytes("UTF-16LE"); response.byteCount = 8 + domainNameBytes.length + 2; // key + domain + null terminator
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0)