Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 312 for buzz (0.1 sec)

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

    [short] skip
    [!fuzz] skip
    env GOCACHE=$WORK/cache
    
    # If the I/O error occurs before F.Fuzz is called, the coordinator should
    # stop the worker and say that.
    ! go test -fuzz=FuzzClosePipeBefore -parallel=1
    stdout '\s*fuzzing process terminated without fuzzing:'
    ! stdout 'communicating with fuzzing process'
    ! exists testdata
    
    # If the I/O error occurs after F.Fuzz is called (unlikely), just exit.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/test_fuzz_parallel.txt

    ! go test -run=FuzzMutate -fuzz=FuzzMutate
    exists testdata/fuzz/FuzzMutate
    
    # Testdata should now contain a corpus entry which will fail FuzzMutate.
    # Run the test without fuzzing, setting -parallel to different values to make
    # sure it fails, and doesn't hang.
    ! go test -run=FuzzMutate -parallel=1
    ! go test -run=FuzzMutate -parallel=2
    ! go test -run=FuzzMutate -parallel=4
    
    -- go.mod --
    module fuzz_parallel
    
    go 1.17
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. pkg/kube/inject/fuzz_test.go

    // limitations under the License.
    
    package inject
    
    import (
    	"testing"
    
    	fuzz "github.com/AdaLogics/go-fuzz-headers"
    )
    
    func FuzzRunTemplate(f *testing.F) {
    	f.Fuzz(func(t *testing.T, data []byte, v string) {
    		ff := fuzz.NewConsumer(data)
    
    		// create injection parameters
    		IP := InjectionParameters{}
    		err := ff.GenerateStruct(&IP)
    		if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 12 14:51:41 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/apis/example/fuzzer/fuzzer.go

    				}
    			} else {
    				types := []runtime.Object{&example.Pod{}}
    				t := types[c.Rand.Intn(len(types))]
    				c.Fuzz(t)
    				*j = t
    			}
    		},
    		func(r *runtime.RawExtension, c fuzz.Continue) {
    			// Pick an arbitrary type and fuzz it
    			types := []runtime.Object{&example.Pod{}}
    			obj := types[c.Rand.Intn(len(types))]
    			c.Fuzz(obj)
    
    			// Convert the object to raw bytes
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 01 19:31:12 UTC 2018
    - 3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/fuzzer/fuzzer.go

    			} else {
    				types := []runtime.Object{&testapigroup.Carp{}}
    				t := types[c.Rand.Intn(len(types))]
    				c.Fuzz(t)
    				*j = t
    			}
    		},
    		func(r *runtime.RawExtension, c fuzz.Continue) {
    			// Pick an arbitrary type and fuzz it
    			types := []runtime.Object{&testapigroup.Carp{}}
    			obj := types[c.Rand.Intn(len(types))]
    			c.Fuzz(obj)
    
    			// Convert the object to raw bytes
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 01 19:31:12 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/test_fuzz_deadline.txt

    go test -fuzz=FuzzDeadline -timeout=0 -fuzztime=1s -wantdeadline=false
    go test -fuzz=FuzzDeadline -timeout=0 -fuzztime=100x -wantdeadline=false
    
    -- go.mod --
    module fuzz
    
    go 1.16
    -- fuzz_deadline_test.go --
    package fuzz_test
    
    import (
    	"flag"
    	"testing"
    )
    
    var wantDeadline = flag.Bool("wantdeadline", false, "whether the test should have a deadline")
    
    func FuzzDeadline(f *testing.F) {
    	f.Add("run once")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 20:09:52 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/tests.go

    	}
    }
    
    // checkFuzzCall checks the arguments of f.Fuzz() calls:
    //
    //  1. f.Fuzz() should call a function and it should be of type (*testing.F).Fuzz().
    //  2. The called function in f.Fuzz(func(){}) should not return result.
    //  3. First argument of func() should be of type *testing.T
    //  4. Second argument onwards should be of type []byte, string, bool, byte,
    //     rune, float32, float64, int, int8, int16, int32, int64, uint, uint8, uint16,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/test_fuzz_minimize_dirty_cov.txt

    [short] skip
    [!fuzz-instrumented] skip
    
    env GOCACHE=$WORK/gocache
    go test -fuzz=FuzzCovMin -fuzztime=500000x -test.fuzzcachedir=$GOCACHE/fuzz
    go run check_file/main.go $GOCACHE/fuzz/FuzzCovMin ab
    
    -- go.mod --
    module test
    
    -- covmin_test.go --
    package covmin
    
    import "testing"
    
    func FuzzCovMin(f *testing.F) {
    	f.Add([]byte("aa"))
    	f.Fuzz(func(t *testing.T, data []byte) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 27 01:16:19 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. security/pkg/pki/ca/fuzz_test.go

    // limitations under the License.
    
    package ca
    
    import (
    	"testing"
    	"time"
    
    	fuzz "github.com/AdaLogics/go-fuzz-headers"
    )
    
    func FuzzIstioCASign(f *testing.F) {
    	f.Fuzz(func(t *testing.T, data, csrPEM []byte) {
    		ff := fuzz.NewConsumer(data)
    		// create ca options
    		opts := &IstioCAOptions{}
    		err := ff.GenerateStruct(opts)
    		if err != nil {
    			return
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 12 14:51:41 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  10. pkg/bootstrap/fuzz_test.go

    // limitations under the License.
    
    package bootstrap
    
    import (
    	"bytes"
    	"io"
    	"os"
    	"testing"
    
    	fuzz "github.com/AdaLogics/go-fuzz-headers"
    )
    
    func FuzzWriteTo(f *testing.F) {
    	f.Fuzz(func(t *testing.T, data []byte) {
    		ff := fuzz.NewConsumer(data)
    
    		// create config
    		cfg := Config{}
    
    		err := ff.GenerateStruct(&cfg)
    		if err != nil {
    			return
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 12 14:51:41 UTC 2022
    - 1.4K bytes
    - Viewed (0)
Back to top