Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hashDeterministicString (0.2 sec)

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

    func (m *xlMetaV1Object) Signature() [4]byte {
    	// Shallow copy
    	c := *m
    	// Zero unimportant fields
    	c.Erasure.Index = 0
    	c.Minio.Release = ""
    	crc := hashDeterministicString(c.Meta)
    	c.Meta = nil
    
    	if bts, err := c.MarshalMsg(metaDataPoolGet()); err == nil {
    		crc ^= xxhash.Sum64(bts)
    		metaDataPoolPut(bts)
    	}
    
    	// Combine upper and lower part
    	var tmp [4]byte
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8.2K bytes
    - Viewed (0)
Back to top