Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for volume (0.23 sec)

  1. cmd/xl-storage.go

    	return info, err
    }
    
    // getVolDir - will convert incoming volume names to
    // corresponding valid volume names on the backend in a platform
    // compatible way for all operating systems. If volume is not found
    // an error is generated.
    func (s *xlStorage) getVolDir(volume string) (string, error) {
    	if volume == "" || volume == "." || volume == ".." {
    		return "", errVolumeNotFound
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  2. cmd/xl-storage_test.go

    	}
    	ctx := context.Background()
    
    	volume := "myvol-vol"
    	object := "my-object"
    	if err := xl.MakeVol(ctx, volume); err != nil {
    		t.Fatalf("Unable to create volume, %s", err)
    	}
    	var versions [50]string
    	for i := range versions {
    		versions[i] = uuid.New().String()
    		fi := FileInfo{
    			Name: object, Volume: volume, VersionID: versions[i], ModTime: UTCNow(), DataDir: "", Size: 10000,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool.go

    func (z *erasureServerPools) GetRawData(ctx context.Context, volume, file string, fn func(r io.Reader, host string, disk string, filename string, info StatInfo) error) error {
    	found := 0
    	for _, s := range z.serverPools {
    		for _, set := range s.sets {
    			for _, disk := range set.getDisks() {
    				if disk == OfflineDisk {
    					continue
    				}
    				stats, err := disk.StatInfoFile(ctx, volume, file, true)
    				if err != nil {
    					continue
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2.go

    func (j *xlMetaV2Version) ToFileInfo(volume, path string, allParts bool) (fi FileInfo, err error) {
    	if j == nil {
    		return fi, errFileNotFound
    	}
    	switch j.Type {
    	case ObjectType:
    		fi, err = j.ObjectV2.ToFileInfo(volume, path, allParts)
    	case DeleteType:
    		fi, err = j.DeleteMarker.ToFileInfo(volume, path)
    	case LegacyType:
    		fi, err = j.ObjectV1.ToFileInfo(volume, path)
    	default:
    		return fi, errFileNotFound
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  5. cmd/erasure-object.go

    				bucket:    fi.Volume,
    				object:    fi.Name,
    				versionID: fi.VersionID,
    				queued:    time.Now(),
    				setIndex:  er.setIndex,
    				poolIndex: er.poolIndex,
    			})
    		}
    
    		return
    	}()
    
    	validResp := 0
    	totalResp := 0
    
    	// minDisks value is only to reduce the number of calls
    	// to the disks; this value is not accurate because we do
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  6. cmd/test-utils_test.go

    			t.Fatal(failTestStr(anonTestStr, "error response bucket name differs from expected value"))
    		}
    
    		if actualError.Key != objectName {
    			t.Fatal(failTestStr(anonTestStr, "error response object name differs from expected value"))
    		}
    	}
    
    	// test for unknown auth case.
    	anonReq.Body = readerTwo
    	// Setting the `Authorization` header to a random value so that the signature falls into unknown auth case.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  7. src/bytes/bytes_test.go

    		if input == nil && clone != nil {
    			t.Errorf("Clone(%#v) return value should be equal to nil slice.", input)
    		}
    
    		if input != nil && clone == nil {
    			t.Errorf("Clone(%#v) return value should not be equal to nil slice.", input)
    		}
    
    		if cap(input) != 0 && unsafe.SliceData(input) == unsafe.SliceData(clone) {
    			t.Errorf("Clone(%q) return value should not reference inputs backing memory.", input)
    		}
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  8. cmd/peer-rest-server.go

    	blockSize, err := strconv.ParseUint(blockSizeStr, 10, 64)
    	if err != nil {
    		blockSize = 4 * humanize.MiByte // default value
    	}
    
    	fileSize, err := strconv.ParseUint(fileSizeStr, 10, 64)
    	if err != nil {
    		fileSize = 1 * humanize.GiByte // default value
    	}
    
    	opts := madmin.DriveSpeedTestOpts{
    		Serial:    serial,
    		BlockSize: blockSize,
    		FileSize:  fileSize,
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  9. internal/s3select/select_test.go

    			query:      `SELECT id from s3object s WHERE value = true`,
    			wantResult: `{"id":1}`,
    			withJSON: `{"id":0, "value": false}
    {"id":1, "value": true}
    {"id":2, "value": 42}
    {"id":3, "value": "true"}
    `,
    		},
    		{
    			name:       "compare-mixed-not",
    			query:      `SELECT COUNT(id) as n from s3object s WHERE value != true`,
    			wantResult: `{"n":3}`,
    			withJSON: `{"id":0, "value": false}
    {"id":1, "value": true}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  10. cmd/object-api-listobjects_test.go

    		// Testing for negative value of maxKey, this should set maxKeys to listObjectsLimit (19).
    		{"test-bucket-list-object", "", "", "", -1, resultCases[0], nil, true},
    		// Testing for very large value of maxKey, this should set maxKeys to listObjectsLimit (20).
    		{"test-bucket-list-object", "", "", "", 1234567890, resultCases[0], nil, true},
    		// Testing for trancated value (21-24).
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
Back to top