- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for BenchmarkUnmarshal (0.17 sec)
-
src/encoding/asn1/marshal_test.go
t.Error("Unmarshal returned extra garbage") } if !reflect.DeepEqual(expectedOrder, resultSet) { t.Errorf("Unexpected SET content. got: %s, want: %s", resultSet, expectedOrder) } } func BenchmarkUnmarshal(b *testing.B) { b.ReportAllocs() type testCase struct { in []byte out any } var testData []testCase for _, test := range unmarshalTestData {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 10K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/pruning/algorithm_test.go
//nolint:staticcheck //iccheck // SA4010 the result of append is never used, it's acceptable since in benchmark testing. instances = append(instances, runtime.DeepCopyJSON(obj)) } } func BenchmarkUnmarshal(b *testing.B) { b.StopTimer() b.ReportAllocs() instances := make([]map[string]interface{}, b.N) b.StartTimer() for i := 0; i < b.N; i++ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 20.3K bytes - Viewed (0)