- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 463 for Flags2 (0.44 seconds)
-
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) -
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/main/java/jcifs/internal/witness/WitnessRegistration.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Mon Aug 25 14:34:10 GMT 2025 - 6.7K 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
void testGetAndSetFlags() { // Test setting and getting flags int testFlags = 0x12345678; message.setFlags(testFlags); assertEquals(testFlags, message.getFlags(), "Flags should be set and retrieved correctly."); } @Test void testGetFlag() { // Test getting individual flags message.setFlags(0b1010); // Set flags: 8 (0x8) and 2 (0x2)
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/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
@ValueSource(ints = { 0, 1, 2, 4, 16, 0xFF, 0xFFFF, 0xFFFFFF, 0x7FFFFFFF, -1 }) void testEncodingWithVariousFlags(int flags) { lock = new Smb2Lock(1024L, 2048L, flags); int encoded = lock.encode(buffer, 0); assertEquals(24, encoded); assertEquals(flags, SMBUtil.readInt4(buffer, 16)); } @Test @DisplayName("Should encode multiple locks sequentially")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbNamedPipeTest.java
@DisplayName("Second constructor sets unshared based on flags") void secondCtorUnsharedFlagPath() throws Exception { // Arrange: include UNSHARED flag to exercise that branch int flags = SmbPipeResource.PIPE_TYPE_RDWR | SmbPipeResource.PIPE_TYPE_UNSHARED; // Act SmbNamedPipe pipe = new SmbNamedPipe("smb://server/IPC$/foo", flags, ctx());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java
return new Smb2IoctlResponse(tc.getConfig(), this.outputBuffer, this.controlCode); } /** * Set the IOCTL flags * @param flags the flags to set */ public void setFlags(final int flags) { this.flags = flags; } /** * Set the maximum input response size * @param maxInputResponse the maxInputResponse to set */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 9.4K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/Type1MessageTest.java
void testType1MessageWithFlags() { // Given int flags = NtlmFlags.NTLMSSP_NEGOTIATE_UNICODE | NtlmFlags.NTLMSSP_NEGOTIATE_NTLM | NtlmFlags.NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED; // When Type1Message type1 = new Type1Message(mockContext, flags, null, null); // Then // Note: Constructor sets default flags OR'd with provided flags
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.1K bytes - Click Count (0) -
cmd/batch-handlers.go
skip := func(oi ObjectInfo) (ok bool) { if r.Flags.Filter.OlderThan > 0 && time.Since(oi.ModTime) < r.Flags.Filter.OlderThan.D() { // skip all objects that are newer than specified older duration return true } if r.Flags.Filter.NewerThan > 0 && time.Since(oi.ModTime) >= r.Flags.Filter.NewerThan.D() {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 63.5K bytes - Click Count (1)