Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hashDeterministicBytes (0.08 sec)

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

    }
    
    // Signature will return a signature that is expected to be the same across all disks.
    func (j *xlMetaV2DeleteMarker) Signature() [4]byte {
    	// Shallow copy
    	c := *j
    
    	// Marshal metadata
    	crc := hashDeterministicBytes(c.MetaSys)
    	c.MetaSys = nil
    	if bts, err := c.MarshalMsg(metaDataPoolGet()); err == nil {
    		crc ^= xxhash.Sum64(bts)
    		metaDataPoolPut(bts)
    	}
    
    	// Combine upper and lower part
    	var tmp [4]byte
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
Back to top