Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 77 for bts (0.03 sec)

  1. cmd/erasure-server-pool-decom_gen_test.go

    	v := PoolDecommissionInfo{}
    	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 BenchmarkUnmarshalPoolDecommissionInfo(b *testing.B) {
    	v := PoolDecommissionInfo{}
    	bts, _ := v.MarshalMsg(nil)
    	b.ReportAllocs()
    	b.SetBytes(int64(len(bts)))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jan 12 02:48:43 UTC 2022
    - 11K bytes
    - Viewed (0)
  2. cmd/batch-job-common-types_gen_test.go

    	v := BatchJobKV{}
    	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 BenchmarkUnmarshalBatchJobKV(b *testing.B) {
    	v := BatchJobKV{}
    	bts, _ := v.MarshalMsg(nil)
    	b.ReportAllocs()
    	b.SetBytes(int64(len(bts)))
    	b.ResetTimer()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  3. cmd/batch-rotate_gen_test.go

    	v := BatchJobKeyRotateEncryption{}
    	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 BenchmarkUnmarshalBatchJobKeyRotateEncryption(b *testing.B) {
    	v := BatchJobKeyRotateEncryption{}
    	bts, _ := v.MarshalMsg(nil)
    	b.ReportAllocs()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 29 18:27:23 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2_gen_test.go

    	v := xlMetaDataDirDecoder{}
    	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 BenchmarkUnmarshalxlMetaDataDirDecoder(b *testing.B) {
    	v := xlMetaDataDirDecoder{}
    	bts, _ := v.MarshalMsg(nil)
    	b.ReportAllocs()
    	b.SetBytes(int64(len(bts)))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Nov 18 20:15:22 UTC 2021
    - 11.5K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v2-legacy.go

    	var zb0001 uint32
    	zb0001, bts, err = msgp.ReadArrayHeaderBytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	if zb0001 != 4 {
    		err = msgp.ArrayError{Wanted: 4, Got: zb0001}
    		return
    	}
    	bts, err = msgp.ReadExactBytes(bts, (x.VersionID)[:])
    	if err != nil {
    		err = msgp.WrapError(err, "VersionID")
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 19 16:43:43 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. cmd/storage-datatypes_gen.go

    	}
    	z.XLV1, bts, err = msgp.ReadBoolBytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err, "XLV1")
    		return
    	}
    	z.ModTime, bts, err = msgp.ReadTimeBytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err, "ModTime")
    		return
    	}
    	z.Size, bts, err = msgp.ReadInt64Bytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err, "Size")
    		return
    	}
    	z.Mode, bts, err = msgp.ReadUint32Bytes(bts)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  7. internal/grid/msg_gen.go

    		case "ID":
    			bts, err = msgp.ReadExactBytes(bts, (z.ID)[:])
    			if err != nil {
    				err = msgp.WrapError(err, "ID")
    				return
    			}
    		case "Host":
    			z.Host, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Host")
    				return
    			}
    		case "Time":
    			z.Time, bts, err = msgp.ReadTimeBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Time")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool-rebalance_gen.go

    		case "startTs":
    			z.StartTime, bts, err = msgp.ReadTimeBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "StartTime")
    				return
    			}
    		case "stopTs":
    			z.EndTime, bts, err = msgp.ReadTimeBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "EndTime")
    				return
    			}
    		case "status":
    			{
    				var zb0002 uint8
    				zb0002, bts, err = msgp.ReadUint8Bytes(bts)
    				if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  9. cmd/batch-replicate_gen.go

    		case "AccessKey":
    			z.AccessKey, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "AccessKey")
    				return
    			}
    		case "SecretKey":
    			z.SecretKey, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "SecretKey")
    				return
    			}
    		case "SessionToken":
    			z.SessionToken, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  10. cmd/site-replication-metrics_gen.go

    		case "Count":
    			z.Count, bts, err = msgp.ReadInt64Bytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Count")
    				return
    			}
    		case "Bytes":
    			z.Bytes, bts, err = msgp.ReadInt64Bytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Bytes")
    				return
    			}
    		default:
    			bts, err = msgp.Skip(bts)
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 40.6K bytes
    - Viewed (0)
Back to top