Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getMD5Hash (0.14 sec)

  1. cmd/server_test.go

    	1234567890,1234567890,1234567890,123`
    	// Create 11MiB content where each line contains 1024 characters.
    	for i := 0; i < 11*1024; i++ {
    		buffer.WriteString(fmt.Sprintf("[%05d] %s\n", i, line))
    	}
    	putMD5 := getMD5Hash(buffer.Bytes())
    
    	objectName := "test-11Mb-object"
    	// Put object
    	buf := bytes.NewReader(buffer.Bytes())
    	// create HTTP request foe object upload.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  2. cmd/object-handlers_test.go

    		uploadIDs = append(uploadIDs, res.UploadID)
    	}
    
    	// Parts with size greater than 5 MiB.
    	// Generating a 6 MiB byte array.
    	validPart := bytes.Repeat([]byte("abcdef"), 1*humanize.MiByte)
    	validPartMD5 := getMD5Hash(validPart)
    	// Create multipart parts.
    	// Need parts to be uploaded before CompleteMultiPartUpload can be called tested.
    	parts := []struct {
    		bucketName      string
    		objName         string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
Back to top