Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 79 for buzz (0.32 sec)

  1. pilot/pkg/config/kube/crdclient/client_test.go

    			})
    
    			// check we can patch items
    			var patchedCfg config.Config
    			if _, err := store.(*Client).Patch(*cfg, func(cfg config.Config) (config.Config, types.PatchType) {
    				cfg.Annotations["fizz"] = "buzz"
    				patchedCfg = cfg
    				return cfg, types.JSONPatchType
    			}); err != nil {
    				t.Errorf("unexpected err in Patch: %v", err)
    			}
    			// validate it is updated
    			retry.UntilSuccessOrFail(t, func() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 02:58:52 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. src/expvar/expvar_test.go

    	m1.Add("z", 2)
    	m.Set("map2", &m2)
    	for i := 0; i < 9; i++ {
    		m2.Add(strconv.Itoa(i), int64(i))
    	}
    	var s1, s2 String
    	m.Set("str1", &s1)
    	s1.Set("hello, world!")
    	m.Set("str2", &s2)
    	s2.Set("fizz buzz")
    	b.ResetTimer()
    
    	b.ReportAllocs()
    	for i := 0; i < b.N; i++ {
    		_ = m.String()
    	}
    }
    
    func BenchmarkRealworldExpvarUsage(b *testing.B) {
    	var (
    		bytesSent Int
    		bytesRead Int
    	)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:46:19 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. src/testing/fuzz.go

    // F is a type passed to fuzz tests.
    //
    // Fuzz tests run generated inputs against a provided fuzz target, which can
    // find and report potential bugs in the code being tested.
    //
    // A fuzz test runs the seed corpus by default, which includes entries provided
    // by (*F).Add and entries in the testdata/fuzz/<FuzzTestName> directory. After
    // any necessary setup and calls to (*F).Add, the fuzz test must then call
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  4. 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)
  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/apis/meta/fuzzer/fuzzer.go

    	return []interface{}{
    		func(q *resource.Quantity, c fuzz.Continue) {
    			*q = *resource.NewQuantity(c.Int63n(1000), resource.DecimalExponent)
    		},
    		func(j *int, c fuzz.Continue) {
    			*j = int(c.Int31())
    		},
    		func(j **int, c fuzz.Continue) {
    			if c.RandBool() {
    				i := int(c.Int31())
    				*j = &i
    			} else {
    				*j = nil
    			}
    		},
    		func(j *runtime.TypeMeta, c fuzz.Continue) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 15:12:26 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/apis/kubeadm/fuzzer/fuzzer.go

    }
    
    func fuzzLocalEtcd(obj *kubeadm.LocalEtcd, c fuzz.Continue) {
    	c.FuzzNoCustom(obj)
    
    	// Pinning values for fields that get defaults if fuzz value is empty string or nil (thus making the round trip test fail)
    	obj.DataDir = "foo"
    }
    
    func fuzzNetworking(obj *kubeadm.Networking, c fuzz.Continue) {
    	c.FuzzNoCustom(obj)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 13 06:41:07 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. 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)
  9. src/cmd/go/testdata/script/test_fuzz_cgo.txt

    [!fuzz] skip
    [!cgo] skip
    [short] skip
    env GOCACHE=$WORK/cache
    
    # Test that fuzzing works with cgo (issue 65169)
    
    go test -fuzz=. -fuzztime=1x
    stdout ok
    ! stdout FAIL
    
    -- go.mod --
    module example.com/p
    
    go 1.20
    -- c.go --
    package p
    
    import "C"
    -- c_test.go --
    package p
    
    import "testing"
    
    func Fuzz(f *testing.F) {
    	f.Add(0)
    	f.Fuzz(func(t *testing.T, x int) {})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 364 bytes
    - Viewed (0)
  10. 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)
Back to top