Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 214 for parts (0.94 sec)

  1. cmd/api-errors.go

    		Code:           "InvalidPart",
    		Description:    "One or more of the specified parts could not be found.  The part may not have been uploaded, or the specified entity tag may not match the part's entity tag.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrMissingPart: {
    		Code:           "InvalidRequest",
    		Description:    "You must specify at least one part",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidPartOrder: {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  2. cmd/erasure-object_test.go

    		storageClassCfg     storageclass.Config
    		expectedError       error
    	}{
    		{parts1, errs1, 12, 12, parts1SC, nil},
    		{parts2, errs2, 14, 14, parts2SC, nil},
    		{parts3, errs3, 12, 12, parts3SC, nil},
    		{parts4, errs4, 10, 10, parts4SC, nil},
    		{parts5, errs5, 14, 14, parts5SC, nil},
    		{parts6, errs6, 12, 12, parts6SC, nil},
    		{parts7, errs7, 11, 11, parts7SC, nil},
    	}
    	for _, tt := range tests {
    		tt := tt
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  3. cmd/erasure-metadata_test.go

    func TestAddObjectPart(t *testing.T) {
    	testCases := []struct {
    		partNum       int
    		expectedIndex int
    	}{
    		{1, 0},
    		{2, 1},
    		{4, 2},
    		{5, 3},
    		{7, 4},
    		// Insert part.
    		{3, 2},
    		// Replace existing part.
    		{4, 3},
    		// Missing part.
    		{6, -1},
    	}
    
    	// Setup.
    	fi := newFileInfo("test-object", 8, 8)
    	fi.Erasure.Index = 1
    	if !fi.IsValid() {
    		t.Fatalf("unable to get xl meta")
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  4. cmd/object-api-errors.go

    }
    
    // InvalidPart One or more of the specified parts could not be found
    type InvalidPart struct {
    	PartNumber int
    	ExpETag    string
    	GotETag    string
    }
    
    func (e InvalidPart) Error() string {
    	return fmt.Sprintf("Specified part could not be found. PartNumber %d, Expected %s, got %s",
    		e.PartNumber, e.ExpETag, e.GotETag)
    }
    
    // PartTooSmall - error if part size is less than 5MB.
    type PartTooSmall struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  5. cmd/object-api-utils_test.go

    	// returned by the server).
    	z := obj.(*erasureServerPools)
    	xl := z.serverPools[0].sets[0]
    	erasureDisks := xl.getDisks()
    	parts, errs := readAllFileInfo(ctx, erasureDisks, "", bucketName, objectName, "", false, false)
    	for i := range parts {
    		if errs[i] == nil {
    			if parts[i].Name == objectName {
    				t.Errorf("path traversal allowed to allow writing to minioMetaBucket: %s", instanceType)
    			}
    		}
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v2.go

    	}
    	if allParts {
    		fi.Parts = make([]ObjectPartInfo, len(j.PartNumbers))
    		for i := range fi.Parts {
    			fi.Parts[i].Number = j.PartNumbers[i]
    			fi.Parts[i].Size = j.PartSizes[i]
    			if len(j.PartETags) == len(fi.Parts) {
    				fi.Parts[i].ETag = j.PartETags[i]
    			}
    			fi.Parts[i].ActualSize = j.PartActualSizes[i]
    			if len(j.PartIndices) == len(fi.Parts) {
    				fi.Parts[i].Index = j.PartIndices[i]
    			}
    		}
    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)
  7. cmd/xl-storage-free-version_test.go

    		TransitionStatus: "",
    		DataDir:          "bffea160-ca7f-465f-98bc-9b4f1c3ba1ef",
    		XLV1:             false,
    		ModTime:          time.Now(),
    		Size:             0,
    		Mode:             0,
    		Metadata:         nil,
    		Parts:            nil,
    		Erasure: ErasureInfo{
    			Algorithm:    ReedSolomon.String(),
    			DataBlocks:   4,
    			ParityBlocks: 2,
    			BlockSize:    10000,
    			Index:        1,
    			Distribution: []int{1, 2, 3, 4, 5, 6, 7, 8},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  8. cni/pkg/plugin/plugin_dryrun_test.go

    			}
    		})
    	}
    }
    
    func getRules(b []byte) map[string]string {
    	// Separate content with "COMMIT"
    	parts := strings.Split(string(b), "COMMIT")
    	tables := make(map[string]string)
    	for _, table := range parts {
    		// If table is not empty, get table name from the first line
    		lines := strings.Split(strings.Trim(table, "\n"), "\n")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  9. internal/http/headers.go

    	MinIOSnowballPrefix = "X-Amz-Meta-Minio-Snowball-Prefix"
    
    	// Object lock enabled
    	AmzObjectLockEnabled = "x-amz-bucket-object-lock-enabled"
    
    	// Multipart parts count
    	AmzMpPartsCount = "x-amz-mp-parts-count"
    
    	// Object date/time of expiration
    	AmzExpiration = "x-amz-expiration"
    
    	// Dummy putBucketACL
    	AmzACL = "x-amz-acl"
    
    	// Signature V4 related constants.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  10. cmd/xl-storage-format-v2_test.go

    		TransitionStatus: "",
    		DataDir:          "bffea160-ca7f-465f-98bc-9b4f1c3ba1ef",
    		XLV1:             false,
    		ModTime:          time.Now(),
    		Size:             0,
    		Mode:             0,
    		Metadata:         nil,
    		Parts:            nil,
    		Erasure: ErasureInfo{
    			Algorithm:    ReedSolomon.String(),
    			DataBlocks:   4,
    			ParityBlocks: 2,
    			BlockSize:    10000,
    			Index:        1,
    			Distribution: []int{1, 2, 3, 4, 5, 6, 7, 8},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 17:50:48 GMT 2024
    - 36.4K bytes
    - Viewed (0)
Back to top