Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 301 for fizz (0.05 sec)

  1. pkg/apis/core/fuzzer/fuzzer.go

    			}
    		},
    		func(s *core.PodStatus, c fuzz.Continue) {
    			c.Fuzz(&s)
    			s.HostIPs = []core.HostIP{{IP: s.HostIP}}
    		},
    		func(j *core.PodPhase, c fuzz.Continue) {
    			statuses := []core.PodPhase{core.PodPending, core.PodRunning, core.PodFailed, core.PodUnknown}
    			*j = statuses[c.Rand.Intn(len(statuses))]
    		},
    		func(j *core.Binding, c fuzz.Continue) {
    			c.Fuzz(&j.ObjectMeta)
    			j.Target.Name = c.RandString()
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 04:32:01 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top