Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for WrapError (0.05 sec)

  1. cmd/data-usage-cache_gen.go

    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "ts":
    			var zb0002 uint32
    			zb0002, err = dc.ReadMapHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "Tiers")
    				return
    			}
    			if z.Tiers == nil {
    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/bucket-metadata_gen.go

    	zb0001, err = dc.ReadMapHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "Name":
    			z.Name, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Name")
    				return
    			}
    		case "Created":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  3. cmd/storage-datatypes_gen.go

    	if err != nil {
    		err = msgp.WrapError(err, "Used")
    		return
    	}
    	z.UsedInodes, err = dc.ReadUint64()
    	if err != nil {
    		err = msgp.WrapError(err, "UsedInodes")
    		return
    	}
    	z.FreeInodes, err = dc.ReadUint64()
    	if err != nil {
    		err = msgp.WrapError(err, "FreeInodes")
    		return
    	}
    	z.Major, err = dc.ReadUint32()
    	if err != nil {
    		err = msgp.WrapError(err, "Major")
    		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)
  4. cmd/xl-storage-format-v2_gen.go

    		err = msgp.WrapError(err, "Type")
    		return
    	}
    	err = en.WriteUint8(uint8(z.Flags))
    	if err != nil {
    		err = msgp.WrapError(err, "Flags")
    		return
    	}
    	err = en.WriteUint8(z.EcN)
    	if err != nil {
    		err = msgp.WrapError(err, "EcN")
    		return
    	}
    	err = en.WriteUint8(z.EcM)
    	if err != nil {
    		err = msgp.WrapError(err, "EcM")
    		return
    	}
    	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)
  5. cmd/xl-storage-format-v1_gen.go

    				err = msgp.WrapError(err, "ETag")
    				return
    			}
    		case "n":
    			z.Number, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "Number")
    				return
    			}
    		case "s":
    			z.Size, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "Size")
    				return
    			}
    		case "as":
    			z.ActualSize, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "ActualSize")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  6. cmd/object-api-interface_gen.go

    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, bts, err = msgp.ReadMapKeyZC(bts)
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "Deleted":
    			z.Deleted, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Deleted")
    				return
    			}
    		case "Cached":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. docs/debugging/xl-meta/main.go

    	if err != nil {
    		err = msgp.WrapError(err, "ModTime")
    		return
    	}
    	bts, err = msgp.ReadExactBytes(bts, (z.Signature)[:])
    	if err != nil {
    		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
    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/data-usage-cache.go

    	zb0002, err = dc.ReadArrayHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	if zb0002 == 0 {
    		*z = nil
    		return
    	}
    	*z = make(dataUsageHashMap, zb0002)
    	for i := uint32(0); i < zb0002; i++ {
    		{
    			var zb0003 string
    			zb0003, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    			(*z)[zb0003] = struct{}{}
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2.go

    	var zb0001 uint32
    	zb0001, bts, err = msgp.ReadMapHeaderBytes(bts)
    	if err != nil {
    		return msgp.WrapError(err, "loadLegacy.ReadMapHeader")
    	}
    
    	var tmp xlMetaV2Version
    	for zb0001 > 0 {
    		zb0001--
    		field, bts, err = msgp.ReadMapKeyZC(bts)
    		if err != nil {
    			return msgp.WrapError(err, "loadLegacy.ReadMapKey")
    		}
    		switch msgp.UnsafeString(field) {
    		case "Versions":
    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