Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 132 for Wiles (0.19 sec)

  1. docs/debugging/xl-meta/main.go

    			args = []string{"xl.meta"}
    		}
    		var files []string
    
    		for _, pattern := range args {
    			if pattern == "-" {
    				files = append(files, pattern)
    				continue
    			}
    			found, err := filepathx.Glob(pattern)
    			if err != nil {
    				return err
    			}
    			if len(found) == 0 {
    				return fmt.Errorf("unable to find file %v", pattern)
    			}
    			files = append(files, found...)
    		}
    		if len(files) == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  2. cmd/data-usage_test.go

    			}
    			if e.ObjSizes != w.oSizes {
    				t.Error("got histogram", e.ObjSizes, "want", w.oSizes)
    			}
    		})
    	}
    }
    
    func createUsageTestFiles(t *testing.T, base, bucket string, files []usageTestFile) {
    	for _, f := range files {
    		err := os.MkdirAll(filepath.Dir(filepath.Join(base, bucket, f.name)), os.ModePerm)
    		if err != nil {
    			t.Fatal(err)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  3. cmd/erasure-common.go

    }
    
    // readMultipleFiles Reads raw data from all specified files from all disks.
    func readMultipleFiles(ctx context.Context, disks []StorageAPI, req ReadMultipleReq, readQuorum int) ([]ReadMultipleResp, error) {
    	resps := make([]chan ReadMultipleResp, len(disks))
    	for i := range resps {
    		resps[i] = make(chan ReadMultipleResp, len(req.Files))
    	}
    	g := errgroup.WithNErrs(len(disks))
    	// Read files in parallel across disks.
    	for index := range disks {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  4. internal/s3select/json/reader_test.go

    import (
    	"bytes"
    	"io"
    	"os"
    	"path/filepath"
    	"testing"
    
    	"github.com/minio/minio/internal/s3select/sql"
    )
    
    func TestNewReader(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 May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 2.5K bytes
    - Viewed (0)
  5. misc/ios/detect.go

    	lines := getLines(cmd)
    
    	var files []string
    	for _, line := range lines {
    		if len(line) == 0 {
    			continue
    		}
    		xmlLines := getLines(parseMobileProvision(string(line)))
    		matches := 0
    		for _, udid := range udids {
    			for _, xmlLine := range xmlLines {
    				if bytes.Contains(xmlLine, udid) {
    					matches++
    				}
    			}
    		}
    		if matches == len(udids) {
    			files = append(files, string(line))
    		}
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 19 23:33:30 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  6. operator/cmd/mesh/root.go

    If set to true, the user is not prompted and a Yes response is assumed in all cases.`
    	filenameFlagHelpStr = `Path to file containing IstioOperator custom resource
    This flag can be specified multiple times to overlay multiple files. Multiple files are overlaid in left to right order.`
    	installationCompleteStr            = `Installation complete`
    	ForceFlagHelpStr                   = `Proceed even with validation errors.`
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  7. cni/pkg/install/cniconfig_test.go

    			expectedConfName:  "specific-name.conf",
    		},
    	}
    
    	for _, c := range cases {
    		t.Run(c.name, func(t *testing.T) {
    			// Create temp directory for files
    			tempDir := t.TempDir()
    
    			// Create existing config files if specified in test case
    			for _, filename := range c.existingConfFiles {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 17 02:22:22 GMT 2023
    - 15.4K bytes
    - Viewed (0)
  8. internal/disk/stat_netbsd.go

    		return Info{}, err
    	}
    	reservedBlocks := uint64(s.Bfree) - uint64(s.Bavail)
    	info = Info{
    		Total:  uint64(s.Frsize) * (uint64(s.Blocks) - reservedBlocks),
    		Free:   uint64(s.Frsize) * uint64(s.Bavail),
    		Files:  uint64(s.Files),
    		Ffree:  uint64(s.Ffree),
    		FSType: string(s.Fstypename[:]),
    	}
    	if info.Free > info.Total {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. internal/disk/stat_openbsd.go

    	}
    	reservedBlocks := uint64(s.F_bfree) - uint64(s.F_bavail)
    	info = Info{
    		Total:  uint64(s.F_bsize) * (uint64(s.F_blocks) - reservedBlocks),
    		Free:   uint64(s.F_bsize) * uint64(s.F_bavail),
    		Files:  uint64(s.F_files),
    		Ffree:  uint64(s.F_ffree),
    		FSType: getFSType(s.F_fstypename[:]),
    	}
    	if info.Free > info.Total {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  10. cmd/storage-errors.go

    // errFileNotFound - cannot find requested file version.
    var errFileVersionNotFound = StorageErr("file version not found")
    
    // errTooManyOpenFiles - too many open files.
    var errTooManyOpenFiles = StorageErr("too many open files, please increase 'ulimit -n'")
    
    // errFileNameTooLong - given file name is too long than supported length.
    var errFileNameTooLong = StorageErr("file name too long")
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Viewed (0)
Back to top