Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 187 for getSize (0.07 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: 2024-11-03 19:28
    - Last Modified: 2024-10-04 22:23
    - 14.7K bytes
    - Viewed (0)
  2. 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: 2024-11-03 00:10
    - Last Modified: 2018-07-01 13:12
    - 5.2K bytes
    - Viewed (0)
  3. 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: 2024-11-03 00:10
    - Last Modified: 2018-07-01 13:12
    - 5.5K bytes
    - Viewed (0)
  4. 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: 2024-11-03 00:10
    - Last Modified: 2019-03-22 21:10
    - 5.4K bytes
    - Viewed (0)
  5. 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: 2024-11-03 00:10
    - Last Modified: 2018-07-01 13:12
    - 6.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/Info.java

     */
    
    package jcifs.smb1.smb1;
    
    interface Info {
        int getAttributes();
        long getCreateTime();
        long getLastWriteTime();
        long getSize();
    Registered: 2024-11-03 00:10
    - Last Modified: 2019-03-22 21:10
    - 995 bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/SmbBasicFileInfo.java

        long getLastWriteTime ();
    
    
        /**
         * 
         * @return file last access time
         */
        long getLastAccessTime ();
    
    
        /**
         * 
         * @return file size
         */
        long getSize ();
    Registered: 2024-11-03 00:10
    - Last Modified: 2018-07-01 13:12
    - 1.3K 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: 2024-11-03 00:10
    - Last Modified: 2018-07-01 13:12
    - 8.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComQueryInformationResponse.java

        }
        public long getCreateTime() {
            return lastWriteTime + serverTimeZoneOffset;
        }
        public long getLastWriteTime() {
            return lastWriteTime + serverTimeZoneOffset;
        }
        public long getSize() {
            return fileSize;
        }
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int writeBytesWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
    Registered: 2024-11-03 00:10
    - Last Modified: 2019-03-22 21:10
    - 2.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/fscc/FileStandardInfo.java

        @Override
        public long getLastWriteTime () {
            return 0L;
        }
    
    
        @Override
        public long getLastAccessTime () {
            return 0L;
        }
    
    
        @Override
        public long getSize () {
            return this.endOfFile;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
    Registered: 2024-11-03 00:10
    - Last Modified: 2018-07-01 13:12
    - 3.3K bytes
    - Viewed (0)
Back to top