- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 468 for tflags (0.04 seconds)
-
src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java
for (int flag : new int[] { 0, 0xFF, 0x01, 0x80 }) { TestMessage m = new TestMessage(); m.ptype = 0; m.flags = flag; NdrBuffer buf = new NdrBuffer(new byte[1024], 0); m.encode(buf); // Reset and skip to flags field buf.setIndex(3); assertEquals(flag, buf.dec_ndr_small()); } }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 7K 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
// 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 message.setFlags(0b1000); message.setFlag(0b0001, false);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/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/internal/smb2/lock/Smb2LockTest.java
@DisplayName("Should encode consistently with various flag values") @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)); }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) -
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) -
internal/grid/muxserver.go
return case <-outBlock: } msg := message{ MuxID: m.ID, Op: OpMuxServerMsg, Flags: c.baseFlags, } if !ok { hErr := handlerErr.Load() if debugPrint { fmt.Println("muxServer: Mux", m.ID, "send EOF", hErr) } msg.Flags |= FlagEOF if hErr != nil { msg.Flags |= FlagPayloadIsErr msg.Payload = []byte(*hErr) } msg.setZeroPayloadFlag() m.send(msg)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 9.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakResponse.java
* @return the lease state */ public int getLeaseState() { return leaseState; } /** * Gets the lease flags from the break response * @return the lease flags */ public int getLeaseFlags() { return flags; } /** * Gets the lease duration from the break response * @return the lease duration */ public long getLeaseDuration() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 3.7K bytes - Click Count (0)