Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for getFree (0.09 sec)

  1. src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.java

            return FS_FULL_SIZE_INFO;
        }
    
    
        @Override
        public long getCapacity () {
            return this.alloc * this.sectPerAlloc * this.bytesPerSect;
        }
    
    
        @Override
        public long getFree () {
            return this.free * this.sectPerAlloc * this.bytesPerSect;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/fscc/FileFsSizeInformation.java

            return FS_SIZE_INFO;
        }
    
    
        @Override
        public long getCapacity () {
            return this.alloc * this.sectPerAlloc * this.bytesPerSect;
        }
    
    
        @Override
        public long getFree () {
            return this.free * this.sectPerAlloc * this.bytesPerSect;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/AllocInfo.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    interface AllocInfo {
        long getCapacity();
        long getFree();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 944 bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/AllocInfo.java

    public interface AllocInfo extends FileSystemInformation {
    
        /**
         * 
         * @return total capacity
         */
        long getCapacity ();
    
    
        /**
         * 
         * @return free space
         */
        long getFree ();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/fscc/SmbInfoAllocation.java

        }
    
    
        @Override
        public long getCapacity () {
            return this.alloc * this.sectPerAlloc * this.bytesPerSect;
        }
    
    
        @Override
        public long getFree () {
            return this.free * this.sectPerAlloc * this.bytesPerSect;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponse.java

            long free;
            int sectPerAlloc;
            int bytesPerSect;
    
            public long getCapacity() {
                return alloc * sectPerAlloc * bytesPerSect;
            }
            public long getFree() {
                return free * sectPerAlloc * bytesPerSect;
            }
            public String toString() {
                return new String( "SmbInfoAllocation[" +
                    "alloc=" + alloc + ",free=" + free +
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFile.java

                    this.size = allocInfo.getCapacity();
                    this.sizeExpiration = System.currentTimeMillis() + getContext().getConfig().getAttributeCacheTimeout();
                    return allocInfo.getFree();
                }
                return 0L;
            }
            catch ( CIFSException e ) {
                throw SmbException.wrap(e);
            }
        }
    
    
        /**
         * @return
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFile.java

            if( type == TYPE_SHARE ) {
                size = response.info.getCapacity();
                sizeExpiration = System.currentTimeMillis() + attrExpirationPeriod;
            }
    
            return response.info.getFree();
        }
    
    /**
     * Creates a directory with the path specified by this
     * <code>SmbFile</code>. For this method to be successful, the target
     * must not already exist. This method will fail when
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionResult.java

            } else if (requestType.equals(MetadataResolutionRequestTypeEnum.versionedGraph)) {
                return new MetadataGraph(getTree(), true, false);
            } else if (requestType.equals(MetadataResolutionRequestTypeEnum.scopedGraph)) {
                return new MetadataGraph(getTree(), true, true);
            }
            return null;
        }
        // ----------------------------------------------------------------------------
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTreeConnection.java

            return this.ctx.getConfig();
        }
    
    
        private synchronized SmbTreeImpl getTree () {
            SmbTreeImpl t = this.tree;
            if ( t != null ) {
                return t.acquire(false);
            }
            else if ( this.delegate != null ) {
                this.tree = this.delegate.getTree();
                return this.tree;
            }
            return t;
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
Back to top