- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 481 for getFlags (0.03 sec)
-
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java
int flags = msrpcShareGetInfo.getFlags(); assertTrue((flags & DcerpcConstants.DCERPC_FIRST_FRAG) != 0); assertTrue((flags & DcerpcConstants.DCERPC_LAST_FRAG) != 0); } @Test void testShareInfo502Initialization() throws Exception { // Verify ShareInfo502 is properly initialized Field infoField = msrpcShareGetInfo.getClass().getSuperclass().getDeclaredField("info");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
assertEquals(11, bindWithParams.getPtype(), "Ptype should be 11 for bind message"); assertEquals(DcerpcConstants.DCERPC_FIRST_FRAG | DcerpcConstants.DCERPC_LAST_FRAG, bindWithParams.getFlags(), "Flags should be set for first and last fragment"); // Verify private fields using reflection Field bindingField = DcerpcBind.class.getDeclaredField("binding");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcMessage.java
* @return the packet type */ public int getPtype() { return ptype; } /** * Gets the flags of this DCERPC message * @return the message flags */ public int getFlags() { return flags; } /** * Check if a specific flag is set. * @param flag the flag to check * @return whether flag is set */ public boolean isFlagSet(final int flag) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarOpenPolicy2Test.java
// Assert ptype and flags using getters assertEquals(0, msrpcLsarOpenPolicy2.getPtype()); assertEquals(MsrpcLsarOpenPolicy2.DCERPC_FIRST_FRAG | MsrpcLsarOpenPolicy2.DCERPC_LAST_FRAG, msrpcLsarOpenPolicy2.getFlags()); // Verify that the policyHandle passed to the constructor is the one used // This is implicitly tested by the object being constructed without errors.Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java
assertEquals(0, request.getTimeoutMs()); assertTrue(request.isPersistent()); assertEquals(Smb2HandleCapabilities.SMB2_DHANDLE_FLAG_PERSISTENT, request.getFlags() & Smb2HandleCapabilities.SMB2_DHANDLE_FLAG_PERSISTENT); } @Test public void testDurableHandleV2RequestWithGuid() { HandleGuid guid = new HandleGuid();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java
// 1 ms = 10,000 * 100ns intervals return timeout100Ns / 10000L; } /** * Get the flags * @return the flags */ public int getFlags() { return flags; } /** * Check if this is a persistent handle * @return true if persistent */ public boolean isPersistent() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java
*/ public int getFlags() { return this.flags; } /** * Sets the flags field which contains flags in SMB 3.1.1 or encryption algorithm ID in SMB 3.0/3.0.2 * * @param flags * the flags to set */ public void setFlags(final int flags) { this.flags = flags; } /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Context.java
public ASN1ObjectIdentifier[] getSupportedMechs() { return SUPPORTED_MECHS; } /** * {@inheritDoc} * * @see jcifs.smb.SSPContext#getFlags() */ @Override public int getFlags() { int contextFlags = 0; if (this.gssContext.getCredDelegState()) { contextFlags |= NegTokenInit.DELEGATION; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13.5K bytes - Viewed (1) -
src/main/java/jcifs/smb/SSPContext.java
*/ boolean isPreferredMech(ASN1ObjectIdentifier selectedMech); /** * Gets the negotiated context flags. * @return context flags */ int getFlags(); /** * Gets the array of supported security mechanism OIDs. * @return array of supported mechanism OIDs */ ASN1ObjectIdentifier[] getSupportedMechs(); /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRegistration.java
/** * Gets the registration flags. * * @return the registration flags */ public int getFlags() { return flags; } /** * Sets the registration flags. * * @param flags the registration flags */ public void setFlags(int flags) { this.flags = flags; } /** * Gets the context handle. *Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 6.7K bytes - Viewed (0)