Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 312 for buzz (0.06 sec)

  1. tests/fuzz/misc_fuzzers.go

    // parts of Istio. They are placed here because it does not
    // make sense to place them in different files yet.
    // The fuzzers can be moved to other files without anything
    // breaking on the OSS-fuzz side.
    
    package fuzz
    
    import (
    	fuzz "github.com/AdaLogics/go-fuzz-headers"
    
    	"istio.io/api/operator/v1alpha1"
    	"istio.io/istio/operator/pkg/apis/istio"
    	"istio.io/istio/operator/pkg/apis/istio/v1alpha1/validation"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 23 02:26:59 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  2. pkg/apis/autoscaling/fuzzer/fuzzer.go

    		func(s *autoscaling.ScaleStatus, c fuzz.Continue) {
    			c.FuzzNoCustom(s) // fuzz self without calling this function again
    
    			// ensure we have a valid selector
    			metaSelector := &metav1.LabelSelector{}
    			c.Fuzz(metaSelector)
    			labelSelector, _ := metav1.LabelSelectorAsSelector(metaSelector)
    			s.Selector = labelSelector.String()
    		},
    		func(s *autoscaling.HorizontalPodAutoscalerSpec, c fuzz.Continue) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 15 06:03:59 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/micro_time_fuzz.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package v1
    
    import (
    	"time"
    
    	fuzz "github.com/google/gofuzz"
    )
    
    // Fuzz satisfies fuzz.Interface.
    func (t *MicroTime) Fuzz(c fuzz.Continue) {
    	if t == nil {
    		return
    	}
    	// Allow for about 1000 years of randomness. Accurate to a tenth of
    	// micro second. Leave off nanoseconds because JSON doesn't
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/test_fuzz_non_crash_signal.txt

    # We should not save a crasher.
    ! go test -fuzz=FuzzKill
    ! exists testdata
    ! stdout unreachable
    ! stderr unreachable
    stdout 'fuzzing process terminated by unexpected signal; no crash will be recorded: signal: killed'
    
    # FuzzCrash sends itself a signal that looks like a crash.
    # We should save a crasher.
    ! go test -fuzz=FuzzCrash
    exists testdata/fuzz/FuzzCrash
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. pkg/apis/certificates/fuzzer/fuzzer.go

    var Funcs = func(codecs runtimeserializer.CodecFactory) []interface{} {
    	return []interface{}{
    		func(obj *certificates.CertificateSigningRequestSpec, c fuzz.Continue) {
    			c.FuzzNoCustom(obj) // fuzz self without calling this function again
    			obj.Usages = []certificates.KeyUsage{certificates.UsageKeyEncipherment}
    			obj.SignerName = "example.com/custom-sample-signer"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 02 03:38:15 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  6. 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)
  7. pkg/config/validation/fuzz_test.go

    // limitations under the License.
    
    package validation
    
    import (
    	"testing"
    
    	"istio.io/istio/pkg/fuzz"
    )
    
    func FuzzValidateHeaderValue(f *testing.F) {
    	fuzz.Fuzz(f, func(fg fuzz.Helper) {
    		r := fuzz.Struct[string](fg)
    		validateHeaderValue(r)
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 15 21:37:52 UTC 2023
    - 801 bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/test_fuzz_setenv.txt

    [!fuzz] skip
    [short] skip
    env GOCACHE=$WORK/cache
    
    go test -fuzz=FuzzA -fuzztime=100x fuzz_setenv_test.go
    
    -- fuzz_setenv_test.go --
    package fuzz
    
    import (
      "flag"
      "os"
      "testing"
    )
    
    func FuzzA(f *testing.F) {
      if s := os.Getenv("TEST_FUZZ_SETENV_A"); isWorker() && s == "" {
        f.Fatal("environment variable not set")
      } else if !isWorker() && s != "" {
        f.Fatal("environment variable already set")
      }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 943 bytes
    - Viewed (0)
  9. pkg/apis/flowcontrol/fuzzer/fuzzer.go

    var Funcs = func(codecs runtimeserializer.CodecFactory) []interface{} {
    	return []interface{}{
    		func(obj *flowcontrol.LimitedPriorityLevelConfiguration, c fuzz.Continue) {
    			c.FuzzNoCustom(obj) // fuzz self without calling this function again
    
    			// NOTE: setting a zero value here will cause the roundtrip
    			// test (from internal to v1beta2, v1beta1) to fail
    			if obj.NominalConcurrencyShares == 0 {
    				obj.NominalConcurrencyShares = int32(1)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/test_fuzz_unsupported.txt

    [fuzz] skip
    
    ! go test -fuzz=. -fuzztime=1x
    ! stdout .
    stderr '^-fuzz flag is not supported on '$GOOS'/'$GOARCH'$'
    
    -- go.mod --
    module example
    
    go 1.18
    -- fuzz_test.go --
    package example
    
    import "testing"
    
    func FuzzTrivial(f *testing.F) {
    	f.Fuzz(func(t *testing.T, _ []byte) {})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 20:43:02 UTC 2021
    - 283 bytes
    - Viewed (0)
Back to top