Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 84 for fileInfo (0.09 sec)

  1. cmd/erasure-server-pool.go

    				return true
    			case <-ctx.Done():
    				sendErr(context.Cause(ctx))
    				return false
    			}
    		}
    		for entry := range merged {
    			if opts.LatestOnly {
    				fi, err := entry.fileInfo(bucket)
    				if err != nil {
    					sendErr(err)
    					return
    				}
    				if opts.Filter != nil {
    					if opts.Filter(fi) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  2. cmd/erasure-object_test.go

    	parts7SC := storageclass.Config{
    		Standard: storageclass.StorageClass{
    			Parity: 5,
    		},
    	}
    
    	tests := []struct {
    		parts               []FileInfo
    		errs                []error
    		expectedReadQuorum  int
    		expectedWriteQuorum int
    		storageClassCfg     storageclass.Config
    		expectedError       error
    	}{
    		{parts1, errs1, 12, 12, parts1SC, nil},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  3. docs/debugging/xl-meta/main.go

    				r = f
    			}
    			if strings.HasSuffix(file, ".zip") {
    				zr, err := zip.NewReader(r.(io.ReaderAt), sz)
    				if err != nil {
    					return err
    				}
    				for _, file := range zr.File {
    					if file.FileInfo().IsDir() {
    						continue
    					}
    					if strings.HasSuffix(file.Name, "xl.meta") {
    						r, err := file.Open()
    						if err != nil {
    							return err
    						}
    						// Quote string...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  4. cmd/test-utils_test.go

    		zippedFile, err := file.Open()
    		if err != nil {
    			return err
    		}
    		err = func() (err error) {
    			defer zippedFile.Close()
    			extractedFilePath := filepath.Join(targetDir, file.Name)
    			if file.FileInfo().IsDir() {
    				return os.MkdirAll(extractedFilePath, file.Mode())
    			}
    			outputFile, err := os.OpenFile(extractedFilePath, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, file.Mode())
    			if err != nil {
    				return err
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  5. api/go1.txt

    pkg os, type File struct
    pkg os, type FileInfo interface { IsDir, ModTime, Mode, Name, Size, Sys }
    pkg os, type FileInfo interface, IsDir() bool
    pkg os, type FileInfo interface, ModTime() time.Time
    pkg os, type FileInfo interface, Mode() FileMode
    pkg os, type FileInfo interface, Name() string
    pkg os, type FileInfo interface, Size() int64
    pkg os, type FileInfo interface, Sys() interface{}
    pkg os, type FileMode uint32
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  6. cmd/object-handlers.go

    		"nodeId":    w.Header().Get(xhttp.AmzRequestHostID),
    	}
    	if sc == "" {
    		sc = storageclass.STANDARD
    	}
    
    	putObjectTar := func(reader io.Reader, info os.FileInfo, object string) error {
    		size := info.Size()
    
    		metadata := map[string]string{
    			xhttp.AmzStorageClass: sc, // save same storage-class as incoming stream.
    		}
    
    		actualSize := size
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  7. api/go1.12.txt

    pkg syscall (freebsd-386), func Fstatat(int, string, *Stat_t, int) error
    pkg syscall (freebsd-386), func Mknod(string, uint32, uint64) error
    pkg syscall (freebsd-386), type Dirent struct, Fileno uint64
    pkg syscall (freebsd-386), type Dirent struct, Namlen uint16
    pkg syscall (freebsd-386), type Dirent struct, Off int64
    pkg syscall (freebsd-386), type Dirent struct, Pad0 uint8
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jan 02 21:21:53 UTC 2019
    - 13.5K bytes
    - Viewed (0)
  8. cmd/os-dirent_fileino.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import "syscall"
    
    func direntInode(dirent *syscall.Dirent) uint64 {
    	return uint64(dirent.Fileno)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 950 bytes
    - Viewed (0)
  9. api/go1.3.txt

    pkg syscall (openbsd-386), func FcntlFlock(uintptr, int, *Flock_t) error
    pkg syscall (openbsd-386), func SendmsgN(int, []uint8, []uint8, Sockaddr, int) (int, error)
    pkg syscall (openbsd-386), type Dirent struct, Fileno uint64
    pkg syscall (openbsd-386), type Dirent struct, Off int64
    pkg syscall (openbsd-386), type Dirent struct, X__d_padding [4]uint8
    pkg syscall (openbsd-386), type FdSet struct, Bits [32]uint32
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Jun 02 02:45:00 UTC 2014
    - 117K bytes
    - Viewed (0)
  10. api/go1.1.txt

    pkg archive/tar, const TypeSymlink = 50
    pkg archive/tar, const TypeXGlobalHeader = 103
    pkg archive/tar, const TypeXHeader = 120
    pkg archive/tar, func FileInfoHeader(os.FileInfo, string) (*Header, error)
    pkg archive/tar, method (*Header) FileInfo() os.FileInfo
    pkg archive/zip, const Deflate = 8
    pkg archive/zip, const Store = 0
    pkg archive/zip, type FileHeader struct, CompressedSize64 uint64
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
Back to top