Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ReadArrayHeaderBytes (0.13 sec)

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

    }
    
    // unmarshalV1 decodes version 1, never released.
    func (x *xlMetaV2VersionHeader) unmarshalV1(bts []byte) (o []byte, err error) {
    	var zb0001 uint32
    	zb0001, bts, err = msgp.ReadArrayHeaderBytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	if zb0001 != 4 {
    		err = msgp.ArrayError{Wanted: 4, Got: zb0001}
    		return
    	}
    	bts, err = msgp.ReadExactBytes(bts, (x.VersionID)[:])
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 19 16:43:43 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. cmd/tier-last-day-stats_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, zb0001)
    				return
    			}
    			switch msgp.UnsafeString(field) {
    			case "Bins":
    				var zb0006 uint32
    				zb0006, bts, err = msgp.ReadArrayHeaderBytes(bts)
    				if err != nil {
    					err = msgp.WrapError(err, zb0001, "Bins")
    					return
    				}
    				if zb0006 != uint32(24) {
    					err = msgp.ArrayError{Wanted: uint32(24), Got: zb0006}
    					return
    				}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. cmd/bootstrap-peer-server_gen.go

    			z.NEndpoints, bts, err = msgp.ReadIntBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "NEndpoints")
    				return
    			}
    		case "CmdLines":
    			var zb0002 uint32
    			zb0002, bts, err = msgp.ReadArrayHeaderBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "CmdLines")
    				return
    			}
    			if cap(z.CmdLines) >= int(zb0002) {
    				z.CmdLines = (z.CmdLines)[:zb0002]
    			} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 14:49:49 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. docs/debugging/inspect/export.go

    	Type      uint8
    	Flags     uint8
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *xlMetaV2VersionHeaderV2) UnmarshalMsg(bts []byte) (o []byte, e error) {
    	var zb0001 uint32
    	zb0001, bts, e = msgp.ReadArrayHeaderBytes(bts)
    	if e != nil {
    		e = msgp.WrapError(e)
    		return
    	}
    	if zb0001 != 5 {
    		e = msgp.ArrayError{Wanted: 5, Got: zb0001}
    		return
    	}
    	bts, e = msgp.ReadExactBytes(bts, (z.VersionID)[:])
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 08 15:58:02 UTC 2022
    - 9.1K bytes
    - Viewed (0)
Back to top