Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 301 for fizz (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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 (1)
  7. 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)
  8. src/cmd/go/testdata/script/test_fuzz_minimize_interesting.txt

    # functions called by testing or internal/fuzz in the background.
    
    go test -c -fuzz=.  # Build using shared build cache for speed.
    env GOCACHE=$WORK/gocache
    exec ./fuzz.test$GOEXE -test.fuzzcachedir=$GOCACHE/fuzz -test.fuzz=FuzzMinCache -test.fuzztime=1000x
    go run check_cache/check_cache.go $GOCACHE/fuzz/FuzzMinCache
    
    # Test that minimization occurs for a crash that appears while minimizing a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:32 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  9. pilot/pkg/config/kube/gateway/fuzz_test.go

    // limitations under the License.
    
    package gateway
    
    import (
    	"testing"
    
    	"istio.io/istio/pkg/fuzz"
    )
    
    func FuzzConvertResources(f *testing.F) {
    	fuzz.Fuzz(f, func(fg fuzz.Helper) {
    		r := fuzz.Struct[GatewayResources](fg)
    		convertResources(r)
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 25 15:27:36 UTC 2023
    - 802 bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/test_fuzz_chatty.txt

    stdout 'this is bad'
    
    # Run skipped chatty fuzz targets.
    go test -v chatty_skipped_fuzz_test.go
    stdout ok
    stdout SKIP
    ! stdout FAIL
    
    # Run successful chatty fuzz targets.
    go test -v chatty_fuzz_test.go
    stdout ok
    stdout PASS
    stdout 'all good here'
    ! stdout FAIL
    
    # Fuzz successful chatty fuzz target that includes a separate unit test.
    go test -v chatty_with_test_fuzz_test.go -fuzz=Fuzz -fuzztime=1x
    stdout ok
    stdout PASS
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top