- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 312 for buzz (0.04 sec)
-
pkg/apis/networking/fuzzer/fuzzer.go
c.FuzzNoCustom(path) // fuzz self without calling this function again pathTypes := []networking.PathType{networking.PathTypeExact, networking.PathTypePrefix, networking.PathTypeImplementationSpecific} path.PathType = &pathTypes[c.Rand.Intn(len(pathTypes))] }, func(p *networking.ServiceBackendPort, c fuzz.Continue) { c.FuzzNoCustom(p) // clear one of the fields if c.RandBool() { p.Name = ""
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:06 UTC 2023 - 4K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/fuzzer/fuzzer.go
c.Fuzz(obj.Schema) } else { obj.JSONSchemas = make([]apiextensions.JSONSchemaProps, c.Intn(3)+1) for i := range obj.JSONSchemas { c.Fuzz(&obj.JSONSchemas[i]) } } }, func(obj *apiextensions.JSONSchemaPropsOrStringArray, c fuzz.Continue) { if c.RandBool() { obj.Schema = &apiextensions.JSONSchemaProps{} c.Fuzz(obj.Schema) } else {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 6.2K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_mutator_repeat.txt
# The fuzz function writes the crashing input to "want" before exiting. # The fuzzing engine reconstructs the crashing input and saves it to testdata. ! exists want ! go test -fuzz=. -parallel=1 -fuzztime=110x -fuzzminimizetime=10x -v stdout '^\s+fuzzing process hung or terminated unexpectedly: exit status' stdout 'Failing input written to testdata'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 2K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
tests/integration/security/fuzz/README.md
in real backend servers. The fuzz test is configured to run every day at 07:00AM UTC, check the results in [integ-security-fuzz-k8s-tests_istio_periodic](https://prow.istio.io/?job=integ-security-fuzz-k8s-tests_istio_periodic). ## Usage 1. Run the test with existing Istio deployment: ```bash
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jul 09 02:34:11 UTC 2021 - 2.3K bytes - Viewed (0) -
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) -
tests/fuzz/status_fuzzer.go
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package fuzz import ( fuzz "github.com/AdaLogics/go-fuzz-headers" "istio.io/api/meta/v1alpha1" "istio.io/istio/pilot/pkg/status/distribution" ) // FuzzReconcileStatuses implements a fuzzer that targets
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 20 06:17:08 UTC 2022 - 1.3K bytes - Viewed (0)