Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ChecksumAlgo (0.14 sec)

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

    )
    
    // DecodeMsg implements msgp.Decodable
    func (z *ChecksumAlgo) DecodeMsg(dc *msgp.Reader) (err error) {
    	{
    		var zb0001 uint8
    		zb0001, err = dc.ReadUint8()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = ChecksumAlgo(zb0001)
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z ChecksumAlgo) EncodeMsg(en *msgp.Writer) (err error) {
    	err = en.WriteUint8(uint8(z))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2.go

    	return e > invalidErasureAlgo && e < lastErasureAlgo
    }
    
    // ChecksumAlgo defines common type of different checksum algorithms
    type ChecksumAlgo uint8
    
    // List of currently supported checksum algorithms
    const (
    	invalidChecksumAlgo ChecksumAlgo = 0
    	HighwayHash         ChecksumAlgo = 1
    	lastChecksumAlgo    ChecksumAlgo = 2
    )
    
    func (e ChecksumAlgo) valid() bool {
    	return e > invalidChecksumAlgo && e < lastChecksumAlgo
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  3. cmd/object-api-datatypes_gen.go

    			z.UploadID, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "UploadID")
    				return
    			}
    		case "ChecksumAlgo":
    			z.ChecksumAlgo, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "ChecksumAlgo")
    				return
    			}
    		default:
    			bts, err = msgp.Skip(bts)
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
Back to top