Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 385 for sflags2 (0.05 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java

         * It should initialize the command and flags2 with default values.
         */
        @Test
        void testConstructor() {
            // Verify that the command is set to SMB_COM_NEGOTIATE
            assertEquals(ServerMessageBlock.SMB_COM_NEGOTIATE, smbComNegotiate.command,
                    "Constructor should set the command to SMB_COM_NEGOTIATE.");
            // Verify that flags2 is set to the default flags
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

        private final int impersonationLevel;
        private long allocationSize;
        private final byte securityFlags;
        private int namelen_index;
    
        int flags0, desiredAccess;
    
        SmbComNTCreateAndX(final String name, final int flags, final int access, final int shareAccess, final int extFileAttributes,
                final int createOptions, final ServerMessageBlock andx) {
            super(andx);
            this.path = name;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java

        public String toString() {
            return ("Trans2FindFirst2[" + super.toString() + ",searchAttributes=0x" + Hexdump.toHexString(this.searchAttributes, 2)
                    + ",searchCount=" + this.maxItems + ",flags=0x" + Hexdump.toHexString(this.tflags, 2) + ",informationLevel=0x"
                    + Hexdump.toHexString(this.informationLevel, 3) + ",searchStorageType=" + this.searchStorageType + ",filename=" + this.path
                    + "]");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

                bufferIndex = headerStart + andxOffset;
    
                andx.headerStart = headerStart;
                andx.command = andxCommand;
                andx.errorCode = errorCode;
                andx.flags = flags;
                andx.flags2 = flags2;
                andx.tid = tid;
                andx.pid = pid;
                andx.uid = uid;
                andx.mid = mid;
                andx.useUnicode = useUnicode;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbConstantsTest.java

            assertEquals(0x40, SmbConstants.FLAGS_NOTIFY_OF_MODIFY_ACTION);
            assertEquals(0x80, SmbConstants.FLAGS_RESPONSE);
        }
    
        @Test
        @DisplayName("Should define SMB flags2 constants")
        void testSmbFlags2() {
            assertEquals(0x0000, SmbConstants.FLAGS2_NONE);
            assertEquals(0x0001, SmbConstants.FLAGS2_LONG_FILENAMES);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            }
        }
    
        void send(final ServerMessageBlock request, final ServerMessageBlock response) throws SmbException {
    
            connect(); /* must negotiate before we can test flags2, useUnicode, etc */
    
            request.flags2 |= flags2;
            request.useUnicode = useUnicode;
            request.response = response; /* needed by sign */
            if (request.digest == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbConstants.java

         * access flags.
         */
        int FILE_SHARE_READ = 0x01;
        /**
         * When specified as the <code>shareAccess</code> constructor parameter,
         * other SMB clients will be permitted to write to the target file while
         * this file is open. This constant may be logically OR'd with other share
         * access flags.
         */
        int FILE_SHARE_WRITE = 0x02;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. cmd/sftp-server-driver.go

    	// This is not timing the actual read operation, but the time it takes to prepare the reader.
    	stopFn := globalSftpMetrics.log(r, f.AccessKey())
    	defer stopFn(0, err)
    
    	flags := r.Pflags()
    	if !flags.Read {
    		// sanity check
    		return nil, os.ErrInvalid
    	}
    
    	bucket, object := path2BucketObject(r.Filepath)
    	if bucket == "" {
    		return nil, errors.New("bucket name cannot be empty")
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 10 16:35:49 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

        }
    
        @Override
        public String getPath() {
            return this.path;
        }
    
        /**
         * Get the referral flags
         *
         * @return the rflags
         */
        public int getFlags() {
            return this.rflags;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.dfs.DfsReferralDataInternal#setCacheMap(java.util.Map)
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            // Status (4 bytes) - success
            buffer[5] = 0x00;
            buffer[6] = 0x00;
            buffer[7] = 0x00;
            buffer[8] = 0x00;
    
            // Flags
            buffer[9] = 0x00;
    
            // Flags2 (2 bytes)
            buffer[10] = 0x00;
            buffer[11] = 0x00;
    
            // Process ID High (2 bytes)
            buffer[12] = 0x00;
            buffer[13] = 0x00;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
Back to top