- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestEncodeDecodeBaseOptions (0.47 sec)
-
cmd/storage-datatypes_gen_test.go
_, err := v.UnmarshalMsg(bts) if err != nil { b.Fatal(err) } } } func TestEncodeDecodeBaseOptions(t *testing.T) { v := BaseOptions{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeBaseOptions Msgsize() is inaccurate") } vn := BaseOptions{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Aug 12 08:38:15 UTC 2024 - 73.9K bytes - Viewed (0)