Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 326 for FLAGS (0.01 sec)

  1. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextResponse.java

         * @return the granted lease state
         */
        public int getLeaseState() {
            return leaseState;
        }
    
        /**
         * Gets the lease flags from the server response
         * @return the lease flags
         */
        public int getLeaseFlags() {
            return leaseFlags;
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponse.java

        private final byte[] serverGuid = new byte[16];
        private int securityMode;
        private int dialect;
    
        /**
         * Gets the server capabilities
         *
         * @return the capabilities flags from the server
         */
        public int getCapabilities() {
            return this.capabilities;
        }
    
        /**
         * Gets the server GUID
         *
         * @return the server's unique identifier
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

            @DisplayName("Should preserve other flags when setting signed flag")
            void testSignPreservesOtherFlags() {
                // Set initial flags with some existing flags
                int initialFlags = 0x00000001 | 0x00000002 | 0x00000004;
                SMBUtil.writeInt4(initialFlags, data, 16);
    
                digest.sign(data, 0, data.length, request, response);
    
                int flags = SMBUtil.readInt4(data, 16);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
Back to top