Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for getFree (0.22 sec)

  1. 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();
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 944 bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/AllocInfo.java

    public interface AllocInfo extends FileSystemInformation {
    
        /**
         * 
         * @return total capacity
         */
        long getCapacity ();
    
    
        /**
         * 
         * @return free space
         */
        long getFree ();
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.1K bytes
    - Viewed (0)
  3. 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
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.5K bytes
    - Viewed (0)
  4. 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
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.6K bytes
    - Viewed (0)
  5. 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 +
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 5.1K bytes
    - Viewed (0)
  6. 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
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.7K 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
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K 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
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  9. 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;
        }
        // ----------------------------------------------------------------------------
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 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;
        }
    
    
        /**
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:50:16 GMT 2020
    - 31K bytes
    - Viewed (0)
Back to top