Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 463 for flags2 (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

        }
    
        @Test
        @DisplayName("Should set and get flags")
        void testFlags() {
            // Given
            int flags = 0x0001; // Encrypted flag
    
            // When
            transformHeader.setFlags(flags);
    
            // Then
            assertEquals(flags, transformHeader.getFlags());
        }
    
        @Test
        @DisplayName("Should set and get session ID")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            // When - Create new request
            Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(mockConfig, TEST_PATH);
    
            // Then - Tree flags should be initialized to 0
            int flags = (int) treeFlagsField.get(req);
            assertEquals(0, flags);
        }
    
        @Test
        @DisplayName("Should handle maximum path length")
        void testMaximumPathLength() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakNotification.java

         * @return the break reason
         */
        public int getBreakReason() {
            return breakReason;
        }
    
        /**
         * Gets the lease flags from the notification
         * @return the lease flags
         */
        public int getLeaseFlags() {
            return flags;
        }
    
        /**
         * Gets the access mask hint for optimizing lease handling
         * @return the access mask hint
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java

        }
    
        /**
         * Gets the lease flags for this request
         * @return the lease flags
         */
        public int getLeaseFlags() {
            return leaseFlags;
        }
    
        /**
         * Sets the lease flags for this request
         * @param leaseFlags the lease flags to set
         */
        public void setLeaseFlags(int leaseFlags) {
            this.leaseFlags = leaseFlags;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/TreeConnectResponseTest.java

                // Test with both flags
                setPrivateField(response, "shareFlags",
                        Smb2TreeConnectResponse.SMB2_SHAREFLAG_DFS | Smb2TreeConnectResponse.SMB2_SHAREFLAG_DFS_ROOT);
                assertTrue(response.isShareDfs(), "Should detect DFS from combined flags");
    
                // Test without DFS flags
                setPrivateField(response, "shareFlags", 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect2Test.java

            Field flagsField = DcerpcMessage.class.getDeclaredField("flags");
            flagsField.setAccessible(true);
            int flagsValue = (int) flagsField.get(msrpcSamrConnect2);
            int expectedFlags = DcerpcConstants.DCERPC_FIRST_FRAG | DcerpcConstants.DCERPC_LAST_FRAG;
            assertEquals(expectedFlags, flagsValue, "The 'flags' field should be set to DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. cmd/batch-replicate.go

    		return false
    	}
    }
    
    // BatchJobReplicateV1 v1 of batch job replication
    type BatchJobReplicateV1 struct {
    	APIVersion string                  `yaml:"apiVersion" json:"apiVersion"`
    	Flags      BatchJobReplicateFlags  `yaml:"flags" json:"flags"`
    	Target     BatchJobReplicateTarget `yaml:"target" json:"target"`
    	Source     BatchJobReplicateSource `yaml:"source" json:"source"`
    
    	clnt *miniogo.Core `msg:"-"`
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. docs/smb3-features/06-witness-protocol-design.md

                this.address = address;
                this.flags = address.getAddress().length == 4 ? IPV4 : IPV6;
            }
            
            public InetAddress getAddress() { return address; }
            public int getFlags() { return flags; }
            public boolean isIPv4() { return (flags & IPV4) != 0; }
            public boolean isIPv6() { return (flags & IPV6) != 0; }
        }
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/ACE.java

         * @return true if this ACE is inherited, false if it is direct
         */
        public boolean isInherited() {
            return (flags & FLAGS_INHERITED) != 0;
        }
    
        /**
         * Returns the flags for this ACE. The <code>isInherited()</code>
         * method checks the <code>FLAGS_INHERITED</code> bit in these flags.
         * @return the ACE flags
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

        }
    
        @Test
        @DisplayName("Test SMB create flags setter")
        void testSetSmbCreateFlags() {
            request = new Smb2CreateRequest(mockConfig, "test.txt");
    
            long flags = 0x1234567890ABCDEFL;
            request.setSmbCreateFlags(flags);
    
            byte[] buffer = new byte[1024];
            request.writeBytesWireFormat(buffer, 0);
    
            // Verify flags are written at correct offset (8-15)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top