Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 252 for buzz (2.43 sec)

  1. pkg/fuzz/util.go

    	FuzzValidate() bool
    }
    
    // Fuzz is a wrapper around:
    //
    //	 fuzz.BaseCases(f)
    //		f.Fuzz(func(...) {
    //		   defer fuzz.Finalizer()
    //		}
    //
    // To avoid needing to call BaseCases and Finalize everywhere.
    func Fuzz(f test.Fuzzer, ff func(fg Helper)) {
    	BaseCases(f)
    	f.Fuzz(func(t *testing.T, data []byte) {
    		defer Finalize()
    		fg := New(t, data)
    		ff(fg)
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 30 15:31:14 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/validation_test.go

    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/utils/ptr"
    
    	fuzz "github.com/google/gofuzz"
    )
    
    func TestValidateStructuralMetadataInvariants(t *testing.T) {
    	fuzzer := fuzz.New()
    	fuzzer.Funcs(
    		func(s *JSON, c fuzz.Continue) {
    			if c.RandBool() {
    				s.Object = float64(42.0)
    			}
    		},
    		func(s **StructuralOrBool, c fuzz.Continue) {
    			if c.RandBool() {
    				*s = &StructuralOrBool{}
    			}
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 18:20:00 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. pilot/pkg/model/fuzz_test.go

    func FuzzDeepCopyIstioEndpoint(f *testing.F) {
    	fuzzDeepCopy[*IstioEndpoint](f)
    }
    
    type deepCopier[T any] interface {
    	DeepCopy() T
    }
    
    func fuzzDeepCopy[T deepCopier[T]](f test.Fuzzer) {
    	fuzz.Fuzz(f, func(fg fuzz.Helper) {
    		orig := fuzz.Struct[T](fg)
    		copied := orig.DeepCopy()
    		assert.Equal(fg.T(), orig, copied)
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 10 17:36:04 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/test_fuzz_dup_cache.txt

    [!fuzz] skip
    [short] skip
    env GOCACHE=$WORK/cache
    
    # This test checks that cached corpus loading properly handles duplicate entries (this can
    # happen when a f.Add value has a duplicate entry in the cached corpus.) Duplicate entries
    # should be discarded, and the rest of the cache should be loaded as normal.
    
    env GOCACHE=$WORK/cache
    env GODEBUG=fuzzdebug=1
    
    mkdir -p $GOCACHE/fuzz/fuzztest/FuzzTarget
    go run ./populate $GOCACHE/fuzz/fuzztest/FuzzTarget
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 1K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/envoyfilter/fuzz_test.go

    	"istio.io/istio/pkg/config/host"
    	"istio.io/istio/pkg/fuzz"
    )
    
    func FuzzApplyClusterMerge(f *testing.F) {
    	f.Fuzz(func(t *testing.T, patchCount int, hostname string, data []byte) {
    		defer fuzz.Finalize()
    		fg := fuzz.New(t, data)
    		patches := fuzz.Slice[*networking.EnvoyFilter_EnvoyConfigObjectPatch](fg, patchCount%30)
    		proxy := fuzz.Struct[*model.Proxy](fg)
    		mesh := fuzz.Struct[*meshconfig.MeshConfig](fg)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. okhttp/src/main/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz

    bukhara.su bulsan-sudtirol.it bulsan-suedtirol.it bulsan-südtirol.it bulsan.it bungoono.oita.jp bungotakada.oita.jp bunkyo.tokyo.jp burghof.museum bus.museum busan.kr bushey.museum business business.in but.jp buy buyshop.jp buyshouses.net buzen.fukuoka.jp buzz bv bw by bydgoszcz.pl byen.site bygland.no bykle.no bytom.pl bz bz.it bzh báhcavuotna.no báhccavuotna.no báidár.no bájddar.no bálát.no bådåddjå.no båtsfjord.no bærum.no bø.nordland.no bø.telemark.no bømlo.no c.bg c.cdn77.org c.la c.se...
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 40.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/convert_test.go

    			c.FuzzNoCustom(s)
    			if s.Schema != nil {
    				s.Allows = false
    			}
    		},
    		func(s **string, c fuzz.Continue) {
    			c.FuzzNoCustom(s)
    			if *s != nil && **s == "" {
    				*s = nil
    			}
    		},
    	)
    
    	f.MaxDepth(2)
    	f.NilChance(0.5)
    
    	for i := 0; i < 10000; i++ {
    		// fuzz a random field in JSONSchemaProps
    		origSchema := &apiextensions.JSONSchemaProps{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 02:09:41 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/test_fuzz_mutator.txt

    [!fuzz] skip
    
    # Test basic fuzzing mutator behavior.
    #
    # fuzz_test.go has two fuzz targets (FuzzA, FuzzB) which both add a seed value.
    # Each fuzz function writes the input to a log file. The coordinator and worker
    # use separate log files. check_logs.go verifies that the coordinator only
    # tests seed values and the worker tests mutated values on the fuzz target.
    
    [short] skip
    env GOCACHE=$WORK/cache
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/loadbalancer/fuzz_test.go

    package loadbalancer
    
    import (
    	"testing"
    
    	fuzz "github.com/AdaLogics/go-fuzz-headers"
    	core "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
    	endpoint "github.com/envoyproxy/go-control-plane/envoy/config/endpoint/v3"
    
    	"istio.io/api/networking/v1alpha3"
    )
    
    func FuzzApplyLocalityLBSetting(f *testing.F) {
    	f.Fuzz(func(t *testing.T, data []byte) {
    		ff := fuzz.NewConsumer(data)
    		proxyLabels := make(map[string]string)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/test_fuzz_test_race.txt

    # and seed values are being executed, the race detector isn't mistakenly
    # triggered.
    
    [short] skip
    [!fuzz] skip
    [!race] skip
    env GOCACHE=$WORK/cache
    
    # Test with coverage instrumentation enabled (-fuzz) and race instrumentation
    # but without actually fuzzing the target (by using a non-matching pattern)
    go test -fuzz=xxx -race -v
    ! stderr 'race detected during execution of test'
    
    # Test with just race instrumentation enabled
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 966 bytes
    - Viewed (0)
Back to top