Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for DecodeMsg (0.18 sec)

  1. cmd/batch-job-common-types_gen_test.go

    	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 TestMarshalUnmarshalBatchJobNotification(t *testing.T) {
    	v := BatchJobNotification{}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 02 10:51:33 GMT 2023
    - 11.3K bytes
    - Viewed (0)
Back to top