Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 301 for fizz (2.94 sec)

  1. src/cmd/go/internal/test/flagdefs.go

    	"blockprofilerate":     true,
    	"count":                true,
    	"coverprofile":         true,
    	"cpu":                  true,
    	"cpuprofile":           true,
    	"failfast":             true,
    	"fullpath":             true,
    	"fuzz":                 true,
    	"fuzzminimizetime":     true,
    	"fuzztime":             true,
    	"list":                 true,
    	"memprofile":           true,
    	"memprofilerate":       true,
    	"mutexprofile":         true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 01:02:40 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/exec_test.go

    		if got := objabi.DecodeArg(encodeArg(arg)); got != arg {
    			t.Errorf("objabi.DecodeArg(encodeArg(%q)) = %q", arg, got)
    		}
    	}
    }
    
    func TestEncodeDecodeFuzz(t *testing.T) {
    	if testing.Short() {
    		t.Skip("fuzz test is slow")
    	}
    	t.Parallel()
    
    	nRunes := sys.ExecArgLengthLimit + 100
    	rBuffer := make([]rune, nRunes)
    	buf := bytes.NewBuffer([]byte(string(rBuffer)))
    
    	seed := time.Now().UnixNano()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 02 13:15:42 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  3. src/image/gif/fuzz_test.go

    			continue
    		}
    		b, err := os.ReadFile(filepath.Join("../testdata", de.Name()))
    		if err != nil {
    			f.Fatalf("failed to read testdata: %s", err)
    		}
    		f.Add(b)
    	}
    
    	f.Fuzz(func(t *testing.T, b []byte) {
    		cfg, _, err := image.DecodeConfig(bytes.NewReader(b))
    		if err != nil {
    			return
    		}
    		if cfg.Width*cfg.Height > 1e6 {
    			return
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 15:57:34 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  4. src/internal/fuzz/encoding.go

    // license that can be found in the LICENSE file.
    
    package fuzz
    
    import (
    	"bytes"
    	"fmt"
    	"go/ast"
    	"go/parser"
    	"go/token"
    	"math"
    	"strconv"
    	"strings"
    	"unicode/utf8"
    )
    
    // encVersion1 will be the first line of a file with version 1 encoding.
    var encVersion1 = "go test fuzz v1"
    
    // marshalCorpusFile encodes an arbitrary number of arguments into the file format for the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 30 16:39:12 UTC 2022
    - 11K bytes
    - Viewed (0)
  5. src/crypto/cipher/cbc.go

    // mode, using the given Block. The length of iv must be the same as the
    // Block's block size. This always returns the generic non-asm encrypter for use
    // in fuzz testing.
    func newCBCGenericEncrypter(b Block, iv []byte) BlockMode {
    	if len(iv) != b.BlockSize() {
    		panic("cipher.NewCBCEncrypter: IV length must equal block size")
    	}
    	return (*cbcEncrypter)(newCBC(b, iv))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 03:55:33 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  6. pkg/api/testing/unstructured_test.go

    		// those disappear.
    		Funcs(
    			func(s *api.PodSpec, c fuzz.Continue) {
    				c.FuzzNoCustom(s)
    				s.InitContainers = nil
    			},
    			func(s *api.PodStatus, c fuzz.Continue) {
    				c.FuzzNoCustom(s)
    				s.InitContainerStatuses = nil
    			},
    		).Fuzz(internalObj)
    
    	item, err := legacyscheme.Scheme.New(externalVersion.WithKind(kind))
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. src/image/jpeg/fuzz_test.go

    			continue
    		}
    		b, err := os.ReadFile(filepath.Join("../testdata", de.Name()))
    		if err != nil {
    			f.Fatalf("failed to read testdata: %s", err)
    		}
    		f.Add(b)
    	}
    
    	f.Fuzz(func(t *testing.T, b []byte) {
    		cfg, _, err := image.DecodeConfig(bytes.NewReader(b))
    		if err != nil {
    			return
    		}
    		if cfg.Width*cfg.Height > 1e6 {
    			return
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 15:56:27 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. src/image/png/fuzz_test.go

    			continue
    		}
    		b, err := os.ReadFile(filepath.Join("../testdata", de.Name()))
    		if err != nil {
    			f.Fatalf("failed to read testdata: %s", err)
    		}
    		f.Add(b)
    	}
    
    	f.Fuzz(func(t *testing.T, b []byte) {
    		cfg, _, err := image.DecodeConfig(bytes.NewReader(b))
    		if err != nil {
    			return
    		}
    		if cfg.Width*cfg.Height > 1e6 {
    			return
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 15:56:27 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. src/internal/fuzz/queue.go

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package fuzz
    
    // queue holds a growable sequence of inputs for fuzzing and minimization.
    //
    // For now, this is a simple ring buffer
    // (https://en.wikipedia.org/wiki/Circular_buffer).
    //
    // TODO(golang.org/issue/46224): use a prioritization algorithm based on input
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 05 21:02:45 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/time_test.go

    				t.Errorf("Failed equality test for '%v': expected %+v, got %+v", c.x, c.result, result)
    			}
    		})
    	}
    }
    
    func TestTimeRoundtripCBOR(t *testing.T) {
    	fuzzer := fuzz.New()
    	for i := 0; i < 500; i++ {
    		var initial, final Time
    		fuzzer.Fuzz(&initial)
    		b, err := cbor.Marshal(initial)
    		if err != nil {
    			t.Errorf("error encoding %v: %v", initial, err)
    			continue
    		}
    		err = cbor.Unmarshal(b, &final)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top