Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for randautoseed (0.14 sec)

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

    ! stdout randautoseed
    
    # Go 1.20 work module should set panicnil=1.
    cp go.mod.20 go.mod
    go list -f '{{.Module.GoVersion}} {{.DefaultGODEBUG}}'
    stdout panicnil=1
    stdout randautoseed=0
    
    # Go 1.20 work module should set panicnil=1 in Go 1.20 dependency.
    cp go.mod.20 go.mod
    go list -f '{{.Module.GoVersion}} {{.DefaultGODEBUG}}' q
    stdout panicnil=1
    ! stdout randautoseed
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. src/math/rand/rand.go

    // function to avoid locking. This is not possible if the user called Seed,
    // either explicitly or implicitly via GODEBUG=randautoseed=0.
    var globalRandGenerator atomic.Pointer[Rand]
    
    var randautoseed = godebug.New("randautoseed")
    
    // globalRand returns the generator to use for the top-level convenience
    // functions.
    func globalRand() *Rand {
    	if r := globalRandGenerator.Load(); r != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:09:08 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  3. src/internal/godebugs/table.go

    	{Name: "multipartmaxparts", Package: "mime/multipart"},
    	{Name: "multipathtcp", Package: "net"},
    	{Name: "netdns", Package: "net", Opaque: true},
    	{Name: "panicnil", Package: "runtime", Changed: 21, Old: "1"},
    	{Name: "randautoseed", Package: "math/rand"},
    	{Name: "tarinsecurepath", Package: "archive/tar"},
    	{Name: "tls10server", Package: "crypto/tls", Changed: 22, Old: "1"},
    	{Name: "tls3des", Package: "crypto/tls", Changed: 23, Old: "1"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:43 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. src/math/rand/default_test.go

    			cmd = testenv.CleanCmdEnv(cmd)
    			cmd.Env = append(cmd.Env, fmt.Sprintf("GO_RAND_TEST_HELPER_CODE=%d", i/2))
    			if i%2 != 0 {
    				cmd.Env = append(cmd.Env, "GODEBUG=randautoseed=0")
    			}
    			out, err := cmd.CombinedOutput()
    			if len(out) > 0 {
    				t.Logf("%s", out)
    			}
    			if err != nil {
    				t.Error(err)
    			}
    		})
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 07 23:39:35 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  5. doc/godebug.md

    `tarinsecurepath=0` and `zipinsecurepath=0`.
    
    Go 1.20 introduced automatic seeding of the
    [`math/rand`](/pkg/math/rand) global random number generator,
    controlled by the [`randautoseed` setting](/pkg/math/rand/#Seed).
    
    Go 1.20 introduced the concept of fallback roots for use during certificate verification,
    controlled by the [`x509usefallbackroots` setting](/pkg/crypto/x509/#SetFallbackRoots).
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  6. src/runtime/metrics/doc.go

    		package due to a non-default GODEBUG=panicnil=... setting.
    
    	/godebug/non-default-behavior/randautoseed:events
    		The number of non-default behaviors executed by the math/rand
    		package due to a non-default GODEBUG=randautoseed=... setting.
    
    	/godebug/non-default-behavior/tarinsecurepath:events
    		The number of non-default behaviors executed by the archive/tar
    		package due to a non-default GODEBUG=tarinsecurepath=...
    		setting.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:43 UTC 2024
    - 20K bytes
    - Viewed (0)
Back to top