Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for offcut (0.26 sec)

  1. internal/hash/checksum.go

    			if typ.Is(ChecksumIncludesMultipart) {
    				wantLen := int(t) * length
    				if len(b) < wantLen {
    					break
    				}
    				// Read part checksum
    				if part > 0 && uint64(part) <= t {
    					offset := (part - 1) * length
    					partCs := b[offset:]
    					cs = base64.StdEncoding.EncodeToString(partCs[:length])
    				}
    				b = b[wantLen:]
    			}
    		} else if part > 1 {
    			// For non-multipart, checksum is part 1.
    			cs = ""
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.9K bytes
    - Viewed (0)
Back to top