Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 47 for PartNumber (0.13 sec)

  1. cmd/xl-storage-format-v1.go

    }
    
    // ChecksumInfo - carries checksums of individual scattered parts per disk.
    type ChecksumInfo struct {
    	PartNumber int
    	Algorithm  BitrotAlgorithm
    	Hash       []byte
    }
    
    type checksumInfoJSON struct {
    	Name      string `json:"name"`
    	Algorithm string `json:"algorithm"`
    	Hash      string `json:"hash,omitempty"`
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. cmd/erasure-healing.go

    			prefer := make([]bool, len(latestDisks))
    			checksumAlgo := erasureInfo.GetChecksumInfo(partNumber).Algorithm
    			for i, disk := range latestDisks {
    				if disk == OfflineDisk {
    					continue
    				}
    				checksumInfo := copyPartsMetadata[i].Erasure.GetChecksumInfo(partNumber)
    				partPath := pathJoin(object, srcDataDir, fmt.Sprintf("part.%d", partNumber))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  3. cmd/object-lambda-handlers.go

    		Region:    globalSite.Region(),
    	})
    	if err != nil {
    		return levent.Event{}, err
    	}
    
    	reqParams := url.Values{}
    	if partNumberStr := r.Form.Get("partNumber"); partNumberStr != "" {
    		reqParams.Set("partNumber", partNumberStr)
    	}
    	for k := range supportedHeadGetReqParams {
    		if v := r.Form.Get(k); v != "" {
    			reqParams.Set(k, v)
    		}
    	}
    
    	extraHeaders := http.Header{}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. buildscripts/multipart-quorum-test.sh

    		find ${WORK_DIR}/disk${i}/.minio.sys/multipart/ -type f -name "part.1" -delete
    	done
    	cat <<EOF >parts.json
    {
        "Parts": [
            {
                "PartNumber": 1,
                "ETag": "5f363e0e58a95f06cbe9bbc662c5dfb6"
            },
            {
                "PartNumber": 2,
                "ETag": "5f363e0e58a95f06cbe9bbc662c5dfb6"
            }
        ]
    }
    EOF
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 10:51:23 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. cmd/object-api-utils.go

    }
    
    // Returns the part file name which matches the partNumber and etag.
    func getPartFile(entriesTrie *trie.Trie, partNumber int, etag string) (partFile string) {
    	for _, match := range entriesTrie.PrefixMatch(fmt.Sprintf("%.5d.%s.", partNumber, etag)) {
    		partFile = match
    		break
    	}
    	return partFile
    }
    
    func partNumberToRangeSpec(oi ObjectInfo, partNumber int) *HTTPRangeSpec {
    	if oi.Size == 0 || len(oi.Parts) == 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  6. cmd/object-handlers_test.go

    	a := 0
    	b := globalMinPartSize
    	var parts []CompletePart
    	for partNumber := 1; partNumber <= 2; partNumber++ {
    		// initialize HTTP NewRecorder, this records any mutations to response writer inside the handler.
    		rec := httptest.NewRecorder()
    		cpPartURL := getCopyObjectPartURL("", bucketName, testObject, uploadID, fmt.Sprintf("%d", partNumber))
    
    		// construct HTTP request for copy object.
    		var req *http.Request
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  7. cmd/object-api-datatypes.go

    	Prefixes []string
    }
    
    // PartInfo - represents individual part metadata.
    type PartInfo struct {
    	// Part number that identifies the part. This is a positive integer between
    	// 1 and 10,000.
    	PartNumber int
    
    	// Date and time at which the part was uploaded.
    	LastModified time.Time
    
    	// Entity tag returned when the part was initially uploaded.
    	ETag string
    
    	// Size in bytes of the part.
    	Size int64
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  8. cmd/xl-storage-free-version_test.go

    			Algorithm:    ReedSolomon.String(),
    			DataBlocks:   4,
    			ParityBlocks: 2,
    			BlockSize:    10000,
    			Index:        1,
    			Distribution: []int{1, 2, 3, 4, 5, 6, 7, 8},
    			Checksums: []ChecksumInfo{{
    				PartNumber: 1,
    				Algorithm:  HighwayHash256S,
    				Hash:       nil,
    			}},
    		},
    		MarkDeleted:      false,
    		NumVersions:      1,
    		SuccessorModTime: time.Time{},
    	}
    	// Add a version with local content
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Mar 02 05:11:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v1_gen.go

    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "PartNumber":
    			z.PartNumber, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "PartNumber")
    				return
    			}
    		case "Algorithm":
    			{
    				var zb0002 uint
    				zb0002, err = dc.ReadUint()
    				if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  10. cmd/erasure-healing_test.go

    		if err1 != nil {
    			t.Fatalf("Failed to upload a part - %v", err1)
    		}
    		uploadedParts = append(uploadedParts, CompletePart{
    			PartNumber: pInfo.PartNumber,
    			ETag:       pInfo.ETag,
    		})
    	}
    
    	_, err = objLayer.CompleteMultipartUpload(ctx, bucket, object, res.UploadID, uploadedParts, ObjectOptions{})
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
Back to top