Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for bts (0.1 sec)

  1. cmd/metrics-v2_gen.go

    				zb0004--
    				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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  2. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 30 08:00:59 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  3. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  4. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  5. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 05 21:45:49 UTC 2022
    - 17.2K bytes
    - Viewed (0)
  6. cmd/batch-rotate_gen.go

    		case "Filter":
    			bts, err = z.Filter.UnmarshalMsg(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Filter")
    				return
    			}
    		case "Notify":
    			bts, err = z.Notify.UnmarshalMsg(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Notify")
    				return
    			}
    		case "Retry":
    			bts, err = z.Retry.UnmarshalMsg(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Retry")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 27.1K bytes
    - Viewed (0)
  7. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 30 08:00:59 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  8. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 13.2K bytes
    - Viewed (0)
  9. cmd/batch-handlers_gen.go

    			if msgp.IsNil(bts) {
    				bts, err = msgp.ReadNilBytes(bts)
    				if err != nil {
    					return
    				}
    				z.KeyRotate = nil
    			} else {
    				if z.KeyRotate == nil {
    					z.KeyRotate = new(BatchJobKeyRotateV1)
    				}
    				bts, err = z.KeyRotate.UnmarshalMsg(bts)
    				if err != nil {
    					err = msgp.WrapError(err, "KeyRotate")
    					return
    				}
    			}
    		case "Expire":
    			if msgp.IsNil(bts) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  10. cmd/metacache-set_gen.go

    		case "ID":
    			z.ID, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "ID")
    				return
    			}
    		case "Bucket":
    			z.Bucket, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Bucket")
    				return
    			}
    		case "BaseDir":
    			z.BaseDir, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 19 20:23:12 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top