Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 173 for DC (0.05 seconds)

  1. cmd/xl-storage-format-v1_gen_test.go

    	v := ChecksumInfo{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    	rd := msgp.NewEndlessReader(buf.Bytes(), b)
    	dc := msgp.NewReader(rd)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		err := v.DecodeMsg(dc)
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    }
    
    func TestMarshalUnmarshalErasureInfo(t *testing.T) {
    	v := ErasureInfo{}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  2. cmd/batch-handlers_gen_test.go

    	v := BatchJobPrefix{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    	rd := msgp.NewEndlessReader(buf.Bytes(), b)
    	dc := msgp.NewReader(rd)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		err := v.DecodeMsg(dc)
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    }
    
    func TestMarshalUnmarshalBatchJobRequest(t *testing.T) {
    	v := BatchJobRequest{}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  3. cmd/local-locker_gen_test.go

    	v := localLockMap{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    	rd := msgp.NewEndlessReader(buf.Bytes(), b)
    	dc := msgp.NewReader(rd)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		err := v.DecodeMsg(dc)
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    }
    
    func TestMarshalUnmarshallockRequesterInfo(t *testing.T) {
    	v := lockRequesterInfo{}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  4. cmd/data-usage-cache_gen.go

    	}
    	z.Size, err = dc.ReadInt64()
    	if err != nil {
    		err = msgp.WrapError(err, "Size")
    		return
    	}
    	z.Objects, err = dc.ReadUint64()
    	if err != nil {
    		err = msgp.WrapError(err, "Objects")
    		return
    	}
    	z.Versions, err = dc.ReadUint64()
    	if err != nil {
    		err = msgp.WrapError(err, "Versions")
    		return
    	}
    	var zb0002 uint32
    	zb0002, err = dc.ReadArrayHeader()
    	if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 85.5K bytes
    - Click Count (0)
  5. cmd/storage-datatypes_test.go

    		Name:    "uuid",
    		Created: time.Now(),
    	}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	rd := msgp.NewEndlessReader(buf.Bytes(), b)
    	dc := msgp.NewReader(rd)
    	b.Log("Size:", buf.Len(), "bytes")
    	b.SetBytes(1)
    	b.ReportAllocs()
    
    	for b.Loop() {
    		err := v.DecodeMsg(dc)
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    }
    
    func BenchmarkDecodeDiskInfoMsgp(b *testing.B) {
    	v := DiskInfo{
    		Total:     1000,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  6. internal/bucket/replication/datatypes_gen.go

    package replication
    
    import (
    	"github.com/tinylib/msgp/msgp"
    )
    
    // DecodeMsg implements msgp.Decodable
    func (z *StatusType) DecodeMsg(dc *msgp.Reader) (err error) {
    	{
    		var zb0001 string
    		zb0001, err = dc.ReadString()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = StatusType(zb0001)
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  7. cmd/storage-datatypes_gen.go

    	}
    	z.Free, err = dc.ReadUint64()
    	if err != nil {
    		err = msgp.WrapError(err, "Free")
    		return
    	}
    	z.Used, err = dc.ReadUint64()
    	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 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 151.7K bytes
    - Click Count (0)
  8. cmd/storage-rest-common_gen_test.go

    	v := nsScannerOptions{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    	rd := msgp.NewEndlessReader(buf.Bytes(), b)
    	dc := msgp.NewReader(rd)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		err := v.DecodeMsg(dc)
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    }
    
    func TestMarshalUnmarshalnsScannerResp(t *testing.T) {
    	v := nsScannerResp{}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  9. cmd/batch-expire_gen_test.go

    	v := BatchJobExpire{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    	rd := msgp.NewEndlessReader(buf.Bytes(), b)
    	dc := msgp.NewReader(rd)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		err := v.DecodeMsg(dc)
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    }
    
    func TestMarshalUnmarshalBatchJobExpireFilter(t *testing.T) {
    	v := BatchJobExpireFilter{}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  10. cmd/last-minute_gen_test.go

    	v := AccElem{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    	rd := msgp.NewEndlessReader(buf.Bytes(), b)
    	dc := msgp.NewReader(rd)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		err := v.DecodeMsg(dc)
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    }
    
    func TestMarshalUnmarshalLastMinuteHistogram(t *testing.T) {
    	v := LastMinuteHistogram{}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 6.8K bytes
    - Click Count (0)
Back to Top