Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for godebugSeed (0.11 sec)

  1. src/internal/fuzz/pcg.go

    // concurrency safe.
    type pcgRand struct {
    	noCopy noCopy // help avoid mistakes: ask vet to ensure that we don't make a copy
    	state  uint64
    	inc    uint64
    }
    
    func godebugSeed() *int {
    	debug := strings.Split(os.Getenv("GODEBUG"), ",")
    	for _, f := range debug {
    		if strings.HasPrefix(f, "fuzzseed=") {
    			seed, err := strconv.Atoi(strings.TrimPrefix(f, "fuzzseed="))
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:28:14 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top