Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for scorpius (0.16 sec)

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

    go clean -fuzzcache
    ! exists $GOCACHE/fuzz
    go build -x ./empty
    ! stderr '(compile|gccgo)( |\.exe).*empty.go'
    
    # Fuzzing indicates that one new interesting value was found with an empty
    # corpus, and the total size of the cache is now 1.
    go clean -fuzzcache
    go test -fuzz=FuzzEmpty -fuzztime=10000x .
    stdout 'new interesting: 1'
    stdout 'total: 1'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 30 17:22:49 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  2. doc/next/5-toolchain.md

    are not marked with `//go:linkname` on their definitions.
    Similarly, the linker disallows references to such symbols from assembly
    code.
    For backward compatibility, existing usages of `//go:linkname` found in
    a large open-source code corpus remain supported.
    Any new references to standard library internal symbols will be disallowed.
    
    A linker command line flag `-checklinkname=0` can be used to disable
    this check, for debugging and experimenting purposes.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:18:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. src/internal/fuzz/encoding.go

    )
    
    // 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
    // corpus.
    func marshalCorpusFile(vals ...any) []byte {
    	if len(vals) == 0 {
    		panic("must have at least one value to marshal")
    	}
    	b := bytes.NewBuffer([]byte(encVersion1 + "\n"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 30 16:39:12 UTC 2022
    - 11K bytes
    - Viewed (0)
  4. src/internal/fuzz/encoding_test.go

    				return
    			}
    			if err != nil {
    				t.Fatalf("unmarshal unexpected error: %v", err)
    			}
    			newB := marshalCorpusFile(vals...)
    			if newB[len(newB)-1] != '\n' {
    				t.Error("didn't write final newline to corpus file")
    			}
    
    			want := test.want
    			if want == "" {
    				want = test.in
    			}
    			want += "\n"
    			got := string(newB)
    			if got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 00:20:34 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. src/net/http/routing_index_test.go

    	return func(collect func(string)) {
    		for i := 0; i <= max; i++ {
    			genRepeat(i, g)(collect)
    		}
    	}
    }
    
    func BenchmarkMultiConflicts(b *testing.B) {
    	// How fast is indexing if the corpus is all multis?
    	const nMultis = 1000
    	var pats []*pattern
    	for i := 0; i < nMultis; i++ {
    		pats = append(pats, mustParsePattern(b, fmt.Sprintf("/a/b/{x}/d%d/", i)))
    	}
    	b.ResetTimer()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 22:14:00 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/test_fuzz_mutator.txt

    	// TODO(katiehockman): simplify this once we can dedupe crashes (e.g.
    	// replace map with calls to panic, and simply count the number of crashes
    	// that were added to testdata)
    	crashes := make(map[string]bool)
    	// No seed corpus initiated
    	f.Fuzz(func(t *testing.T, b []byte) {
    		crashes[string(b)] = true
    		if len(crashes) >= 10 {
    			panic("mutator found enough unique mutations")
    		}
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. src/testing/testing.go

    //	    }
    //	    if !bytes.Equal(in, out) {
    //	      t.Fatalf("%v: not equal after round trip: %v", in, out)
    //	    }
    //	  })
    //	}
    //
    // A fuzz test maintains a seed corpus, or a set of inputs which are run by
    // default, and can seed input generation. Seed inputs may be registered by
    // calling (*F).Add or by storing files in the directory testdata/fuzz/<Name>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  8. src/internal/fuzz/worker.go

    			Parent:     entryIn.Path,
    			Path:       name,
    			Data:       dataOut,
    			Generation: entryIn.Generation + 1,
    		}
    		if args.Warmup {
    			// The bytes weren't mutated, so if entryIn was a seed corpus value,
    			// then entryOut is too.
    			entryOut.IsSeed = entryIn.IsSeed
    		}
    	}
    
    	return entryOut, resp, false, callErr
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  9. src/cmd/go/internal/test/test.go

    	    shown.
    
    	-parallel n
    	    Allow parallel execution of test functions that call t.Parallel, and
    	    fuzz targets that call t.Parallel when running the seed corpus.
    	    The value of this flag is the maximum number of tests to run
    	    simultaneously.
    	    While fuzzing, the value of this flag is the maximum number of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  10. src/cmd/go/alldocs.go

    //	    shown.
    //
    //	-parallel n
    //	    Allow parallel execution of test functions that call t.Parallel, and
    //	    fuzz targets that call t.Parallel when running the seed corpus.
    //	    The value of this flag is the maximum number of tests to run
    //	    simultaneously.
    //	    While fuzzing, the value of this flag is the maximum number of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
Back to top