- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 348 for sflags2 (0.07 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/ServerMessageBlockTest.java
assertEquals(smb.flags, readSmb.flags); assertEquals(smb.flags2, readSmb.flags2); assertEquals(smb.tid, readSmb.tid); assertEquals(smb.pid, readSmb.pid); assertEquals(smb.uid, readSmb.uid); assertEquals(smb.mid, readSmb.mid); } @Test void testIsResponse() { smb.flags = (byte) ServerMessageBlock.FLAGS_RESPONSE;
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/test/java/jcifs/smb1/smb1/SmbConstantsTest.java
// Note: USE_UNICODE and FORCE_UNICODE don't exist in the interface // 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);
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/smb1/smb1/ServerMessageBlock.java
final String str = errorCode == 0 ? "0" : SmbException.getMessageByCode(errorCode); return "command=" + c + ",received=" + received + ",errorCode=" + str + ",flags=0x" + Hexdump.toHexString(flags & 0xFF, 4) + ",flags2=0x" + Hexdump.toHexString(flags2, 4) + ",signSeq=" + signSeq + ",tid=" + tid + ",pid=" + pid + ",uid=" + uid + ",mid=" + mid + ",wordCount=" + wordCount + ",byteCount=" + byteCount; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
int DEFAULT_CAPABILITIES = (USE_NTSMBS ? CAP_NT_SMBS : 0) | (USE_NTSTATUS ? CAP_STATUS32 : 0) | (USE_UNICODE ? CAP_UNICODE : 0) | CAP_DFS; /** FLAGS2 value */ int FLAGS2 = Config.getInt("jcifs.smb1.smb.client.flags2", DEFAULT_FLAGS2); /** Capabilities value */ int CAPABILITIES = Config.getInt("jcifs.smb1.smb.client.capabilities", DEFAULT_CAPABILITIES); /** Whether to use TCP_NODELAY */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/Referral.java
* @return the serverType */ public final int getServerType() { return this.serverType; } /** * Gets the referral flags. * * @return the rflags */ public final int getRFlags() { return this.rflags; } /** * Gets the proximity value indicating the distance to the target. * * @return the proximity */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralResponseBuffer.java
* @return the numReferrals */ public final int getNumReferrals() { return this.numReferrals; } /** * Get the referral flags * * @return the tflags */ public final int getTflags() { return this.tflags; } /** * Get the array of referral entries * * @return the referrals */ public final Referral[] getReferrals() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java
static final int OPEN_FN_FAIL_IF_EXISTS = 0x00; static final int OPEN_FN_OPEN = 0x01; static final int OPEN_FN_TRUNC = 0x02; int tflags, desiredAccess, searchAttributes, fileAttributes, creationTime, openFunction, allocationSize; // flags is NOT the same as flags member /** * Constructs an Open AndX request. * * @param config the configuration
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0)