Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,288 for part3 (0.04 sec)

  1. cmd/object-api-putobject_test.go

    	if err != nil {
    		// Failed to upload object part, abort.
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    
    	// Complete multipart.
    	parts := []CompletePart{
    		{ETag: etag1, PartNumber: 1},
    		{ETag: etag2, PartNumber: 2},
    	}
    	_, err = obj.CompleteMultipartUpload(context.Background(), bucket, object, uploadID, parts, ObjectOptions{})
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. buildscripts/multipart-quorum-test.sh

    	for i in {1..2}; do
    		aws --endpoint-url http://localhost:"$start_port" s3api upload-part \
    			--upload-id "$uploadId" --bucket bucket --key obj-1 \
    			--part-number "$i" --body ./file-5mib
    	done
    	for i in {1..6}; do
    		find ${WORK_DIR}/disk${i}/.minio.sys/multipart/ -type f -name "part.1" -delete
    	done
    	cat <<EOF >parts.json
    {
        "Parts": [
            {
                "PartNumber": 1,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 10:51:23 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. cmd/api-resources.go

    	var err error
    	errCode = ErrNone
    
    	if values.Get("max-parts") != "" {
    		if maxParts, err = strconv.Atoi(values.Get("max-parts")); err != nil {
    			errCode = ErrInvalidMaxParts
    			return
    		}
    	} else {
    		maxParts = maxPartsList
    	}
    
    	if values.Get("part-number-marker") != "" {
    		if partNumberMarker, err = strconv.Atoi(values.Get("part-number-marker")); err != nil {
    			errCode = ErrInvalidPartNumberMarker
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 07 18:25:26 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. internal/s3select/sql/stringfuncs.go

    		res = strings.TrimPrefix(text, pat)
    		if len(text) == len(res) {
    			return "", false
    		}
    	} else {
    		parts := strings.SplitN(text, pat, 2)
    		if len(parts) == 1 {
    			return "", false
    		}
    		res = parts[1]
    	}
    	return res, true
    }
    
    func dropRune(text string) (res string, ok bool) {
    	r := []rune(text)
    	if len(r) == 0 {
    		return "", false
    	}
    	return string(r[1:]), true
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  5. cmd/encryption-v1_test.go

    			t.Errorf("Test %d: ServerSideEncryptionKDF must be part of metadata: %v", i, kdf)
    		}
    		if iv, ok := test.metadata[crypto.MetaIV]; !ok {
    			t.Errorf("Test %d: crypto.SSEIV must be part of metadata: %v", i, iv)
    		}
    		if mac, ok := test.metadata[crypto.MetaSealedKeySSEC]; !ok {
    			t.Errorf("Test %d: ServerSideEncryptionKeyMAC must be part of metadata: %v", i, mac)
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 24 04:17:08 UTC 2022
    - 19.9K bytes
    - Viewed (0)
  6. cmd/erasure-healing-common_test.go

    	// Test 4: key = disk index, value = part name with hash mismatch
    	diskFailures := make(map[int]string)
    	diskFailures[0] = "part.1"
    	diskFailures[3] = "part.1"
    	diskFailures[15] = "part.1"
    
    	for diskIndex, partName := range diskFailures {
    		for i := range partsMetadata[diskIndex].Parts {
    			if fmt.Sprintf("part.%d", i+1) == partName {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 15:19:10 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  7. internal/s3select/sql/evaluate.go

    	endVal, endErr := e.End.evalNode(r, tableAlias)
    	if endErr != nil {
    		return nil, endErr
    	}
    
    	part1, err1 := stVal.compareOp(opLte, arg)
    	if err1 != nil {
    		return nil, err1
    	}
    
    	part2, err2 := arg.compareOp(opLte, endVal)
    	if err2 != nil {
    		return nil, err2
    	}
    
    	result := part1 && part2
    	if e.Not {
    		result = !result
    	}
    
    	return FromBool(result), nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. cmd/erasure-healing.go

    		for partIndex := 0; partIndex < len(latestMeta.Parts); partIndex++ {
    			partSize := latestMeta.Parts[partIndex].Size
    			partActualSize := latestMeta.Parts[partIndex].ActualSize
    			partModTime := latestMeta.Parts[partIndex].ModTime
    			partNumber := latestMeta.Parts[partIndex].Number
    			partIdx := latestMeta.Parts[partIndex].Index
    			partChecksums := latestMeta.Parts[partIndex].Checksums
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  9. cmd/object-handlers_test.go

    	for _, part := range parts {
    		_, err = obj.PutObjectPart(context.Background(), part.bucketName, part.objName, part.uploadID, part.PartID,
    			mustGetPutObjReader(t, strings.NewReader(part.inputReaderData), part.inputDataSize, part.inputMd5, ""), opts)
    		if err != nil {
    			t.Fatalf("%s : %s", instanceType, err)
    		}
    	}
    	// Parts to be sent as input for CompleteMultipartUpload.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  10. cmd/metacache-set.go

    						_, err := disk.ReadVersion(ctx, "", minioMetaBucket,
    							o.objectPath(partN), "", ReadOptions{})
    						if err != nil {
    							time.Sleep(retryDelay250)
    							retries++
    							continue
    						}
    						break
    					}
    				}
    
    				// Load partN metadata...
    				fi, metaArr, onlineDisks, err = er.getObjectFileInfo(ctx, minioMetaBucket, o.objectPath(partN), ObjectOptions{}, true)
    				if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
Back to top