- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for partNumbers (0.15 sec)
-
cmd/xl-storage-format-v2_gen.go
if err != nil { err = msgp.WrapError(err, "PartNumbers") return } if cap(z.PartNumbers) >= int(zb0005) { z.PartNumbers = (z.PartNumbers)[:zb0005] } else { z.PartNumbers = make([]int, zb0005) } for za0004 := range z.PartNumbers { z.PartNumbers[za0004], err = dc.ReadInt() if err != nil { err = msgp.WrapError(err, "PartNumbers", za0004) return } }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 55.5K bytes - Viewed (0) -
cmd/erasure-multipart.go
partMetaPaths := make([]string, len(parts)) partNumbers := make([]int, len(parts)) for idx, part := range parts { partMetaPaths[idx] = pathJoin(partPath, fmt.Sprintf("part.%d.meta", part.PartNumber)) partNumbers[idx] = part.PartNumber } partInfoFiles, err := readParts(ctx, onlineDisks, minioMetaMultipartBucket, partMetaPaths, partNumbers, readQuorum) if err != nil { return oi, err }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Sun Sep 29 22:40:36 UTC 2024 - 44.7K bytes - Viewed (0) -
cmd/xl-storage-format-v2.go
Name: path, Size: j.Size, ModTime: time.Unix(0, j.ModTime).UTC(), VersionID: versionID, } 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]
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 64K bytes - Viewed (0) -
cmd/object-api-multipart_test.go
for j, actualMetaData := range actualResult.Parts { // Asserting the PartNumber in the PartInfo. if actualMetaData.PartNumber != expectedResult.Parts[j].PartNumber { t.Errorf("Test %d: %s: Part %d: Expected PartNumber to be \"%d\", but instead found \"%d\"", i+1, instanceType, j+1, expectedResult.Parts[j].PartNumber, actualMetaData.PartNumber) } // Asserting the Size in the PartInfo.
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Fri Sep 06 09:42:21 UTC 2024 - 88.8K bytes - Viewed (0) -
cmd/erasure-metadata.go
const erasureAlgorithm = "rs-vandermonde" // GetChecksumInfo - get checksum of a part. func (e ErasureInfo) GetChecksumInfo(partNumber int) (ckSum ChecksumInfo) { for _, sum := range e.Checksums { if sum.PartNumber == partNumber { // Return the checksum return sum } } return ChecksumInfo{Algorithm: DefaultBitrotAlgorithm} }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Fri Sep 06 09:42:21 UTC 2024 - 21.2K bytes - Viewed (0) -
cmd/object-api-options.go
var opts ObjectOptions var partNumber int var err error if pn := r.Form.Get(xhttp.PartNumber); pn != "" { partNumber, err = strconv.Atoi(pn) if err != nil { return opts, err } if isMaxPartID(partNumber) { return opts, errInvalidMaxParts } if partNumber <= 0 { return opts, errInvalidArgument } }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Wed Aug 21 21:13:59 UTC 2024 - 14.4K bytes - Viewed (0) -
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 Oct 27 19:28:09 UTC 2024 - Last Modified: Wed Oct 02 17:50:41 UTC 2024 - 34.4K bytes - Viewed (0) -
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 Oct 27 19:28:09 UTC 2024 - Last Modified: Fri Sep 06 10:51:23 UTC 2024 - 2.9K bytes - Viewed (0) -
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 Oct 27 19:28:09 UTC 2024 - Last Modified: Thu Sep 12 20:10:44 UTC 2024 - 163.2K bytes - Viewed (0) -
cmd/xl-storage-format-v1.go
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 8.4K bytes - Viewed (0)