Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 187 for getSize (0.08 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/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)
  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: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 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: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 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: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 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: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 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: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 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: 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/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: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 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: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.3K bytes
    - Viewed (0)
Back to top