- Sort Score
- Result 10 results
- Languages All
Results 21 - 26 of 26 for scorpius (0.16 sec)
-
src/net/netip/fuzz_test.go
// license that can be found in the LICENSE file. package netip_test import ( "bytes" "encoding" "fmt" "net" . "net/netip" "reflect" "strings" "testing" ) var corpus = []string{ // Basic zero IPv4 address. "0.0.0.0", // Basic non-zero IPv4 address. "192.168.140.255", // IPv4 address in windows-style "print all the digits" form. "010.000.015.001",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 20 23:46:23 UTC 2021 - 10.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_minimize.txt
if err != nil { fmt.Fprintln(os.Stderr, err) os.Exit(1) } // Trim the newline at the end of the file got = bytes.TrimSpace(got) // Make sure that there were exactly 100 bytes written to the corpus entry prefix := []byte("[]byte(") i := bytes.Index(got, prefix) gotBytes := got[i+len(prefix) : len(got)-1] s, err := strconv.Unquote(string(gotBytes)) if err != nil { fmt.Fprintln(os.Stderr, err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 22 16:15:36 UTC 2021 - 5.8K bytes - Viewed (0) -
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) -
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) -
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) -
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)