- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 759 for Godebug (0.19 sec)
-
src/expvar/expvar.go
} func memstats() any { stats := new(runtime.MemStats) runtime.ReadMemStats(stats) return *stats } func init() { if godebug.New("httpmuxgo121").Value() == "1" { http.HandleFunc("/debug/vars", expvarHandler) } else { http.HandleFunc("GET /debug/vars", expvarHandler) } Publish("cmdline", Func(cmdline)) Publish("memstats", Func(memstats)) } // TODO: Use json.appendString instead.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 21:32:11 UTC 2024 - 9.1K bytes - Viewed (0) -
src/runtime/mem_linux.go
throw("runtime: cannot map pages in arena address space") } // Disable huge pages if the GODEBUG for it is set. // // Note that there are a few sysHugePage calls that can override this, but // they're all for GC metadata. if debug.disablethp != 0 { sysNoHugePageOS(v, n) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 5K bytes - Viewed (0) -
src/runtime/metrics/description.go
// Insert all the non-default-reporting GODEBUGs into the table, // preserving the overall sort order. i := 0 for i < len(allDesc) && allDesc[i].Name < "/godebug/" { i++ } more := make([]Description, i, len(allDesc)+len(godebugs.All)) copy(more, allDesc) for _, info := range godebugs.All { if !info.Opaque { more = append(more, Description{ Name: "/godebug/non-default-behavior/" + info.Name + ":events",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 06 17:59:12 UTC 2023 - 19.6K bytes - Viewed (0) -
src/crypto/x509/parser.go
if e.Critical && unhandled { out.UnhandledCriticalExtensions = append(out.UnhandledCriticalExtensions, e.Id) } } return nil } var x509negativeserial = godebug.New("x509negativeserial") var x509seriallength = godebug.New("x509seriallength") func parseCertificate(der []byte) (*Certificate, error) { cert := &Certificate{} input := cryptobyte.String(der)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:00:16 UTC 2024 - 38.5K bytes - Viewed (0) -
src/go/types/object_test.go
} func TestObjectString(t *testing.T) { testenv.MustHaveGoBuild(t) for i, test := range testObjects { t.Run(fmt.Sprint(i), func(t *testing.T) { if test.alias { t.Setenv("GODEBUG", "gotypesalias=1") } src := "package p; " + test.src pkg, err := typecheck(src, nil, nil) if err != nil { t.Fatalf("%s: %s", src, err) } names := strings.Split(test.obj, ".")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 14:10:44 UTC 2024 - 5.2K bytes - Viewed (0) -
src/net/http/pprof/pprof.go
http.HandleFunc(prefix+"/debug/pprof/profile", Profile) http.HandleFunc(prefix+"/debug/pprof/symbol", Symbol) http.HandleFunc(prefix+"/debug/pprof/trace", Trace) } // Cmdline responds with the running program's // command line, with arguments separated by NUL bytes. // The package initialization registers it as /debug/pprof/cmdline. func Cmdline(w http.ResponseWriter, r *http.Request) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 17:34:05 UTC 2024 - 14.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/alias.go
package types2 import ( "cmd/compile/internal/syntax" "fmt" ) // An Alias represents an alias type. // Whether or not Alias types are created is controlled by the // gotypesalias setting with the GODEBUG environment variable. // For gotypesalias=1, alias declarations produce an Alias type. // Otherwise, the alias information is only in the type name, // which points directly to the actual (aliased) type. type Alias struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 5K bytes - Viewed (0) -
src/cmd/go/alldocs.go
// // The -module flag changes the module's path (the go.mod file's module line). // // The -godebug=key=value flag adds a godebug key=value line, // replacing any existing godebug lines with the given key. // // The -dropgodebug=key flag drops any existing godebug lines // with the given key. // // The -require=path@version and -droprequire=path flags
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:54:28 UTC 2024 - 142.4K bytes - Viewed (0) -
src/cmd/cgo/internal/testerrors/ptr_test.go
cmd := exec.Command(x, pt.name) cmd.Env = append(os.Environ(), "GODEBUG=cgocheck="+cgocheck) return cmd.CombinedOutput() } if pt.expensive { buf, err := runcmd("1") if err != nil { t.Logf("%s", buf) if pt.fail { t.Fatalf("test marked expensive, but failed when not expensive: %v", err) } else { t.Errorf("failed unexpectedly with GODEBUG=cgocheck=1: %v", err) } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 03 16:07:49 UTC 2023 - 21.2K bytes - Viewed (0) -
src/os/file_windows.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package os import ( "errors" "internal/filepathlite" "internal/godebug" "internal/poll" "internal/syscall/windows" "runtime" "sync" "sync/atomic" "syscall" "unsafe" ) // This matches the value in syscall/syscall_windows.go. const _UTIME_OMIT = -1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 30 15:38:38 UTC 2024 - 13.4K bytes - Viewed (0)