- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 759 for Godebug (0.15 sec)
-
src/cmd/go/testdata/script/test_cache_inputs.txt
env TESTKEY=x go test testcache -run=TestLookupEnv go test testcache -run=TestLookupEnv stdout '\(cached\)' # GODEBUG is always read env GODEBUG=asdf=1 go test testcache -run=TestLookupEnv ! stdout '\(cached\)' go test testcache -run=TestLookupEnv stdout '\(cached\)' env GODEBUG= env TESTKEY=y go test testcache -run=TestLookupEnv ! stdout '\(cached\)' go test testcache -run=TestLookupEnv
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Mar 09 22:23:53 UTC 2024 - 6.3K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_cov.txt
# input in any reasonable amount of time. [short] skip [!fuzz-instrumented] skip env GOCACHE=$WORK/cache # TODO(#51484): enabled debugging info to help diagnose a deadlock in the fuzzer env GODEBUG=fuzzdebug=1 ! go test -fuzz=FuzzCov -v ! stderr 'cov instrumentation working' -- go.mod -- module test -- cov_test.go -- package cov import "testing" func FuzzCov(f *testing.F) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 787 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/aliases/aliases.go
// // The enabled parameter determines whether the resulting [TypeName]'s // type is an [types.Alias]. Its value must be the result of a call to // [Enabled], which computes the effective value of // GODEBUG=gotypesalias=... by invoking the type checker. The Enabled // function is expensive and should be called once per task (e.g. // package import), not once per call to NewAlias.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 1.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_test_cached.txt
[short] skip env GO111MODULE=on env GOCACHE=$WORK/gocache env GODEBUG=gocachetest=1 # The first run of a test should not be cached. # The second run should be. go test -run=WriteTmp . ! stdout '(cached)' go test -run=WriteTmp . stdout '(cached)' # 'go test' without arguments should never be cached. go test -run=WriteTmp ! stdout '(cached)' go test -run=WriteTmp ! stdout '(cached)'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 09 19:12:23 UTC 2020 - 1.5K bytes - Viewed (0) -
src/time/sleep.go
package time import ( "internal/godebug" "unsafe" ) // Sleep pauses the current goroutine for at least the duration d. // A negative or zero duration causes Sleep to return immediately. func Sleep(d Duration) var asynctimerchan = godebug.New("asynctimerchan") // syncTimer returns c as an unsafe.Pointer, for passing to newTimer. // If the GODEBUG asynctimerchan has disabled the async timer chan
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:21:30 UTC 2024 - 8.5K bytes - Viewed (0) -
src/os/exec/dot_test.go
// Add "." to PATH so that exec.LookPath looks in the current directory on all systems. // And try to trick it with "../testdir" too. for _, errdot := range []string{"1", "0"} { t.Run("GODEBUG=execerrdot="+errdot, func(t *testing.T) { t.Setenv("GODEBUG", "execerrdot="+errdot+",execwait=2") for _, dir := range []string{".", "../testdir"} { t.Run(pathVar+"="+dir, func(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 18:19:21 UTC 2023 - 6.1K bytes - Viewed (0) -
src/cmd/go/internal/cache/cache_test.go
t.Errorf("Get2(%x) = %x, %d, want %x, %d", id, entry.OutputID, entry.Size, dummyID(i*99), int64(i)*101) } } } func TestVerifyPanic(t *testing.T) { os.Setenv("GODEBUG", "gocacheverify=1") initEnv() defer func() { os.Unsetenv("GODEBUG") verify = false }() if !verify { t.Fatal("initEnv did not set verify") } dir, err := os.MkdirTemp("", "cachetest-") if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 25 00:49:37 UTC 2023 - 7.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/counter/counter.go
package counter import ( "fmt" "os" "runtime" "strings" "sync/atomic" ) // Note: not using internal/godebug, so that internal/godebug can use internal/counter. var debugCounter = strings.Contains(os.Getenv("GODEBUG"), "countertrace=1") func debugPrintf(format string, args ...interface{}) { if debugCounter { if len(format) == 0 || format[len(format)-1] != '\n' {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 10.3K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_cache_output.txt
env GO111MODULE=off env GODEBUG=gocachetest=1 [!compiler:gc] skip [short] skip # clears cache, rebuilds too much # Set up fresh GOCACHE. env GOCACHE=$WORK/gocache mkdir $GOCACHE # Building a trivial non-main package should run compiler the first time. go build -x -gcflags=-m lib.go stderr 'compile( |\.exe"?)' stderr 'lib.go:2.* can inline f' # ... but not the second, even though it still prints the compiler output.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 2K bytes - Viewed (0) -
src/internal/goexperiment/flags.go
// to the outside world. Arenas bool // CgoCheck2 enables an expensive cgo rule checker. // When this experiment is enabled, cgo rule checks occur regardless // of the GODEBUG=cgocheck setting provided at runtime. CgoCheck2 bool // LoopVar changes loop semantics so that each iteration gets its own // copy of the iteration variable. LoopVar bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 16:19:47 UTC 2024 - 4.2K bytes - Viewed (0)