- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 313 for Flag (0.02 sec)
-
src/main/java/jcifs/spnego/NegTokenInit.java
/** * Checks if a specific context flag is set * @param flag the context flag to check * @return true if the flag is set, false otherwise */ public boolean getContextFlag(final int flag) { return (getContextFlags() & flag) == flag; } /** * Sets or clears a specific context flag * @param flag the context flag to set or clear
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/dcerpc/DcerpcMessage.java
/** * Check if a specific flag is set. * @param flag the flag to check * @return whether flag is set */ public boolean isFlagSet(final int flag) { return (this.flags & flag) == flag; } /** * Remove flag * * @param flag the flag to remove */ public void unsetFlag(final int flag) { this.flags &= ~flag; } /** * Set 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/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java
public static final byte SMB2_SHARE_TYPE_PRINT = 0x3; /** * Share flag indicating manual caching of documents. */ public static final int SMB2_SHAREFLAG_MANUAL_CACHING = 0x0; /** * Share flag indicating automatic caching of documents. */ public static final int SMB2_SHAREFLAG_AUTO_CACHING = 0x10; /** * Share flag indicating automatic caching of programs and documents. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
/** Lock and read write and unlock flag */ int FLAGS_LOCK_AND_READ_WRITE_AND_UNLOCK = 0x01; /** Receive buffer posted flag */ int FLAGS_RECEIVE_BUFFER_POSTED = 0x02; /** Path names are caseless flag */ int FLAGS_PATH_NAMES_CASELESS = 0x08; /** Path names canonicalized flag */ int FLAGS_PATH_NAMES_CANONICALIZED = 0x10; /** Oplock requested or granted flag */ int FLAGS_OPLOCK_REQUESTED_OR_GRANTED = 0x20;
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/test/java/jcifs/ntlmssp/NtlmMessageTest.java
message.setFlag(0b0100, false); assertEquals(0, message.getFlags(), "Flag 0b0100 should be cleared."); // Test setting a flag that is already set message.setFlags(0b1000); message.setFlag(0b1000, true); assertEquals(0b1000, message.getFlags(), "Setting an already set flag should not change other flags."); // Test clearing a flag that is not set
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/dtyp/SecurityInfo.java
*/ public interface SecurityInfo extends Decodable { /** * Flag indicating that owner security information is requested or being set. */ int OWNER_SECURITY_INFO = 0x1; /** * Flag indicating that group security information is requested or being set. */ int GROUP_SECURITY_INFO = 0x2; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java
* Returns the status of the specified flag. * * @param flag The flag to test (i.e., <code>NTLMSSP_NEGOTIATE_OEM</code>). * @return A <code>boolean</code> indicating whether the flag is set. */ public boolean getFlag(final int flag) { return (getFlags() & flag) != 0; } /** * Sets or clears the specified flag. * * @param flag The flag to set/clear (i.e.,
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
void testIsShareDfsWithFlags() throws SMBProtocolDecodingException { // Test with DFS flag only byte[] buffer = createValidResponseBuffer(0, 0x1, 0, 0); response.readBytesWireFormat(buffer, 0); assertTrue(response.isShareDfs()); // Test with DFS_ROOT flag only response = new Smb2TreeConnectResponse(mockConfig); buffer = createValidResponseBuffer(0, 0x2, 0, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/JobExecutorTest.java
final AtomicBoolean flag = new AtomicBoolean(false); ShutdownListener listener = new ShutdownListener() { @Override public void onShutdown() { flag.set(true); } }; assertFalse(flag.get()); listener.onShutdown(); assertTrue(flag.get()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
@DisplayName("Individual flag values are correctly set and retrieved") void testIndividualFlagValues(int flag) { NegTokenInit init = new NegTokenInit(); // Initially false assertFalse(init.getContextFlag(flag)); // Set to true init.setContextFlag(flag, true); assertTrue(init.getContextFlag(flag));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0)