Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for uploader (0.19 sec)

  1. cmd/erasure-multipart.go

    		for uploadIndex < len(uploads) {
    			if uploads[uploadIndex].UploadID != uploadIDMarker {
    				uploadIndex++
    				continue
    			}
    			if uploads[uploadIndex].UploadID == uploadIDMarker {
    				uploadIndex++
    				break
    			}
    			uploadIndex++
    		}
    	}
    	for uploadIndex < len(uploads) {
    		result.Uploads = append(result.Uploads, uploads[uploadIndex])
    		result.NextUploadIDMarker = uploads[uploadIndex].UploadID
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  2. cmd/object-handlers_test.go

    				return
    			}
    			// push the obtained upload ID from the response into the array.
    			testUploads.Lock()
    			testUploads.uploads = append(testUploads.uploads, multipartResponse.UploadID)
    			testUploads.Unlock()
    		}()
    	}
    	// Wait till all go routines finishes execution.
    	wg.Wait()
    	// Validate the upload ID by an attempt to list parts using it.
    	for _, uploadID := range testUploads.uploads {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  3. cmd/api-resources.go

    	}
    	return
    }
    
    // Parse bucket url queries for ?uploads
    func getBucketMultipartResources(values url.Values) (prefix, keyMarker, uploadIDMarker, delimiter string, maxUploads int, encodingType string, errCode APIErrorCode) {
    	errCode = ErrNone
    
    	if values.Get("max-uploads") != "" {
    		var err error
    		if maxUploads, err = strconv.Atoi(values.Get("max-uploads")); err != nil {
    			errCode = ErrInvalidMaxUploads
    			return
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jun 07 18:25:26 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  4. cmd/erasure-healing_test.go

    		t.Fatalf("Failed to make a bucket - %v", err)
    	}
    
    	// Upload a multipart object in the second pool
    	z := objLayer.(*erasureServerPools)
    	set := z.serverPools[1]
    
    	res, err := set.NewMultipartUpload(ctx, bucket, object, opts)
    	if err != nil {
    		t.Fatalf("Failed to create a multipart upload - %v", err)
    	}
    	uploadID := res.UploadID
    
    	var uploadedParts []CompletePart
    	for _, partID := range []int{2, 1} {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 47.6K bytes
    - Viewed (0)
  5. cmd/object-api-datatypes_gen.go

    				return
    			}
    		case "Uploads":
    			var zb0002 uint32
    			zb0002, bts, err = msgp.ReadArrayHeaderBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Uploads")
    				return
    			}
    			if cap(z.Uploads) >= int(zb0002) {
    				z.Uploads = (z.Uploads)[:zb0002]
    			} else {
    				z.Uploads = make([]MultipartInfo, zb0002)
    			}
    			for za0001 := range z.Uploads {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 69.8K bytes
    - Viewed (0)
  6. internal/etag/etag.go

    // content. However, there are many exceptions to this rule.
    //
    // # Single-part Upload
    //
    // In case of a basic single-part PUT operation - without server
    // side encryption or object compression - the ETag of an object
    // is its content MD5.
    //
    // # Multi-part Upload
    //
    // The ETag of an object does not correspond to its content MD5
    // when the object is uploaded in multiple parts via the S3
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  7. cmd/url_test.go

    	}
    
    	b.RunParallel(func(pb *testing.PB) {
    		for pb.Next() {
    			req.Form.Get("uploadId")
    		}
    	})
    
    	// Benchmark ends here. Stop timer.
    	b.StopTimer()
    }
    
    // BenchmarkURLQuery - benchmark URL memory allocations
    func BenchmarkURLQuery(b *testing.B) {
    	req, err := http.NewRequest(http.MethodGet, "http://localhost:9000/bucket/name?uploadId=upload&partNumber=1", http.NoBody)
    	if err != nil {
    		b.Fatal(err)
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Nov 16 17:28:29 GMT 2021
    - 2K bytes
    - Viewed (0)
  8. cmd/erasure-sets.go

    	set := s.getHashedSet(object)
    	return set.PutObjectPart(ctx, bucket, object, uploadID, partID, data, opts)
    }
    
    // GetMultipartInfo - return multipart metadata info uploaded at hashedSet.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 37.5K bytes
    - Viewed (5)
  9. cmd/generic-handlers.go

    			h.ServeHTTP(w, r)
    			return
    		}
    
    		bucket, object := request2BucketObjectName(r)
    		uploadID := r.Form.Get(xhttp.UploadID)
    
    		if bucket != "" && object != "" && uploadID != "" {
    			deplID, err := getDeplIDFromUpload(uploadID)
    			if err != nil {
    				h.ServeHTTP(w, r)
    				return
    			}
    			remote, self := globalSiteReplicationSys.getPeerForUpload(deplID)
    			if self {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  10. cmd/object-api-putobject_test.go

    	}
    	opts := ObjectOptions{}
    	// Initiate Multipart Upload on the above created bucket.
    	res, err := obj.NewMultipartUpload(context.Background(), bucket, object, opts)
    	if err != nil {
    		// Failed to create NewMultipartUpload, abort.
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    	uploadID := res.UploadID
    
    	// Upload part1.
    	fiveMBBytes := bytes.Repeat([]byte("a"), 5*humanize.MiByte)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 25.8K bytes
    - Viewed (0)
Back to top