Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 84 for fuzz (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    	}
    }
    
    func TestNewCreateOptionsFromUpdateOptions(t *testing.T) {
    	f := fuzz.New().NilChance(0.0).NumElements(1, 1)
    
    	// The goal here is to trigger when any changes are made to either
    	// CreateOptions or UpdateOptions types, so we can update the converter.
    	for i := 0; i < 20; i++ {
    		in := &metav1.UpdateOptions{}
    		f.Fuzz(in)
    		in.TypeMeta.SetGroupVersionKind(metav1.SchemeGroupVersion.WithKind("CreateOptions"))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  8. src/time/format_test.go

    		for _, offset := range []int{0, 60, 60 * 60, 99*60*60 + 99*60, 123456789} {
    			f.Add(ts[0], ts[1], false, false, -offset)
    			f.Add(ts[0], ts[1], false, false, +offset)
    		}
    	}
    
    	f.Fuzz(func(t *testing.T, sec, nsec int64, useUTC, useLocal bool, tzOffset int) {
    		var loc *Location
    		switch {
    		case useUTC:
    			loc = UTC
    		case useLocal:
    			loc = Local
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:58:29 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  9. src/cmd/go/internal/help/helpdoc.go

    See 'go help test' for details. Running 'go clean -testcache' removes
    all cached test results (but not cached build results).
    
    The go command also caches values used in fuzzing with 'go test -fuzz',
    specifically, values that expanded code coverage when passed to a
    fuzz function. These values are not used for regular building and
    testing, but they're stored in a subdirectory of the build cache.
    Running 'go clean -fuzzcache' removes all cached fuzzing values.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/data.go

    		ldr.SetSymSect(ldr.LookupOrCreateSym("runtime.__stop___sancov_cntrs", 0), sect)
    		ldr.SetSymSect(ldr.LookupOrCreateSym("internal/fuzz._counters", 0), sect)
    		ldr.SetSymSect(ldr.LookupOrCreateSym("internal/fuzz._ecounters", 0), sect)
    	}
    
    	// Assign runtime.end to the last section of data segment.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
Back to top