Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for checksums (0.05 sec)

  1. cmd/xl-storage-format-v2.go

    			}
    			fi.Parts[i].ActualSize = j.PartActualSizes[i]
    			if len(j.PartIndices) == len(fi.Parts) {
    				fi.Parts[i].Index = j.PartIndices[i]
    			}
    		}
    	}
    
    	// fi.Erasure.Checksums - is left empty since we do not have any
    	// whole checksums for many years now, no need to allocate.
    
    	fi.Metadata = make(map[string]string, len(j.MetaUser)+len(j.MetaSys))
    	for k, v := range j.MetaUser {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 65.6K bytes
    - Viewed (1)
  2. cmd/erasure-object.go

    		if serverSideChecksum != nil {
    			fi.Checksum = serverSideChecksum.AppendTo(nil, nil)
    			if opts.EncryptFn != nil {
    				fi.Checksum = opts.EncryptFn("object-checksum", fi.Checksum)
    			}
    		}
    	} else if fi.Checksum == nil && opts.WantChecksum != nil {
    		// Trailing headers checksums should now be filled.
    		fi.Checksum = opts.WantChecksum.AppendTo(nil, nil)
    		if opts.EncryptFn != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
  3. cmd/bucket-handlers.go

    		return
    	}
    	checksum, err := hash.GetContentChecksum(formValues)
    	if err != nil {
    		apiErr := errorCodes.ToAPIErr(ErrMalformedPOSTRequest)
    		apiErr.Description = fmt.Sprintf("%s (%v)", apiErr.Description, fmt.Errorf("Invalid checksum: %w", err))
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    	if checksum != nil && checksum.Type.Trailing() {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.9K bytes
    - Viewed (0)
  4. cmd/batch-handlers.go

    			}
    
    			opts, _, err := batchReplicationOpts(ctx, "", gr.ObjInfo)
    			if err != nil {
    				batchLogIf(ctx, err)
    				continue
    			}
    			// TODO: I am not sure we read it back, but we aren't sending whether checksums are single/multipart.
    			for k, vals := range opts.Header() {
    				for _, v := range vals {
    					snowballObj.Headers.Add(k, v)
    				}
    			}
    
    			input <- snowballObj
    		}
    	}()
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  5. cmd/xl-storage_test.go

    				Algorithm:    erasureAlgorithm,
    				DataBlocks:   4,
    				ParityBlocks: 4,
    				BlockSize:    blockSizeV2,
    				Index:        1,
    				Distribution: []int{0, 1, 2, 3, 4, 5, 6, 7},
    				Checksums:    nil,
    			},
    		}
    		if err := xl.WriteMetadata(ctx, "", volume, object, fi); err != nil {
    			t.Fatalf("Unable to create object, %s", err)
    		}
    	}
    	var deleted [len(versions)]bool
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 66K bytes
    - Viewed (0)
  6. cmd/object-api-datatypes_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "SuccessorModTime")
    				return
    			}
    		case "Checksum":
    			z.Checksum, bts, err = msgp.ReadBytesBytes(bts, z.Checksum)
    			if err != nil {
    				err = msgp.WrapError(err, "Checksum")
    				return
    			}
    		case "Inlined":
    			z.Inlined, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jan 20 14:49:07 UTC 2025
    - 71.9K bytes
    - Viewed (0)
  7. cmd/api-errors.go

    		HTTPStatusCode: http.StatusLengthRequired,
    	},
    	ErrMissingContentMD5: {
    		Code:           "MissingContentMD5",
    		Description:    "Missing or invalid required header for this request: Content-Md5 or Amz-Content-Checksum",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrMissingSecurityHeader: {
    		Code:           "MissingSecurityHeader",
    		Description:    "Your request was missing a required header",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 93K bytes
    - Viewed (1)
Back to top