Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for fs (0.15 sec)

  1. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.java

        /**
         * 
         * @param config
         * @param informationLevel
         */
        public Trans2QueryFSInformation ( Configuration config, int informationLevel ) {
            super(config, SMB_COM_TRANSACTION2, TRANS2_QUERY_FS_INFORMATION);
            this.informationLevel = informationLevel;
            this.totalParameterCount = 2;
            this.totalDataCount = 0;
            this.maxParameterCount = 0;
            this.maxDataCount = 800;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java

        private static Decodable createFilesystemInformation ( byte infoClass ) throws SMBProtocolDecodingException {
            switch ( infoClass ) {
            case FileSystemInformation.FS_FULL_SIZE_INFO:
                return new FileFsFullSizeInformation();
            case FileSystemInformation.FS_SIZE_INFO:
                return new FileFsSizeInformation();
            default:
                throw new SMBProtocolDecodingException("Unknown filesystem info class " + infoClass);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformation.java

    class Trans2QueryFSInformation extends SmbComTransaction {
    
        private int informationLevel;
    
        Trans2QueryFSInformation( int informationLevel ) {
            command = SMB_COM_TRANSACTION2;
            subCommand = TRANS2_QUERY_FS_INFORMATION;
            this.informationLevel = informationLevel;
            totalParameterCount = 2;
            totalDataCount = 0;
            maxParameterCount = 0;
            maxDataCount = 800;
            maxSetupCount = 0;
        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java

            case FileSystemInformation.SMB_INFO_ALLOCATION:
                inf = new SmbInfoAllocation();
                break;
            case FileSystemInformation.FS_SIZE_INFO:
                inf = new FileFsSizeInformation();
                break;
            case FileSystemInformation.FS_FULL_SIZE_INFO:
                inf = new FileFsFullSizeInformation();
                break;
            default:
                return null;
            }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/fscc/FileFsSizeInformation.java

    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.fscc.FileSystemInformation#getFileSystemInformationClass()
         */
        @Override
        public byte getFileSystemInformationClass () {
            return FS_SIZE_INFO;
        }
    
    
        @Override
        public long getCapacity () {
            return this.alloc * this.sectPerAlloc * this.bytesPerSect;
        }
    
    
        @Override
        public long getFree () {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.java

    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.fscc.FileSystemInformation#getFileSystemInformationClass()
         */
        @Override
        public byte getFileSystemInformationClass () {
            return FS_FULL_SIZE_INFO;
        }
    
    
        @Override
        public long getCapacity () {
            return this.alloc * this.sectPerAlloc * this.bytesPerSect;
        }
    
    
        @Override
        public long getFree () {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/FileAttributesTest.java

            }
        }
    
    
        @Test
        public void testShareFreeSize () throws IOException {
            try ( SmbResource f = getDefaultShareRoot() ) {
                long fs = f.getDiskFreeSpace();
                Assume.assumeTrue("No free space reported", fs != 0);
            }
        }
    
    
        @Test
        public void testFileIndex () throws IOException {
            try ( SmbFile f = createTestFile() ) {
                try {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponse.java

    class Trans2QueryFSInformationResponse extends SmbComTransactionResponse {
    
        // information levels
        static final int SMB_INFO_ALLOCATION = 1;
        static final int SMB_QUERY_FS_SIZE_INFO = 0x103;
        static final int SMB_FS_FULL_SIZE_INFORMATION = 1007;
    
        class SmbInfoAllocation implements AllocInfo {
            long alloc;                  // Also handles SmbQueryFSSizeInfo
            long free;
            int sectPerAlloc;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 5.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/fscc/FileSystemInformation.java

        /**
         * 
         */
        public static final byte SMB_INFO_ALLOCATION = -1;
    
        /**
         * 
         */
        public static final byte FS_SIZE_INFO = 3;
        /**
         * 
         */
        public static final byte FS_FULL_SIZE_INFO = 7;
    
    
        /**
         * 
         * @return file system information class
         */
        byte getFileSystemInformationClass ();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

        public static final byte TRANS2_FIND_FIRST2 = (byte) 0x01;
        /**
         * 
         */
        public static final byte TRANS2_FIND_NEXT2 = (byte) 0x02;
        /**
         * 
         */
        public static final byte TRANS2_QUERY_FS_INFORMATION = (byte) 0x03;
        /**
         * 
         */
        public static final byte TRANS2_QUERY_PATH_INFORMATION = (byte) 0x05;
        /**
         * 
         */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun May 17 13:43:42 GMT 2020
    - 13.2K bytes
    - Viewed (0)
Back to top