Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for ReadArrayHeader (0.12 sec)

  1. cmd/data-usage-cache_gen.go

    		case "dms":
    			z.DeleteMarkers, err = dc.ReadUint64()
    			if err != nil {
    				err = msgp.WrapError(err, "DeleteMarkers")
    				return
    			}
    		case "szs":
    			var zb0002 uint32
    			zb0002, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "ObjSizes")
    				return
    			}
    			if zb0002 != uint32(dataUsageBucketLen) {
    				err = msgp.ArrayError{Wanted: uint32(dataUsageBucketLen), Got: zb0002}
    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/tier-last-day-stats_gen.go

    			field, err = dc.ReadMapKeyPtr()
    			if err != nil {
    				err = msgp.WrapError(err, zb0001)
    				return
    			}
    			switch msgp.UnsafeString(field) {
    			case "Bins":
    				var zb0006 uint32
    				zb0006, err = dc.ReadArrayHeader()
    				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/batch-expire_gen.go

    				return
    			}
    		case "Retry":
    			err = z.Retry.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "Retry")
    				return
    			}
    		case "Rules":
    			var zb0002 uint32
    			zb0002, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "Rules")
    				return
    			}
    			if cap(z.Rules) >= int(zb0002) {
    				z.Rules = (z.Rules)[:zb0002]
    			} else {
    				z.Rules = make([]BatchJobExpireFilter, zb0002)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool-rebalance_gen.go

    		case "pf":
    			z.PercentFreeGoal, err = dc.ReadFloat64()
    			if err != nil {
    				err = msgp.WrapError(err, "PercentFreeGoal")
    				return
    			}
    		case "rss":
    			var zb0002 uint32
    			zb0002, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "PoolStats")
    				return
    			}
    			if cap(z.PoolStats) >= int(zb0002) {
    				z.PoolStats = (z.PoolStats)[:zb0002]
    			} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  5. cmd/bootstrap-peer-server_gen.go

    		case "NEndpoints":
    			z.NEndpoints, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "NEndpoints")
    				return
    			}
    		case "CmdLines":
    			var zb0002 uint32
    			zb0002, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "CmdLines")
    				return
    			}
    			if cap(z.CmdLines) >= int(zb0002) {
    				z.CmdLines = (z.CmdLines)[:zb0002]
    			} else {
    				z.CmdLines = make([]string, zb0002)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 14:49:49 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v2_gen.go

    		case "EcIndex":
    			z.ErasureIndex, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "ErasureIndex")
    				return
    			}
    		case "EcDist":
    			var zb0003 uint32
    			zb0003, err = dc.ReadArrayHeader()
    			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)
  7. cmd/xl-storage-format-v2-legacy.go

    	}
    	o = bts
    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    func (z *xlMetaV2VersionHeaderV2) DecodeMsg(dc *msgp.Reader) (err error) {
    	z.EcN, z.EcN = 0, 0
    	var zb0001 uint32
    	zb0001, err = dc.ReadArrayHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	if zb0001 != 5 {
    		err = msgp.ArrayError{Wanted: 5, Got: zb0001}
    		return
    	}
    	err = dc.ReadExactBytes((z.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)
  8. cmd/storage-datatypes_gen.go

    	var zb0002 uint32
    	zb0002, err = dc.ReadArrayHeader()
    	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, err = dc.ReadArrayHeader()
    		if err != nil {
    			err = msgp.WrapError(err, zb0001)
    			return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  9. cmd/batch-rotate_gen.go

    		case "CreatedBefore":
    			z.CreatedBefore, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "CreatedBefore")
    				return
    			}
    		case "Tags":
    			var zb0002 uint32
    			zb0002, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "Tags")
    				return
    			}
    			if cap(z.Tags) >= int(zb0002) {
    				z.Tags = (z.Tags)[:zb0002]
    			} else {
    				z.Tags = make([]BatchJobKV, zb0002)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 27.1K bytes
    - Viewed (0)
  10. cmd/local-locker_gen.go

    		zb0004--
    		var zb0001 string
    		var zb0002 []lockRequesterInfo
    		zb0001, err = dc.ReadString()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		var zb0005 uint32
    		zb0005, err = dc.ReadArrayHeader()
    		if err != nil {
    			err = msgp.WrapError(err, zb0001)
    			return
    		}
    		if cap(zb0002) >= int(zb0005) {
    			zb0002 = (zb0002)[:zb0005]
    		} else {
    			zb0002 = make([]lockRequesterInfo, zb0005)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top