- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkNodeCopy (0.21 sec)
-
pkg/api/testing/deep_copy_test.go
result = benchmarkPod.DeepCopy() } if !apiequality.Semantic.DeepEqual(benchmarkPod, *result) { b.Fatalf("Incorrect copy: expected %v, got %v", benchmarkPod, *result) } } func BenchmarkNodeCopy(b *testing.B) { data, err := os.ReadFile("node_example.json") if err != nil { b.Fatalf("Unexpected error while reading file: %v", err) } var node api.Node
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 31 14:16:53 UTC 2022 - 4.7K bytes - Viewed (0)