Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ReadArrayHeaderBytes (0.2 sec)

  1. cmd/data-usage-cache_gen.go

    			z.started, bts, err = msgp.ReadTimeBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "started")
    				return
    			}
    		case "cycleCompleted":
    			var zb0002 uint32
    			zb0002, bts, err = msgp.ReadArrayHeaderBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "cycleCompleted")
    				return
    			}
    			if cap(z.cycleCompleted) >= int(zb0002) {
    				z.cycleCompleted = (z.cycleCompleted)[:zb0002]
    			} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 75K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "ErasureIndex")
    				return
    			}
    		case "EcDist":
    			var zb0003 uint32
    			zb0003, bts, err = msgp.ReadArrayHeaderBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "ErasureDist")
    				return
    			}
    			if cap(z.ErasureDist) >= int(zb0003) {
    				z.ErasureDist = (z.ErasureDist)[:zb0003]
    			} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  3. cmd/storage-datatypes_gen.go

    	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(VolsInfo, zb0002)
    	}
    	for zb0001 := range *z {
    		var zb0003 uint32
    		zb0003, bts, err = msgp.ReadArrayHeaderBytes(bts)
    		if err != nil {
    			err = msgp.WrapError(err, zb0001)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v1_gen.go

    			z.Index, bts, err = msgp.ReadIntBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Index")
    				return
    			}
    		case "Distribution":
    			var zb0002 uint32
    			zb0002, bts, err = msgp.ReadArrayHeaderBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Distribution")
    				return
    			}
    			if cap(z.Distribution) >= int(zb0002) {
    				z.Distribution = (z.Distribution)[:zb0002]
    			} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  5. 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)
  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