Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for get_size (0.17 sec)

  1. cmd/data-usage_test.go

    		{name: "dir1/dira/dbfile", size: 200000},
    		{name: "dir1/dira/dirasub/dcfile", size: 1000000},
    		{name: "dir1/dira/dirasub/sublevel3/dccccfile", size: 10},
    	}
    	createUsageTestFiles(t, base, bucket, files)
    
    	getSize := func(item scannerItem) (sizeS sizeSummary, err error) {
    		if item.Typ&os.ModeDir == 0 {
    			var s os.FileInfo
    			s, err = os.Stat(item.Path)
    			if err != nil {
    				return
    			}
    			sizeS.totalSize = s.Size()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

            int i;
    
            if( len > ( pipe_buf.length - used )) {
                byte[] tmp;
                int new_size;
    
                new_size = pipe_buf.length * 2;
                if( len > ( new_size - used )) {
                    new_size = len + used;
                }
                tmp = pipe_buf;
                pipe_buf = new byte[new_size];
                i = tmp.length - beg_idx;
                if( used > i ) { /* 2 chunks */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndXResponse.java

         */
        public final int getDataSize () {
            return this.fileDataSize;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbBasicFileInfo#getSize()
         */
        @Override
        public long getSize () {
            return getDataSize();
        }
    
    
        /**
         * @return the grantedAccess
         */
        public final int getGrantedAccess () {
            return this.grantedAccess;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java

         */
        public String getFileName () {
            return this.fileName;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbBasicFileInfo#getSize()
         */
        @Override
        public long getSize () {
            return getEndOfFile();
        }
    
    
        /**
         * @return the fileAttributes
         */
        public int getFileAttributes () {
            return this.fileAttributes;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.5K bytes
    - Viewed (0)
  5. cmd/endpoint-ellipses.go

    			return nil, config.ErrInvalidNumberOfErasureEndpoints(nil).Msg(msg)
    		}
    
    		// Final set size with all the symmetry accounted for.
    		setSize = commonSetDriveCount(commonSize, setCounts)
    	}
    
    	// Check whether setSize is with the supported range.
    	if !isValidSetSize(setSize) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponse.java

            }
            public long getCreateTime() {
                return createTime;
            }
            public long getLastWriteTime() {
                return lastWriteTime;
            }
            public long getSize() {
                return 0L;
            }
            public String toString() {
                return new String( "SmbQueryFileBasicInfo[" +
                    "createTime=" + new Date( createTime ) +
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/Info.java

     */
    
    package jcifs.smb1.smb1;
    
    interface Info {
        int getAttributes();
        long getCreateTime();
        long getLastWriteTime();
        long getSize();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 995 bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

         */
        public final long getEndOfFile () {
            return this.endOfFile;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbBasicFileInfo#getSize()
         */
        @Override
        public final long getSize () {
            return getEndOfFile();
        }
    
    
        /**
         * @return the fileAttributes
         */
        public final int getFileAttributes () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/SmbBasicFileInfo.java

        long getLastWriteTime ();
    
    
        /**
         * 
         * @return file last access time
         */
        long getLastAccessTime ();
    
    
        /**
         * 
         * @return file size
         */
        long getSize ();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java

         */
        public final long getEndOfFile () {
            return this.endOfFile;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbBasicFileInfo#getSize()
         */
        @Override
        public long getSize () {
            return getEndOfFile();
        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.4K bytes
    - Viewed (0)
Back to top