Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for part3 (0.06 sec)

  1. cmd/object-api-multipart_test.go

    	for _, part := range parts {
    		_, err = obj.PutObjectPart(context.Background(), part.bucketName, part.objName, part.uploadID, part.PartID, mustGetPutObjReader(t, bytes.NewBufferString(part.inputReaderData), part.inputDataSize, part.inputMd5, sha256sum), 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: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  2. cmd/erasure-healing_test.go

    		Recursive: false,
    		Immediate: false,
    	})
    	if err != nil {
    		t.Errorf("Failure during deleting part.1 - %v", err)
    	}
    
    	err = firstDisk.WriteAll(context.Background(), bucket, pathJoin(object, fi.DataDir, "part.1"), []byte{})
    	if err != nil {
    		t.Errorf("Failure during creating part.1 - %v", err)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  3. cmd/xl-storage.go

    		// By default, the result is unknown per part
    		Results: make([]int, len(fi.Parts)),
    	}
    
    	erasure := fi.Erasure
    	for i, part := range fi.Parts {
    		checksumInfo := erasure.GetChecksumInfo(part.Number)
    		partPath := pathJoin(volumeDir, path, fi.DataDir, fmt.Sprintf("part.%d", part.Number))
    		err := s.bitrotVerify(ctx, partPath,
    			erasure.ShardFileSize(part.Size),
    			checksumInfo.Algorithm,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  4. 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]
    			}
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (0)
  5. cmd/erasure-object.go

    	}
    
    	var healOnce sync.Once
    
    	for ; partIndex <= lastPartIndex; partIndex++ {
    		if length == totalBytesRead {
    			break
    		}
    
    		partNumber := fi.Parts[partIndex].Number
    
    		// Save the current part name and size.
    		partSize := fi.Parts[partIndex].Size
    
    		partLength := partSize - partOffset
    		// partLength should be adjusted so that we don't write more data than what was requested.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  6. cmd/test-utils_test.go

    }
    
    // return URL for a listing parts on a given upload id.
    func getListMultipartURLWithParams(endPoint, bucketName, objectName, uploadID, maxParts, partNumberMarker, encoding string) string {
    	queryValues := url.Values{}
    	queryValues.Set("uploadId", uploadID)
    	queryValues.Set("max-parts", maxParts)
    	if partNumberMarker != "" {
    		queryValues.Set("part-number-marker", partNumberMarker)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  7. cmd/object-api-datatypes_gen.go

    		}
    		switch msgp.UnsafeString(field) {
    		case "Parts":
    			var zb0002 uint32
    			zb0002, bts, err = msgp.ReadArrayHeaderBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Parts")
    				return
    			}
    			if cap(z.Parts) >= int(zb0002) {
    				z.Parts = (z.Parts)[:zb0002]
    			} else {
    				z.Parts = make([]CompletePart, zb0002)
    			}
    			for za0001 := range z.Parts {
    				bts, err = z.Parts[za0001].UnmarshalMsg(bts)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  8. cmd/api-errors.go

    		Description:    "The list of parts was not in ascending order. The parts list must be specified in order by part number.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidObjectState: {
    		Code:           "InvalidObjectState",
    		Description:    "The operation is not valid for the current state of the object.",
    		HTTPStatusCode: http.StatusForbidden,
    	},
    	ErrAuthorizationHeaderMalformed: {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  9. okhttp/api/okhttp.api

    	public static final fun createFormData (Ljava/lang/String;Ljava/lang/String;)Lokhttp3/MultipartBody$Part;
    	public static final fun createFormData (Ljava/lang/String;Ljava/lang/String;Lokhttp3/RequestBody;)Lokhttp3/MultipartBody$Part;
    	public final fun headers ()Lokhttp3/Headers;
    }
    
    public final class okhttp3/MultipartBody$Part$Companion {
    	public final fun create (Lokhttp3/Headers;Lokhttp3/RequestBody;)Lokhttp3/MultipartBody$Part;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  10. cmd/bucket-handlers.go

    						return
    					}
    					fanOutEntries = append(fanOutEntries, m)
    				}
    				part.Close()
    				continue
    			}
    
    			buf := bytebufferpool.Get()
    			// value, store as string in memory
    			n, err := io.CopyN(buf, part, maxMemoryBytes+1)
    			value := buf.String()
    			buf.Reset()
    			bytebufferpool.Put(buf)
    			part.Close()
    
    			if err != nil && err != io.EOF {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
Back to top