- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 497 for flags2 (0.05 seconds)
-
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
} @DisplayName("Should handle various share flag combinations") @ParameterizedTest @MethodSource("provideFlagCombinations") void testShareFlagCombinations(int flags, boolean expectedDfs) throws SMBProtocolDecodingException { // Given byte[] buffer = createValidResponseBuffer(0, flags, 0, 0); // When response.readBytesWireFormat(buffer, 0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java
*/ @Test void testConstructor_CreateAndOpen() { int flags = SmbFile.O_CREAT; smbComOpenAndX = new SmbComOpenAndX(fileName, access, flags, andx); assertEquals(0x11, smbComOpenAndX.openFunction); // OPEN_FN_CREATE | OPEN_FN_OPEN } /** * Test constructor with no special flags. */ @Test void testConstructor_OpenOnly() { int flags = 0;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt
byteCount: Int, ) { withLock { if (closed) throw IOException("closed") var flags = FLAG_NONE if (outFinished) flags = flags or FLAG_END_STREAM dataFrame(streamId, flags, source, byteCount) } } @Throws(IOException::class) fun dataFrame( streamId: Int, flags: Int, buffer: Buffer?, byteCount: Int, ) { frameHeader(Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed May 28 23:28:25 GMT 2025 - 11K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java
/** * Checks if a specific flag is set * @param flag the flag to check * @return true if the flag is set, false otherwise */ public boolean isFlagSet(final int flag) { return (flags & flag) == flag; } /** * Unsets a specific flag * @param flag the flag to unset */ public void unsetFlag(final int flag) { flags &= ~flag; } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6K bytes - Click Count (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
} @Test @DisplayName("Test all flag combinations for inheritance") void testAllFlagCombinationsForInheritance() { // Test each individual flag ace.flags = ACE.FLAGS_OBJECT_INHERIT; assertFalse(ace.isInherited()); ace.flags = ACE.FLAGS_CONTAINER_INHERIT; assertFalse(ace.isInherited()); ace.flags = ACE.FLAGS_NO_PROPAGATE;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessRegisterRequest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 2.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java
} /** * Gets the lease flags for this V2 request * @return the lease flags */ public int getLeaseFlags() { return leaseFlags; } /** * Sets the lease flags for this V2 request * @param leaseFlags the lease flags to set */ public void setLeaseFlags(int leaseFlags) { this.leaseFlags = leaseFlags; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 6.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
assertTrue(req instanceof ServerMessageBlock2); } @Test @DisplayName("Should set notify flags correctly") void testSetNotifyFlags() throws Exception { // Given int flags = Smb2ChangeNotifyRequest.SMB2_WATCH_TREE; // When request.setNotifyFlags(flags); // Then Field notifyFlagsField = Smb2ChangeNotifyRequest.class.getDeclaredField("notifyFlags");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/NtlmMessageTest.java
assertFalse(message.getFlag(0b0100), "Flag 0b0100 should not be set."); assertFalse(message.getFlag(0b0001), "Flag 0b0001 should not be set."); message.setFlags(0); // No flags set assertFalse(message.getFlag(0b1000), "No flags should be set."); } @Test void testSetFlag() { // Test setting a flag message.setFlags(0);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/Type2Message.java
* @param flags * The flags to apply to this message. * @param challenge * The challenge from the domain controller/server. * @param target * The authentication target. */ public Type2Message(final CIFSContext tc, final int flags, final byte[] challenge, final String target) { setFlags(flags); setChallenge(challenge);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.4K bytes - Click Count (0)