Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for getFree (0.17 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 May 05 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/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 May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.5K bytes
    - Viewed (0)
  3. 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 May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.1K bytes
    - Viewed (0)
  4. 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 May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 5.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
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.6K 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 May 05 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/SmbFileHandle.java

    package jcifs;
    
    
    /**
     * Handle to an open file
     * 
     * @author mbechler
     *
     */
    public interface SmbFileHandle extends AutoCloseable {
    
        /**
         * @return the tree
         */
        SmbTreeHandle getTree ();
    
    
        /**
         * @return whether the file descriptor is valid
         */
        boolean isValid ();
    
    
        /**
         * @param lastWriteTime
         * @throws CIFSException
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/Handler.java

                        host != null && host.length() == 0 ) {
                spec = "//" + spec;
                limit += 2;
            }
            super.parseURL( u, spec, start, limit );
            path = u.getPath();
            ref = u.getRef();
            if (ref != null) {
                path += '#' + ref;
            }
            port = u.getPort();
            if( port == -1 ) {
                port = getDefaultPort();
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFileInputStream.java

                throw new IOException("Bad file descriptor");
            }
            // ensure file is open
            try ( SmbFileHandleImpl fd = ensureOpen();
                  SmbTreeHandleImpl th = fd.getTree() ) {
    
                /*
                 * Read AndX Request / Response
                 */
    
                if ( log.isTraceEnabled() ) {
                    log.trace("read: fid=" + fd + ",off=" + off + ",len=" + len);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

        @Override
        public int sendrecv ( byte[] buf, int off, int length, byte[] inB, int maxRecvSize ) throws IOException {
            try ( SmbFileHandleImpl fh = ensureOpen();
                  SmbTreeHandleImpl th = fh.getTree() ) {
    
                if ( th.isSMB2() ) {
                    Smb2IoctlRequest req = new Smb2IoctlRequest(th.getConfig(), Smb2IoctlRequest.FSCTL_PIPE_TRANSCEIVE, fh.getFileId(), inB);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Apr 13 17:05:22 GMT 2020
    - 10.3K bytes
    - Viewed (0)
Back to top