Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for bts (0.01 sec)

  1. cmd/metrics-v2_gen.go

    				var za0005 string
    				za0005, bts, err = msgp.ReadStringBytes(bts)
    				if err != nil {
    					err = msgp.WrapError(err, "Histogram")
    					return
    				}
    				za0006, bts, err = msgp.ReadUint64Bytes(bts)
    				if err != nil {
    					err = msgp.WrapError(err, "Histogram", za0005)
    					return
    				}
    				z.Histogram[za0005] = za0006
    			}
    		default:
    			bts, err = msgp.Skip(bts)
    			if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 19K bytes
    - Viewed (0)
  2. cmd/metrics-v2_gen_test.go

    	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 BenchmarkUnmarshalMetricV2(b *testing.B) {
    	v := MetricV2{}
    	bts, _ := v.MarshalMsg(nil)
    	b.ReportAllocs()
    	b.SetBytes(int64(len(bts)))
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		_, err := v.UnmarshalMsg(bts)
    		if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  3. cmd/site-replication-metrics_gen_test.go

    	v := RStat{}
    	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 BenchmarkUnmarshalRStat(b *testing.B) {
    	v := RStat{}
    	bts, _ := v.MarshalMsg(nil)
    	b.ReportAllocs()
    	b.SetBytes(int64(len(bts)))
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  4. internal/grid/msg_gen_test.go

    	v := connectReq{}
    	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 BenchmarkUnmarshalconnectReq(b *testing.B) {
    	v := connectReq{}
    	bts, _ := v.MarshalMsg(nil)
    	b.ReportAllocs()
    	b.SetBytes(int64(len(bts)))
    	b.ResetTimer()
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  5. cmd/bucket-replication-metrics_gen.go

    		case "Curr":
    			z.Curr, bts, err = msgp.ReadIntBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Curr")
    				return
    			}
    		case "Avg":
    			z.Avg, bts, err = msgp.ReadFloat32Bytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Avg")
    				return
    			}
    		case "Max":
    			z.Max, bts, err = msgp.ReadIntBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Max")
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 33.3K bytes
    - Viewed (0)
  6. 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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 73.9K bytes
    - Viewed (0)
  7. cmd/data-usage-cache_gen.go

    						if err != nil {
    							err = msgp.WrapError(err, "Tiers", za0001, "NumObjects")
    							return
    						}
    					default:
    						bts, err = msgp.Skip(bts)
    						if err != nil {
    							err = msgp.WrapError(err, "Tiers", za0001)
    							return
    						}
    					}
    				}
    				z.Tiers[za0001] = za0002
    			}
    		default:
    			bts, err = msgp.Skip(bts)
    			if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 85.5K bytes
    - Viewed (0)
  8. cmd/last-minute_gen.go

    		case "Total":
    			z.Total, bts, err = msgp.ReadInt64Bytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Total")
    				return
    			}
    		case "Size":
    			z.Size, bts, err = msgp.ReadInt64Bytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Size")
    				return
    			}
    		case "N":
    			z.N, bts, err = msgp.ReadInt64Bytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "N")
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  9. cmd/bucket-stats_gen_test.go

    	v := BucketReplicationStat{}
    	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 BenchmarkUnmarshalBucketReplicationStat(b *testing.B) {
    	v := BucketReplicationStat{}
    	bts, _ := v.MarshalMsg(nil)
    	b.ReportAllocs()
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v1_gen_test.go

    func BenchmarkAppendMsgChecksumInfo(b *testing.B) {
    	v := ChecksumInfo{}
    	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 BenchmarkUnmarshalChecksumInfo(b *testing.B) {
    	v := ChecksumInfo{}
    	bts, _ := v.MarshalMsg(nil)
    	b.ReportAllocs()
    	b.SetBytes(int64(len(bts)))
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 13.2K bytes
    - Viewed (0)
Back to top