Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 325 for fuzz (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/collections/SortedSetElementSourceTest.groovy

            when:
            source.add("buzz")
            iterator = source.iterator()
            next = iterator.next()
    
            then:
            next == "buzz"
    
            when:
            iterator.remove()
    
            then:
            iterator.hasNext()
            source.iterator().collect() == iterationOrder("foo", "fooz", "fizz", "fuzz")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 02 15:12:14 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  10. 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)
Back to top