Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for bts (0.02 sec)

  1. cmd/storage-datatypes_gen_test.go

    	v := BaseOptions{}
    	bts := make([]byte, 0, v.Msgsize())
    	bts, _ = v.MarshalMsg(bts[0:0])
    	b.SetBytes(int64(len(bts)))
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		bts, _ = v.MarshalMsg(bts[0:0])
    	}
    }
    
    func BenchmarkUnmarshalBaseOptions(b *testing.B) {
    	v := BaseOptions{}
    	bts, _ := v.MarshalMsg(nil)
    	b.ReportAllocs()
    	b.SetBytes(int64(len(bts)))
    	b.ResetTimer()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Aug 12 08:38:15 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  2. cmd/data-usage-cache_gen.go

    				zb0002--
    				za0001, bts, err = msgp.ReadStringBytes(bts)
    				if err != nil {
    					err = msgp.WrapError(err, "Tiers")
    					return
    				}
    				var zb0003 uint32
    				zb0003, bts, err = msgp.ReadMapHeaderBytes(bts)
    				if err != nil {
    					err = msgp.WrapError(err, "Tiers", za0001)
    					return
    				}
    				for zb0003 > 0 {
    					zb0003--
    					field, bts, err = msgp.ReadMapKeyZC(bts)
    					if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 75K bytes
    - Viewed (0)
  3. cmd/bucket-stats_gen.go

    		case "ReplicatedSize":
    			z.ReplicatedSize, bts, err = msgp.ReadInt64Bytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "ReplicatedSize")
    				return
    			}
    		case "ReplicaSize":
    			z.ReplicaSize, bts, err = msgp.ReadInt64Bytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "ReplicaSize")
    				return
    			}
    		case "FailStats":
    			bts, err = z.FailStats.UnmarshalMsg(bts)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  4. cmd/object-api-datatypes_gen.go

    		case "Name":
    			z.Name, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Name")
    				return
    			}
    		case "Created":
    			z.Created, bts, err = msgp.ReadTimeBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Created")
    				return
    			}
    		case "Deleted":
    			z.Deleted, bts, err = msgp.ReadTimeBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Deleted")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v2_gen.go

    				z.PartNumbers[za0004], bts, err = msgp.ReadIntBytes(bts)
    				if err != nil {
    					err = msgp.WrapError(err, "PartNumbers", za0004)
    					return
    				}
    			}
    		case "PartETags":
    			if msgp.IsNil(bts) {
    				bts = bts[1:]
    				z.PartETags = nil
    			} else {
    				var zb0006 uint32
    				zb0006, bts, err = msgp.ReadArrayHeaderBytes(bts)
    				if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  6. cmd/bucket-replication-utils_gen.go

    				zb0002--
    				za0001, bts, err = msgp.ReadStringBytes(bts)
    				if err != nil {
    					err = msgp.WrapError(err, "Entries")
    					return
    				}
    				var zb0003 uint32
    				zb0003, bts, err = msgp.ReadMapHeaderBytes(bts)
    				if err != nil {
    					err = msgp.WrapError(err, "Entries", za0001)
    					return
    				}
    				for zb0003 > 0 {
    					zb0003--
    					field, bts, err = msgp.ReadMapKeyZC(bts)
    					if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 61.1K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2.go

    		return errFileCorrupt
    	}
    	// bts will shrink as we decode.
    	bts := allMeta
    	var field []byte
    	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 {
    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