Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 550 for flags2 (0.21 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/create/LeaseV1CreateContextRequestTest.java

            // Verify lease state at offset 40 (24 + 16 for key)
            assertEquals(testState, SMBUtil.readInt4(buffer, 40));
    
            // Verify lease flags at offset 44 (40 + 4 for state)
            assertEquals(0, SMBUtil.readInt4(buffer, 44));
    
            // Verify lease duration at offset 48 (44 + 4 for flags) - should be 0 (reserved)
            assertEquals(0, SMBUtil.readInt8(buffer, 48));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

            }
    
            /**
             * DFS flags
             */
            public int flags;
            /**
             * The DFS name
             */
            public String dfs_name;
    
            @Override
            public void encode(NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_long(this.flags);
                _dst.enc_ndr_referent(this.dfs_name, 1);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcGetMembersInAliasTest.java

            Field flagsField = DcerpcMessage.class.getDeclaredField("flags");
            flagsField.setAccessible(true);
            int flagsValue = (int) flagsField.get(request);
            int expectedFlags = DcerpcConstants.DCERPC_FIRST_FRAG | DcerpcConstants.DCERPC_LAST_FRAG;
            assertEquals(expectedFlags, flagsValue, "The 'flags' field should be initialized to DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG.");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            assertEquals(null, bothNullResponse.getFileName());
        }
    
        @Test
        @DisplayName("Test multiple close flags combinations")
        void testMultipleCloseFlagsCombinations() {
            // Test combining multiple flags
            int combinedFlags = 0x0003; // Multiple flags set
            request.setCloseFlags(combinedFlags);
    
            byte[] buffer = new byte[256];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. cmd/batch-replicate_test.go

        # sessionToken: SESSION-TOKEN # Optional only available when rotating credentials are used
    
      # NOTE: All flags are optional
      # - filtering criteria only applies for all source objects match the criteria
      # - configurable notification endpoints
      # - configurable retries for the job (each retry skips successfully previously replaced objects)
      flags:
        filter:
          newerThan: "7d10h31s" # match objects newer than this value (e.g. 7d10h31s)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/msrpc/MsrpcEnumerateAliasesInDomain.java

         * @param acct_flags account flags to filter the enumeration
         * @param sam the SAM array to store the enumeration results
         */
        public MsrpcEnumerateAliasesInDomain(final SamrDomainHandle domainHandle, final int acct_flags, final samr.SamrSamArray sam) {
            super(domainHandle, 0, acct_flags, null, 0);
            this.sam = sam;
            this.ptype = 0;
            this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcEnumerateAliasesInDomain.java

         * @param acct_flags account flags to filter the enumeration
         * @param sam the SAM array to store the enumeration results
         */
        public MsrpcEnumerateAliasesInDomain(final SamrDomainHandle domainHandle, final int acct_flags, final samr.SamrSamArray sam) {
            super(domainHandle, 0, acct_flags, null, 0);
            this.sam = sam;
            ptype = 0;
            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
Back to top