Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for addLast (0.03 seconds)

  1. internal/hash/crc.go

    	"fmt"
    	"hash/crc32"
    	"hash/crc64"
    	"math/bits"
    )
    
    // AddPart will merge a part checksum into the current,
    // as if the content of each was appended.
    // The size of the content that produced the second checksum must be provided.
    // Not all checksum types can be merged, use the CanMerge method to check.
    // Checksum types must match.
    func (c *Checksum) AddPart(other Checksum, size int64) error {
    	if !other.Type.CanMerge() {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Jan 20 14:49:07 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  2. cmd/erasure-multipart.go

    			if !cs.Valid() {
    				return oi, InvalidPart{
    					PartNumber: part.PartNumber,
    				}
    			}
    			if checksumType.FullObjectRequested() {
    				if err := checksum.AddPart(*cs, expPart.ActualSize); err != nil {
    					return oi, InvalidPart{
    						PartNumber: part.PartNumber,
    						ExpETag:    "<nil>",
    						GotETag:    err.Error(),
    					}
    				}
    			}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 47.1K bytes
    - Click Count (0)
Back to Top