- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NewWithSeed (0.1 sec)
-
staging/src/k8s.io/apimachinery/pkg/runtime/converter_test.go
// with the various validation directives (Ignore, Warn, Strict) func BenchmarkFromUnstructuredWithValidation(b *testing.B) { re := regexp.MustCompile("^I$") f := fuzz.NewWithSeed(1).NilChance(0.1).SkipFieldsWithPattern(re) iObj := &I{} f.Fuzz(&iObj) unstr, err := runtime.DefaultUnstructuredConverter.ToUnstructured(iObj) if err != nil { b.Fatalf("ToUnstructured failed: %v", err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 11 16:02:13 UTC 2023 - 22.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/handler_test.go
codecs = runtimeserializer.NewCodecFactory(scheme) } func fuzzAPIGroups(atLeastNumGroups, maxNumGroups int, seed int64) apidiscoveryv2.APIGroupDiscoveryList { fuzzer := fuzz.NewWithSeed(seed) fuzzer.NumElements(atLeastNumGroups, maxNumGroups) fuzzer.NilChance(0) fuzzer.Funcs(func(o *apidiscoveryv2.APIGroupDiscovery, c fuzz.Continue) { c.FuzzNoCustom(o)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 02 00:29:39 UTC 2024 - 28.6K bytes - Viewed (0)