- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 298 for buzz (0.11 sec)
-
pkg/apis/batch/fuzzer/fuzzer.go
return []interface{}{ func(j *batch.Job, c fuzz.Continue) { c.FuzzNoCustom(j) // fuzz self without calling this function again // match defaulting if len(j.Labels) == 0 { j.Labels = j.Spec.Template.Labels } }, func(j *batch.JobSpec, c fuzz.Continue) { c.FuzzNoCustom(j) // fuzz self without calling this function again completions := int32(c.Rand.Int31())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 05 17:25:15 UTC 2024 - 3K bytes - Viewed (0) -
pilot/pkg/security/authz/builder/fuzz_test.go
"testing" "istio.io/istio/pilot/pkg/model" "istio.io/istio/pilot/pkg/security/trustdomain" "istio.io/istio/pkg/fuzz" ) func FuzzBuildHTTP(f *testing.F) { fuzz.Fuzz(f, func(fg fuzz.Helper) { bundle := fuzz.Struct[trustdomain.Bundle](fg) push := fuzz.Struct[*model.PushContext](fg, validatePush) node := fuzz.Struct[*model.Proxy](fg) selectionOpts := model.PolicyMatcherForProxy(node)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 1.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/intstr/instr_fuzz.go
*/ package intstr import ( fuzz "github.com/google/gofuzz" ) // Fuzz satisfies fuzz.Interface func (intstr *IntOrString) Fuzz(c fuzz.Continue) { if intstr == nil { return } if c.RandBool() { intstr.Type = Int c.Fuzz(&intstr.IntVal) intstr.StrVal = "" } else { intstr.Type = String intstr.IntVal = 0 c.Fuzz(&intstr.StrVal) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 1K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_minimize.txt
[!fuzz] skip [short] skip # We clean the fuzz cache during this test. Don't clean the user's cache. env GOCACHE=$WORK/gocache # Test that fuzzminimizetime cannot be negative seconds ! go test -fuzz=FuzzMinimizerRecoverable -run=FuzzMinimizerRecoverable -fuzztime=10000x -fuzzminimizetime=-1ms . ! stdout '^ok' ! stdout 'contains a non-zero byte' stdout 'invalid duration' stdout FAIL # Test that fuzzminimizetime cannot be negative times
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 22 16:15:36 UTC 2021 - 5.8K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_seed_corpus.txt
! go test -fuzz=FuzzWithTestdata -run=None -fuzztime=1x ! stdout ^ok ! stdout 'Failing input written to testdata[/\\]fuzz[/\\]FuzzWithTestdata[/\\]' stdout FAIL # Write a crashing input to the cache mkdir $GOCACHE/fuzz/example.com/x/FuzzRunNoneWithCache cp cache-file $GOCACHE/fuzz/example.com/x/FuzzRunNoneWithCache/1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 17 19:51:29 UTC 2022 - 6.1K bytes - Viewed (0) -
pilot/pkg/networking/util/fuzz_test.go
"istio.io/istio/pkg/fuzz" "istio.io/istio/pkg/test/util/assert" ) func FuzzShallowCopyTrafficPolicy(f *testing.F) { fuzz.Fuzz(f, func(fg fuzz.Helper) { r := fuzz.Struct[*networking.TrafficPolicy](fg) copied := ShallowCopyTrafficPolicy(r) assert.Equal(fg.T(), r, copied) }) } func FuzzShallowCopyPortTrafficPolicy(f *testing.F) { fuzz.Fuzz(f, func(fg fuzz.Helper) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 20:32:49 UTC 2024 - 1.8K bytes - Viewed (0) -
src/internal/fuzz/encoding_test.go
byte('☃')`, reject: true, }, { desc: "extra newline", in: `go test fuzz v1 string("has extra newline") `, want: `go test fuzz v1 string("has extra newline")`, }, { desc: "trailing spaces", in: `go test fuzz v1 string("extra") []byte("spacing") `, want: `go test fuzz v1 string("extra") []byte("spacing")`, }, { desc: "float types",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 00:20:34 UTC 2024 - 8.2K bytes - Viewed (0) -
src/cmd/go/testdata/script/test2json_interrupt.txt
[short] skip 'links and runs a test binary' [!fuzz] skip 'tests SIGINT behavior for interrupting fuzz tests' [GOOS:windows] skip 'windows does not support os.Interrupt' ? go test -json -fuzz FuzzInterrupt -run '^$' -parallel 1 stdout -count=1 '"Action":"pass","Package":"example","Test":"FuzzInterrupt"' stdout -count=1 '"Action":"pass","Package":"example","Elapsed":' mkdir $WORK/fuzzcache go test -c . -fuzz=. -o example_test.exe
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 08 03:52:44 UTC 2022 - 1.7K bytes - Viewed (0) -
security/pkg/server/ca/fuzz_test.go
"testing" pb "istio.io/api/security/v1alpha1" "istio.io/istio/pkg/fuzz" "istio.io/istio/pkg/security" mockca "istio.io/istio/security/pkg/pki/ca/mock" caerror "istio.io/istio/security/pkg/pki/error" ) func FuzzCreateCertificate(f *testing.F) { fuzz.Fuzz(f, func(fg fuzz.Helper) { csr := fuzz.Struct[pb.IstioCertificateRequest](fg) ca := fuzz.Struct[mockca.FakeCA](fg)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Sep 15 21:32:54 UTC 2022 - 1.3K bytes - Viewed (0) -
tests/fuzz/README.md
## Native fuzzers While many jobs are still using the old [go-fuzz](https://github.com/dvyukov/go-fuzz) style fuzzers, using [Go 1.18 native fuzzing](https://go.dev/doc/fuzz/) is preferred. These should be written alongside standard test packages. Currently, these cannot be in `<pkg>_test` packages; instead move them to a file under `<pkg>`.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 23 16:45:44 UTC 2022 - 994 bytes - Viewed (0)