Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 138 for Files (0.16 sec)

  1. cmd/s3-zip-handlers.go

    	}
    	if err != nil {
    		return ListObjectsV2Info{}, err
    	}
    
    	files, err := zipindex.DeserializeFiles(zipInfo)
    	if err != nil {
    		return ListObjectsV2Info{}, err
    	}
    
    	sort.Slice(files, func(i, j int) bool {
    		return files[i].Name < files[j].Name
    	})
    
    	var (
    		count           int
    		isTruncated     bool
    		nextToken       string
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  2. internal/s3select/json/preader_test.go

    import (
    	"bytes"
    	"io"
    	"os"
    	"path/filepath"
    	"testing"
    
    	"github.com/minio/minio/internal/s3select/sql"
    )
    
    func TestNewPReader(t *testing.T) {
    	files, err := os.ReadDir("testdata")
    	if err != nil {
    		t.Fatal(err)
    	}
    	for _, file := range files {
    		t.Run(file.Name(), func(t *testing.T) {
    			f, err := os.Open(filepath.Join("testdata", file.Name()))
    			if err != nil {
    				t.Fatal(err)
    			}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 2.5K bytes
    - Viewed (0)
  3. cmd/sftp-server-driver.go

    		return nil, err
    	}
    
    	switch r.Method {
    	case "List":
    		var files []os.FileInfo
    
    		bucket, prefix := path2BucketObject(r.Filepath)
    		if bucket == "" {
    			buckets, err := clnt.ListBuckets(r.Context())
    			if err != nil {
    				return nil, err
    			}
    
    			for _, bucket := range buckets {
    				files = append(files, &minioFileInfo{
    					p:     bucket.Name,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  4. src/cmd/api/main_test.go

    	filenames := append(append([]string{}, info.GoFiles...), info.CgoFiles...)
    
    	// Parse package files.
    	var files []*ast.File
    	for _, file := range filenames {
    		f, err := w.parseFile(dir, file)
    		if err != nil {
    			log.Fatalf("error parsing package %s: %s", name, err)
    		}
    		files = append(files, f)
    	}
    
    	// Type-check package files.
    	var sizes types.Sizes
    	if w.context != nil {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  5. internal/disk/stat_freebsd.go

    	if err != nil {
    		return Info{}, err
    	}
    	reservedBlocks := s.Bfree - uint64(s.Bavail)
    	info = Info{
    		Total:  uint64(s.Bsize) * (s.Blocks - reservedBlocks),
    		Free:   uint64(s.Bsize) * uint64(s.Bavail),
    		Files:  s.Files,
    		Ffree:  uint64(s.Ffree),
    		FSType: getFSType(s.Fstypename[:]),
    	}
    	if info.Free > info.Total {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  6. cmd/config-dir.go

    import (
    	"os"
    	"path/filepath"
    
    	homedir "github.com/mitchellh/go-homedir"
    )
    
    const (
    	// Default minio configuration directory where below configuration files/directories are stored.
    	defaultMinioConfigDir = ".minio"
    
    	// Directory contains below files/directories for HTTPS configuration.
    	certsDir = "certs"
    
    	// Directory contains all CA certificates other than system defaults for HTTPS.
    	certsCADir = "CAs"
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 3K bytes
    - Viewed (0)
  7. internal/disk/stat_linux_s390x.go

    	if err != nil {
    		return Info{}, err
    	}
    	reservedBlocks := s.Bfree - s.Bavail
    	info = Info{
    		Total:  uint64(s.Frsize) * (s.Blocks - reservedBlocks),
    		Free:   uint64(s.Frsize) * s.Bavail,
    		Files:  s.Files,
    		Ffree:  s.Ffree,
    		FSType: getFSType(s.Type),
    	}
    	// Check for overflows.
    	// https://github.com/minio/minio/issues/8035
    	// XFS can show wrong values at times error out
    	// in such scenarios.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 2.6K bytes
    - Viewed (2)
  8. cmd/erasure-multipart.go

    		if disk == nil {
    			continue
    		}
    
    		if !disk.IsOnline() {
    			continue
    		}
    
    		break
    	}
    
    	g := errgroup.WithNErrs(len(req.Files)).WithConcurrency(32)
    
    	partsInfo := make([]ObjectPartInfo, len(req.Files))
    	for i, file := range req.Files {
    		file := file
    		partN := i + start
    		i := i
    
    		g.Go(func() error {
    			buf, err := disk.ReadAll(ctx, minioMetaMultipartBucket, pathJoin(partPath, file))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  9. src/archive/tar/reader.go

    	// Externally, Next iterates through the tar archive as if it is a series of
    	// files. Internally, the tar format often uses fake "files" to add meta
    	// data that describes the next file. These meta data "files" should not
    	// normally be visible to the outside. As such, this loop iterates through
    	// one or more "header files" until it finds a "normal file".
    	format := FormatUSTAR | FormatPAX | FormatGNU
    	for {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  10. misc/go_android_exec/main.go

    		modPath = parts[2]
    		modDir = parts[3]
    	}
    
    	return importPath, isStd, modPath, modDir, nil
    }
    
    // adbCopyTree copies testdata, go.mod, go.sum files from subdir
    // and from parent directories all the way up to the root of subdir.
    // go.mod and go.sum files are needed for the go tool modules queries,
    // and the testdata directories for tests.  It is common for tests to
    // reach out into testdata from parent packages.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
Back to top