Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for ReadUint8Bytes (0.15 sec)

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

    		err = msgp.WrapError(err, "ModTime")
    		return
    	}
    	{
    		var zb0002 uint8
    		zb0002, bts, err = msgp.ReadUint8Bytes(bts)
    		if err != nil {
    			err = msgp.WrapError(err, "Type")
    			return
    		}
    		x.Type = VersionType(zb0002)
    	}
    	{
    		var zb0003 uint8
    		zb0003, bts, err = msgp.ReadUint8Bytes(bts)
    		if err != nil {
    			err = msgp.WrapError(err, "Flags")
    			return
    		}
    		x.Flags = xlFlags(zb0003)
    	}
    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. internal/grid/msg_gen.go

    		err = msgp.WrapError(err, "DeadlineMS")
    		return
    	}
    	{
    		var zb0002 uint8
    		zb0002, bts, err = msgp.ReadUint8Bytes(bts)
    		if err != nil {
    			err = msgp.WrapError(err, "Handler")
    			return
    		}
    		z.Handler = HandlerID(zb0002)
    	}
    	{
    		var zb0003 uint8
    		zb0003, bts, err = msgp.ReadUint8Bytes(bts)
    		if err != nil {
    			err = msgp.WrapError(err, "Op")
    			return
    		}
    		z.Op = Op(zb0003)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v2_gen.go

    			}
    			for za0003 := range z.ErasureDist {
    				z.ErasureDist[za0003], bts, err = msgp.ReadUint8Bytes(bts)
    				if err != nil {
    					err = msgp.WrapError(err, "ErasureDist", za0003)
    					return
    				}
    			}
    		case "CSumAlgo":
    			{
    				var zb0004 uint8
    				zb0004, bts, err = msgp.ReadUint8Bytes(bts)
    				if err != nil {
    					err = msgp.WrapError(err, "BitrotChecksumAlgo")
    					return
    				}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  4. cmd/object-api-interface_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "AskDisks")
    				return
    			}
    		case "VersionsSort":
    			{
    				var zb0002 uint8
    				zb0002, bts, err = msgp.ReadUint8Bytes(bts)
    				if err != nil {
    					err = msgp.WrapError(err, "VersionsSort")
    					return
    				}
    				z.VersionsSort = WalkVersionsSortOrder(zb0002)
    			}
    		case "Limit":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool-rebalance_gen.go

    	o = msgp.AppendUint8(o, uint8(z))
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *rebalSaveOpts) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	{
    		var zb0001 uint8
    		zb0001, bts, err = msgp.ReadUint8Bytes(bts)
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = rebalSaveOpts(zb0001)
    	}
    	o = bts
    	return
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  6. internal/dsync/lock-args_gen.go

    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "Code":
    			{
    				var zb0002 uint8
    				zb0002, bts, err = msgp.ReadUint8Bytes(bts)
    				if err != nil {
    					err = msgp.WrapError(err, "Code")
    					return
    				}
    				z.Code = ResponseCode(zb0002)
    			}
    		case "Err":
    			z.Err, bts, err = msgp.ReadStringBytes(bts)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. docs/debugging/xl-meta/main.go

    		err = msgp.WrapError(err, "Signature")
    		return
    	}
    	{
    		var zb0002 uint8
    		zb0002, bts, err = msgp.ReadUint8Bytes(bts)
    		if err != nil {
    			err = msgp.WrapError(err, "Type")
    			return
    		}
    		z.Type = zb0002
    	}
    	{
    		var zb0003 uint8
    		zb0003, bts, err = msgp.ReadUint8Bytes(bts)
    		if err != nil {
    			err = msgp.WrapError(err, "Flags")
    			return
    		}
    		z.Flags = zb0003
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v2.go

    	}
    }
    
    func decodeXLHeaders(buf []byte) (versions int, headerV, metaV uint8, b []byte, err error) {
    	hdrVer, buf, err := msgp.ReadUint8Bytes(buf)
    	if err != nil {
    		return 0, 0, 0, buf, err
    	}
    	metaVer, buf, err := msgp.ReadUint8Bytes(buf)
    	if err != nil {
    		return 0, 0, 0, buf, err
    	}
    	if hdrVer > xlHeaderVersion {
    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