- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 460 for tflags (0.65 sec)
-
src/test/java/jcifs/smb/SmbSessionImplTest.java
when(transport.isFailed()).thenReturn(true); assertFalse(session.isConnected()); assertTrue(session.isFailed()); } @Test @DisplayName("encryption: flags, encryption, and decryption delegation") void testEncryptionDelegation() throws Exception { SmbSessionImpl session = newSession(); // No encryption context -> throws
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcGetMembersInAliasTest.java
Field flagsField = DcerpcMessage.class.getDeclaredField("flags"); flagsField.setAccessible(true); int flagsValue = (int) flagsField.get(request); int expectedFlags = DcerpcConstants.DCERPC_FIRST_FRAG | DcerpcConstants.DCERPC_LAST_FRAG; assertEquals(expectedFlags, flagsValue, "The 'flags' field should be initialized to DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG."); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java
// Verify lease state at offset 40 (24 + 16 for key) assertEquals(testState, SMBUtil.readInt4(buffer, 40)); // Verify lease flags at offset 44 (40 + 4 for state) assertEquals(0, SMBUtil.readInt4(buffer, 44)); // Verify lease duration at offset 48 (44 + 4 for flags) - should be 0 (reserved) assertEquals(0, SMBUtil.readInt8(buffer, 48)); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileHandleImpl.java
* @param fid * @param tree * @param unc * @param options * @param attrs * @param access * @param flags * @param initialSize */ public SmbFileHandleImpl(final Configuration cfg, final byte[] fid, final SmbTreeHandleImpl tree, final String unc, final int flags, final int access, final int attrs, final int options, final long initialSize) { this.cfg = cfg; this.fileId = fid;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.4K bytes - Viewed (1) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAliasTest.java
java.lang.reflect.Field flagsField = jcifs.dcerpc.DcerpcMessage.class.getDeclaredField("flags"); flagsField.setAccessible(true); assertEquals(0x01 | 0x02, flagsField.get(msrpcSamrOpenAlias), "flags should be initialized to DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG"); } catch (NoSuchFieldException | IllegalAccessException e) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcEnumerateAliasesInDomain.java
* @param acct_flags account flags to filter the enumeration * @param sam the SAM array to store the enumeration results */ public MsrpcEnumerateAliasesInDomain(final SamrDomainHandle domainHandle, final int acct_flags, final samr.SamrSamArray sam) { super(domainHandle, 0, acct_flags, null, 0); this.sam = sam; ptype = 0; flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/MsrpcEnumerateAliasesInDomain.java
* @param acct_flags account flags to filter the enumeration * @param sam the SAM array to store the enumeration results */ public MsrpcEnumerateAliasesInDomain(final SamrDomainHandle domainHandle, final int acct_flags, final samr.SamrSamArray sam) { super(domainHandle, 0, acct_flags, null, 0); this.sam = sam; this.ptype = 0; this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/netdfs.java
} /** * DFS flags */ public int flags; /** * The DFS name */ public String dfs_name; @Override public void encode(NdrBuffer _dst) throws NdrException { _dst.align(4); _dst.enc_ndr_long(this.flags); _dst.enc_ndr_referent(this.dfs_name, 1);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/trans2/Trans2FindFirst2Test.java
assertTrue(result.contains("flags=0x00")); assertTrue(result.contains("informationLevel=0x104")); assertTrue(result.contains("searchStorageType=0")); assertTrue(result.contains("filename=\\test\\path\\")); } @Test @DisplayName("Test constants values") void testConstants() { // Test flag constants
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
// Path consumed (2 bytes) - value: 10 * 2 = 20 SMBUtil.writeInt2(20, buffer, 0); // Number of referrals (2 bytes) - value: 1 SMBUtil.writeInt2(1, buffer, 2); // Flags (2 bytes) SMBUtil.writeInt2(0x0003, buffer, 4); // Padding (2 bytes) buffer[6] = 0; buffer[7] = 0; // First referral (minimal structure)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0)