Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for scorpius (0.1 sec)

  1. src/internal/fuzz/fuzz.go

    	// countWaiting is the number of fuzzing executions the coordinator is
    	// waiting on workers to complete.
    	countWaiting int64
    
    	// corpus is a set of interesting values, including the seed corpus and
    	// generated values that workers reported as interesting.
    	corpus corpus
    
    	// minimizationAllowed is true if one or more of the types of fuzz
    	// function's parameters can be minimized.
    	minimizationAllowed bool
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  2. src/testing/fuzz.go

    	testContext *testContext
    
    	// inFuzzFn is true when the fuzz function is running. Most F methods cannot
    	// be called when inFuzzFn is true.
    	inFuzzFn bool
    
    	// corpus is a set of seed corpus entries, added with F.Add and loaded
    	// from testdata.
    	corpus []corpusEntry
    
    	result     fuzzResult
    	fuzzCalled bool
    }
    
    var _ TB = (*F)(nil)
    
    // corpusEntry is an alias to the same type as internal/fuzz.CorpusEntry.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/test_fuzz.txt

    stdout FAIL
    stdout 'failed some precondition'
    
    # Test success with seed corpus in f.Fuzz
    go test -run FuzzPass fuzz_add_test.go
    stdout ok
    ! stdout FAIL
    ! stdout 'off by one error'
    
    # Test fatal with seed corpus in f.Fuzz
    ! go test -run FuzzFatal fuzz_add_test.go
    ! stdout ^ok
    stdout FAIL
    stdout 'fatal here'
    
    # Test panic with seed corpus in f.Fuzz
    ! go test -run FuzzPanic fuzz_add_test.go
    ! stdout ^ok
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
Back to top