Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 252 for buzz (0.12 sec)

  1. src/cmd/go/testdata/script/test_fuzz_match.txt

    stdout '^ok'
    stdout 'no fuzz tests to fuzz'
    
    [short] stop
    
    # Matches only fuzz targets to test with -run.
    go test -run Fuzz standalone_fuzz_test.go
    ! stdout '^ok.*\[no tests to run\]'
    stdout '^ok'
    
    # Matches no fuzz targets.
    go test -run ThisWillNotMatch standalone_fuzz_test.go
    stdout '^ok.*no tests to run'
    ! stdout 'no fuzz tests to fuzz'
    
    -- standalone_fuzz_test.go --
    package standalone_fuzz
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 953 bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/fuzz_test.go

    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pkg/fuzz"
    )
    
    func FuzzBuildGatewayListeners(f *testing.F) {
    	f.Fuzz(func(t *testing.T, patchCount int, hostname string, data []byte) {
    		defer fuzz.Finalize()
    		fg := fuzz.New(t, data)
    		proxy := fuzz.Struct[*model.Proxy](fg)
    		to := fuzz.Struct[TestOptions](fg)
    		lb := fuzz.Struct[*ListenerBuilder](fg)
    		cg := NewConfigGenTest(t, to)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/test_fuzz_mutate_fail.txt

    [!fuzz] skip
    
    # Check that if a worker does not call F.Fuzz or calls F.Fail first,
    # 'go test' exits non-zero and no crasher is recorded.
    
    [short] skip
    env GOCACHE=$WORK/cache
    
    ! go test -fuzz=FuzzReturn
    ! exists testdata
    
    ! go test -fuzz=FuzzSkip
    ! exists testdata
    
    ! go test -fuzz=FuzzFail
    ! exists testdata
    
    ! go test -fuzz=FuzzPanic
    ! exists testdata
    
    ! go test -fuzz=FuzzNilPanic
    ! exists testdata
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/test_fuzz_multiple.txt

    ! go test -fuzz=. ./zero ./one
    stderr '^cannot use -fuzz flag with multiple packages$'
    go test -fuzz=. -fuzztime=1x ./one
    
    # With fuzzing enabled, at most one target in the same package may match.
    ! go test -fuzz=. ./two
    stdout '^testing: will not fuzz, -fuzz matches more than one fuzz test: \[FuzzOne FuzzTwo\]$'
    go test -fuzz=FuzzTwo -fuzztime=1x ./two
    
    -- go.mod --
    module fuzz
    
    go 1.18
    -- zero/zero.go --
    package zero
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/test_fuzz_mutate_crash.txt

    ! go test -run=FuzzWithNilPanic -fuzz=FuzzWithNilPanic -fuzztime=100x -fuzzminimizetime=1000x
    stdout 'testdata[/\\]fuzz[/\\]FuzzWithNilPanic[/\\]'
    stdout 'panic called with nil argument|test executed panic.nil. or runtime.Goexit'
    go run check_testdata.go FuzzWithNilPanic
    
    ! go test -run=FuzzWithGoexit -fuzz=FuzzWithGoexit -fuzztime=100x -fuzzminimizetime=1000x
    stdout 'testdata[/\\]fuzz[/\\]FuzzWithGoexit[/\\]'
    stdout 'runtime.Goexit'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  6. tests/fuzz/oss_fuzz_build.sh

    compile_go_fuzzer istio.io/istio/tests/fuzz FuzzInitContext fuzz_init_context
    compile_go_fuzzer istio.io/istio/tests/fuzz FuzzAnalyzer fuzz_analyzer
    compile_go_fuzzer istio.io/istio/tests/fuzz FuzzXds fuzz_xds
    compile_go_fuzzer istio.io/istio/tests/fuzz FuzzCompareDiff fuzz_compare_diff
    compile_go_fuzzer istio.io/istio/tests/fuzz FuzzHelmReconciler fuzz_helm_reconciler
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 15:50:05 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top