Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 129 for fuzz (0.05 sec)

  1. src/go/doc/example.go

    //     example function, zero test, fuzz test, or benchmark function, and at
    //     least one top-level function, type, variable, or constant declaration
    //     other than the example function.
    func Examples(testFiles ...*ast.File) []*Example {
    	var list []*Example
    	for _, file := range testFiles {
    		hasTests := false // file contains tests, fuzz test, or benchmarks
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest_test.go

    func (alwaysErrorTyper) Recognizes(gvk schema.GroupVersionKind) bool {
    	return false
    }
    
    func TestUpdateToCreateOptions(t *testing.T) {
    	f := fuzz.New()
    	for i := 0; i < 100; i++ {
    		t.Run(fmt.Sprintf("Run %d/100", i), func(t *testing.T) {
    			update := &metav1.UpdateOptions{}
    			f.Fuzz(update)
    			create := updateToCreateOptions(update)
    
    			b, err := json.Marshal(create)
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  3. src/cmd/go/internal/cache/cache.go

    //
    // This directory is managed by the internal/fuzz package. Files in this
    // directory aren't removed by the 'go clean -cache' command or by Trim.
    // They may be removed with 'go clean -fuzzcache'.
    //
    // TODO(#48526): make Trim remove unused files from this directory.
    func (c *DiskCache) FuzzDir() string {
    	return filepath.Join(c.dir, "fuzz")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    			continue
    		}
    		if e, a := "-"+item.expect, q.String(); e != a {
    			t.Errorf("%#v: expected %v, got %v (%#v)", item.in, e, a, q.i)
    		}
    	}
    }
    
    var fuzzer = fuzz.New().Funcs(
    	func(q *Quantity, c fuzz.Continue) {
    		q.i = Zero
    		if c.RandBool() {
    			q.Format = BinarySI
    			if c.RandBool() {
    				dec := &inf.Dec{}
    				q.d = infDecAmount{Dec: dec}
    				dec.SetScale(0)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  5. src/internal/platform/supported.go

    	default:
    		return false
    	}
    }
    
    // FuzzSupported reports whether goos/goarch supports fuzzing
    // ('go test -fuzz=.').
    func FuzzSupported(goos, goarch string) bool {
    	switch goos {
    	case "darwin", "freebsd", "linux", "windows":
    		return true
    	default:
    		return false
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:50:22 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. src/cmd/internal/pgo/testdata/fuzz/FuzzRoundTrip/12fcf136fcb7463c

    go test fuzz v1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. src/go/build/deps_test.go

    	< testing;
    
    	log/slog, testing
    	< testing/slogtest;
    
    	FMT, crypto/sha256, encoding/json, go/ast, go/parser, go/token,
    	internal/godebug, math/rand, encoding/hex, crypto/sha256
    	< internal/fuzz;
    
    	OS, flag, testing, internal/cfg, internal/platform, internal/goroot
    	< internal/testenv;
    
    	OS, encoding/base64
    	< internal/obscuretestdata;
    
    	CGO, OS, fmt
    	< internal/testpty;
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  8. common/config/.golangci.yml

              - "!**/pkg/kube/**"
              - "!**/pkg/url/**"
              - "!**/pkg/test/framework/**"
              - "!**/tests/fuzz/**"
            deny:
              - pkg: istio.io/istio/operator
                desc: "operator should not be imported"
              - pkg: istio.io/istio/istioctl
                desc: "istioctl should not be imported"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 20:03:06 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. src/cmd/go/internal/clean/clean.go

    The -modcache flag causes clean to remove the entire module
    download cache, including unpacked source code of versioned
    dependencies.
    
    The -fuzzcache flag causes clean to remove files stored in the Go build
    cache for fuzz testing. The fuzzing engine caches files that expand
    code coverage, so removing them may make fuzzing less effective until
    new inputs are found that provide the same coverage. These files are
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. go.mod

    replace github.com/imdario/mergo => github.com/imdario/mergo v0.3.5
    
    require (
    	cloud.google.com/go/compute/metadata v0.3.0
    	github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24
    	github.com/Masterminds/semver/v3 v3.2.1
    	github.com/Masterminds/sprig/v3 v3.2.3
    	github.com/alecholmes/xfccparser v0.3.0
    	github.com/cenkalti/backoff/v4 v4.3.0
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 15:32:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top