Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 301 for fizz (0.04 sec)

  1. src/cmd/go/testdata/script/test_fuzz_cov.txt

    [short] skip
    [!fuzz-instrumented] skip
    env GOCACHE=$WORK/cache
    
    # TODO(#51484): enabled debugging info to help diagnose a deadlock in the fuzzer
    env GODEBUG=fuzzdebug=1
    ! go test -fuzz=FuzzCov -v
    ! stderr 'cov instrumentation working'
    
    -- go.mod --
    module test
    
    -- cov_test.go --
    package cov
    
    import "testing"
    
    func FuzzCov(f *testing.F) {
    	f.Fuzz(func(t *testing.T, b []byte) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 787 bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/v2/conversion_test.go

    			*sa = spec.SchemaOrStringArray{}
    			if c.RandBool() {
    				c.Fuzz(&sa.Schema)
    			} else {
    				c.Fuzz(&sa.Property)
    			}
    			if sa.Schema == nil && len(sa.Property) == 0 {
    				*sa = spec.SchemaOrStringArray{Schema: &spec.Schema{}}
    			}
    		},
    		func(url *spec.SchemaURL, c fuzz.Continue) {
    			*url = spec.SchemaURL("http://url")
    		},
    		func(s *spec.Dependencies, c fuzz.Continue) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 14:34:26 UTC 2023
    - 23.2K bytes
    - Viewed (0)
  3. src/internal/fuzz/worker.go

    	}
    	resp.Count = mem.header().count
    	h := sha256.Sum256(entryOut.Data)
    	entryOut.Path = fmt.Sprintf("%x", h[:4])
    	return entryOut, resp, retErr
    }
    
    // fuzz tells the worker to call the fuzz method. See workerServer.fuzz.
    func (wc *workerClient) fuzz(ctx context.Context, entryIn CorpusEntry, args fuzzArgs) (entryOut CorpusEntry, resp fuzzResponse, isInternalError bool, err error) {
    	wc.mu.Lock()
    	defer wc.mu.Unlock()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/test_fuzz_limit_dup_entry.txt

    [!fuzz] skip
    [short] skip
    env GOCACHE=$WORK/cache
    
    # FuzzA attempts to cause the mutator to create duplicate inputs that generate
    # new coverage. Previously this would trigger a corner case when the fuzzer
    # had an execution limit, causing it to deadlock and sit in the coordinator
    # loop indefinitely, failing to exit once the limit had been exhausted.
    
    go test -fuzz=FuzzA -fuzztime=100x -parallel=1
    
    -- go.mod --
    module m
    
    go 1.16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 27 01:16:19 UTC 2023
    - 725 bytes
    - Viewed (0)
  5. pkg/apis/discovery/fuzzer/fuzzer.go

    var Funcs = func(codecs runtimeserializer.CodecFactory) []interface{} {
    	return []interface{}{
    		func(obj *discovery.EndpointSlice, c fuzz.Continue) {
    			c.FuzzNoCustom(obj) // fuzz self without calling this function again
    
    			addressTypes := []discovery.AddressType{discovery.AddressTypeIPv4, discovery.AddressTypeIPv6, discovery.AddressTypeFQDN}
    			obj.AddressType = addressTypes[c.Rand.Intn(len(addressTypes))]
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 12 17:03:53 UTC 2019
    - 1.6K bytes
    - Viewed (0)
  6. pkg/apis/storage/fuzzer/fuzzer.go

    var Funcs = func(codecs runtimeserializer.CodecFactory) []interface{} {
    	return []interface{}{
    		func(obj *storage.StorageClass, c fuzz.Continue) {
    			c.FuzzNoCustom(obj) // fuzz self without calling this function again
    			reclamationPolicies := []api.PersistentVolumeReclaimPolicy{api.PersistentVolumeReclaimDelete, api.PersistentVolumeReclaimRetain}
    			obj.ReclaimPolicy = &reclamationPolicies[c.Rand.Intn(len(reclamationPolicies))]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 13:32:38 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/round_trip_test.go

    package webhook
    
    import (
    	"math/rand"
    	"reflect"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	fuzz "github.com/google/gofuzz"
    
    	authorizationv1 "k8s.io/api/authorization/v1"
    	authorizationv1beta1 "k8s.io/api/authorization/v1beta1"
    )
    
    func TestRoundTrip(t *testing.T) {
    	f := fuzz.New()
    	seed := time.Now().UnixNano()
    	t.Logf("seed = %v", seed)
    	f.RandSource(rand.New(rand.NewSource(seed)))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. src/internal/zstd/fuzz_test.go

    		f.Add([]byte(test.compressed))
    	}
    	for _, s := range badStrings {
    		f.Add([]byte(s))
    	}
    	f.Fuzz(func(t *testing.T, b []byte) {
    		r := NewReader(bytes.NewReader(b))
    		io.Copy(io.Discard, r)
    	})
    }
    
    // Fuzz test to verify that what we decompress is what we compress.
    // This isn't a great fuzz test because the fuzzer can't efficiently
    // explore the space of decompressor behavior, since it can't see
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 04:10:45 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. src/cmd/internal/test2json/testdata/framefuzz.test

    --- PASS: TestInlining (0.10s)
    === RUN   FuzzParse
    fuzz: elapsed: 0s, gathering baseline coverage: 0/390 completed
    fuzz: elapsed: 0s, gathering baseline coverage: 390/390 completed, now fuzzing with 16 workers
    fuzz: elapsed: 3s, execs: 438666 (146173/sec), new interesting: 12 (total: 402)
    fuzz: elapsed: 4s, execs: 558467 (147850/sec), new interesting: 15 (total: 405)
    --- PASS: FuzzParse (3.85s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 19:50:36 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  10. tests/fuzz/pilot_security_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 (
    	"fmt"
    
    	fuzz "github.com/AdaLogics/go-fuzz-headers"
    
    	"istio.io/istio/pilot/pkg/networking/util"
    	"istio.io/istio/pilot/pkg/security/authz/matcher"
    )
    
    func FuzzCidrRange(data []byte) int {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 20 22:15:12 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top