Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for AddPart (0.06 sec)

  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() {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Jan 20 14:49:07 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top