Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 26 of 26 for ReadArrayHeaderBytes (0.11 sec)

  1. cmd/batch-handlers_gen.go

    	}
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *BatchJobPrefix) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var zb0002 uint32
    	zb0002, bts, err = msgp.ReadArrayHeaderBytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	if cap((*z)) >= int(zb0002) {
    		(*z) = (*z)[:zb0002]
    	} else {
    		(*z) = make(BatchJobPrefix, zb0002)
    	}
    	for zb0001 := range *z {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. internal/grid/msg_gen.go

    	o = msgp.AppendBytes(o, z.Payload)
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *message) UnmarshalMsg(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 != 7 {
    		err = msgp.ArrayError{Wanted: 7, Got: zb0001}
    		return
    	}
    	z.MuxID, bts, err = msgp.ReadUint64Bytes(bts)
    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/data-usage-cache.go

    	}
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *dataUsageHashMap) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var zb0002 uint32
    	zb0002, bts, err = msgp.ReadArrayHeaderBytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	if zb0002 == 0 {
    		*z = nil
    		return bts, nil
    	}
    	*z = make(dataUsageHashMap, zb0002)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  4. docs/debugging/xl-meta/main.go

    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *xlMetaV2VersionHeaderV2) UnmarshalMsg(bts []byte, hdrVer uint) (o []byte, err error) {
    	var zb0001 uint32
    	zb0001, bts, err = msgp.ReadArrayHeaderBytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	want := uint32(5)
    	if hdrVer > 2 {
    		want += 2
    	}
    	if zb0001 != want {
    		err = msgp.ArrayError{Wanted: want, Got: zb0001}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  5. cmd/bucket-replication-utils_gen.go

    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "Targets":
    			var zb0002 uint32
    			zb0002, bts, err = msgp.ReadArrayHeaderBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Targets")
    				return
    			}
    			if cap(z.Targets) >= int(zb0002) {
    				z.Targets = (z.Targets)[:zb0002]
    			} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 61.1K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v2.go

    		if err != nil {
    			return msgp.WrapError(err, "loadLegacy.ReadMapKey")
    		}
    		switch msgp.UnsafeString(field) {
    		case "Versions":
    			var zb0002 uint32
    			zb0002, bts, err = msgp.ReadArrayHeaderBytes(bts)
    			if err != nil {
    				return msgp.WrapError(err, "Versions")
    			}
    			if cap(x.versions) >= int(zb0002) {
    				x.versions = (x.versions)[:zb0002]
    			} else {
    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