- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestEncodeDecodeBatchJobKV (0.2 sec)
-
cmd/batch-job-common-types_gen_test.go
for i := 0; i < b.N; i++ { _, err := v.UnmarshalMsg(bts) if err != nil { b.Fatal(err) } } } func TestEncodeDecodeBatchJobKV(t *testing.T) { v := BatchJobKV{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeBatchJobKV Msgsize() is inaccurate") } vn := BatchJobKV{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 11.3K bytes - Viewed (0)