Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 411 for Flags (0.02 sec)

  1. src/test/java/jcifs/ACETest.java

            }
        }
    
        @Nested
        @DisplayName("Inheritance Flags Constants Tests")
        class InheritanceFlagsTests {
    
            @Test
            @DisplayName("Should have correct values for inheritance flags")
            void shouldHaveCorrectInheritanceFlags() {
                assertEquals(0x01, ACE.FLAGS_OBJECT_INHERIT, "FLAGS_OBJECT_INHERIT should be 0x01");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbResource.java

        /**
         * Opens an input stream reading the file (read only)
         *
         * @param flags
         *            open flags
         * @param access
         *            desired access flags
         * @param sharing
         *            flags indicating for which operations others may open the file (FILE_SHARING_*)
         * @return input stream, needs to be closed when finished
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  3. cmd/admin-router.go

    // this behavior.
    func adminMiddleware(f http.HandlerFunc, flags ...hFlag) http.HandlerFunc {
    	// Collect all flags with bitwise-OR and assign operator
    	var handlerFlags hFlag
    	for _, flag := range flags {
    		handlerFlags |= flag
    	}
    
    	// Get name of the handler using reflection.
    	handlerName := getHandlerName(f, "adminAPIHandlers")
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/PacLogonInfo.java

            return this.extraSids;
        }
    
        /**
         * Returns the user account control flags.
         * @return the user account control value
         */
        public int getUserAccountControl() {
            return this.userAccountControl;
        }
    
        /**
         * Returns the user flags indicating PAC content.
         * @return the user flags value
         */
        public int getUserFlags() {
            return this.userFlags;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                // Therefore the method will always return false unless flags has all 0x00 bits set
                // This test verifies actual behavior
                testBlock.setFlags((byte) 0x00);
                assertFalse(testBlock.isResolveInDfs());
    
                // The correct implementation should check flags2, not flags
                testBlock.addFlags2(SmbConstants.FLAGS2_RESOLVE_PATHS_IN_DFS);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFile.java

        }
    
        /**
         * Sets the create disposition on an SMB2 create request based on flags
         *
         * @param req the SMB2 create request
         * @param flags the file open flags
         */
        private static void setCreateDisposition(final Smb2CreateRequest req, final int flags) {
            if ((flags & SmbConstants.O_TRUNC) == O_TRUNC && (flags & SmbConstants.O_CREAT) == O_CREAT) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java

        public void testEncoding() {
            byte[] buffer = new byte[256];
            int encodedSize = context.encode(buffer, 0);
    
            assertTrue(encodedSize > 8); // Minimum size: count + padding + flags + algorithms
            assertEquals(context.size(), encodedSize);
        }
    
        @Test
        @DisplayName("Test context decoding")
        public void testDecoding() throws SMBProtocolDecodingException {
            // Encode first
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/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(flags);
                _dst.enc_ndr_referent(dfs_name, 1);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SID.java

         * @param auth the authentication credentials to use
         * @param flags resolution flags
         * @return array of SIDs representing group members
         * @throws IOException if there is an error retrieving group members
         */
        public SID[] getGroupMemberSids(final String authorityServerName, final NtlmPasswordAuthentication auth, final int flags)
                throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/ServerData.java

         * Creates an empty server data container to be populated during SMB negotiation.
         */
        public ServerData() {
            // Default constructor
        }
    
        /**
         * Server flags from the SMB header.
         */
        public byte sflags;
        /**
         * Server flags2 field from the SMB header.
         */
        public int sflags2;
        /**
         * Maximum number of outstanding multiplex requests.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
Back to top