- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 125 for fuzz (0.1 sec)
-
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go
} } func TestNewCreateOptionsFromUpdateOptions(t *testing.T) { f := fuzz.New().NilChance(0.0).NumElements(1, 1) // The goal here is to trigger when any changes are made to either // CreateOptions or UpdateOptions types, so we can update the converter. for i := 0; i < 20; i++ { in := &metav1.UpdateOptions{} f.Fuzz(in) in.TypeMeta.SetGroupVersionKind(metav1.SchemeGroupVersion.WithKind("CreateOptions"))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 101.8K bytes - Viewed (0) -
src/time/format_test.go
for _, offset := range []int{0, 60, 60 * 60, 99*60*60 + 99*60, 123456789} { f.Add(ts[0], ts[1], false, false, -offset) f.Add(ts[0], ts[1], false, false, +offset) } } f.Fuzz(func(t *testing.T, sec, nsec int64, useUTC, useLocal bool, tzOffset int) { var loc *Location switch { case useUTC: loc = UTC case useLocal: loc = Local default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:58:29 UTC 2024 - 36.4K bytes - Viewed (0) -
src/cmd/go/internal/help/helpdoc.go
See 'go help test' for details. Running 'go clean -testcache' removes all cached test results (but not cached build results). The go command also caches values used in fuzzing with 'go test -fuzz', specifically, values that expanded code coverage when passed to a fuzz function. These values are not used for regular building and testing, but they're stored in a subdirectory of the build cache. Running 'go clean -fuzzcache' removes all cached fuzzing values.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:54:28 UTC 2024 - 36.3K bytes - Viewed (0) -
src/runtime/mgcscavenge_test.go
// It's not critical that we keep these in sync, they're just // reasonable seed inputs. f.Add(0.3375, 3.2e6, 1e9, 0.001, 1000.0, 0.01) f.Add(0.9, 4.0, 1000.0, -1000.0, 1000.0, 0.84) f.Fuzz(func(t *testing.T, kp, ti, tt, min, max, setPoint float64) { // Ignore uninteresting invalid parameters. These parameters // are constant, so in practice surprising values will be documented
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 25.2K bytes - Viewed (0) -
src/cmd/link/internal/ld/data.go
ldr.SetSymSect(ldr.LookupOrCreateSym("runtime.__stop___sancov_cntrs", 0), sect) ldr.SetSymSect(ldr.LookupOrCreateSym("internal/fuzz._counters", 0), sect) ldr.SetSymSect(ldr.LookupOrCreateSym("internal/fuzz._ecounters", 0), sect) } // Assign runtime.end to the last section of data segment.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 12 15:10:50 UTC 2024 - 100.5K bytes - Viewed (0) -
src/cmd/go/internal/load/test.go
err := checkTestFunc(n, "B") if err != nil { return err } t.Benchmarks = append(t.Benchmarks, testFunc{pkg, name, "", false}) *doImport, *seen = true, true case isTest(name, "Fuzz"): err := checkTestFunc(n, "F") if err != nil { return err } t.FuzzTargets = append(t.FuzzTargets, testFunc{pkg, name, "", false}) *doImport, *seen = true, true } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 14:01:23 UTC 2024 - 28.2K bytes - Viewed (0) -
tests/integration/security/authz_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 23:36:51 UTC 2024 - 50.1K bytes - Viewed (0) -
src/os/file.go
if n < 0 { n = 0 } return n, err } // checkWrapErr is the test hook to enable checking unexpected wrapped errors of poll.ErrFileClosing. // It is set to true in the export_test.go for tests (including fuzz tests). var checkWrapErr = false // wrapErr wraps an error that occurred during an operation on an open file. // It passes io.EOF through unchanged, otherwise converts
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 23:07:37 UTC 2024 - 25.4K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation_test.go
fuzzerFuncs := fuzzer.MergeFuzzerFuncs(apiextensionsfuzzer.Funcs) f := fuzzer.FuzzerFor(fuzzerFuncs, rand.NewSource(seed), codecs) for i := 0; i < 10000; i++ { // fuzz internal types schema := &apiextensions.JSONSchemaProps{} f.Fuzz(schema) v1beta1Schema := &apiextensionsv1beta1.JSONSchemaProps{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 349.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/environment/environment_test.go
// always enabled for StoredExpressions }, invalidExpressions: []string{"fizz == 'buzz'"}, activation: map[string]any{"fizz": "buzz"}, opts: []VersionedOptions{ {IntroducedVersion: version.MajorMinor(1, 28), EnvOptions: []cel.EnvOption{cel.Variable("fizz", cel.StringType)}}, }, }, { name: "user defined variable enabled",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 10K bytes - Viewed (0)