- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 759 for Godebug (0.26 sec)
-
src/net/mptcpsock_linux_test.go
} syscall.Close(fd) return true } func testMultiPathTCP(t *testing.T, envVar bool) { if envVar { t.Log("Test with GODEBUG=multipathtcp=1") t.Setenv("GODEBUG", "multipathtcp=1") } else { t.Log("Test with GODEBUG=multipathtcp=0") t.Setenv("GODEBUG", "multipathtcp=0") } ln := newLocalListenerMPTCP(t, envVar) // similar to tcpsock_test:TestIPv6LinkLocalUnicastTCP
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 11 00:36:57 UTC 2023 - 4.1K bytes - Viewed (0) -
src/crypto/x509/root.go
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package x509 import ( "internal/godebug" "sync" _ "unsafe" // for linkname ) // systemRoots should be an internal detail, // but widely used packages access it using linkname. // Notable members of the hall of shame include: // - github.com/breml/rootcerts //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 2.3K bytes - Viewed (0) -
src/internal/cpu/cpu_x86_test.go
} runDebugOptionsTest(t, "TestSSE3DebugOption", "cpu.sse3=off") } func TestSSE3DebugOption(t *testing.T) { MustHaveDebugOptionsSupport(t) if godebug.New("#cpu.sse3").Value() != "off" { t.Skipf("skipping test: GODEBUG=cpu.sse3=off not set") } want := false if got := X86.HasSSE3; got != want { t.Errorf("X86.HasSSE3 expected %v, got %v", want, got) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 15 18:30:03 UTC 2023 - 1.4K bytes - Viewed (0) -
src/runtime/runtime1.go
{name: "asynctimerchan", atomic: &debug.asynctimerchan}, {name: "cgocheck", value: &debug.cgocheck}, {name: "clobberfree", value: &debug.clobberfree}, {name: "disablethp", value: &debug.disablethp}, {name: "dontfreezetheworld", value: &debug.dontfreezetheworld}, {name: "efence", value: &debug.efence}, {name: "gccheckmark", value: &debug.gccheckmark}, {name: "gcpacertrace", value: &debug.gcpacertrace},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 19.3K bytes - Viewed (0) -
src/cmd/go/testdata/script/install_goroot_targets.txt
[short] skip # Packages in std do not have an install target. go list -f '{{.Target}}' fmt ! stdout . go list -export -f '{{.Export}}' fmt stdout $GOCACHE # With GODEBUG=installgoroot=all, fmt has a target. # (Though we can't try installing it without modifying goroot). env GODEBUG=installgoroot=all go list -f '{{.Target}}' fmt stdout fmt\.a # However, the fake packages "builtin" and "unsafe" do not. go list -f '{{.Target}}' builtin unsafe
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 21 22:43:41 UTC 2022 - 747 bytes - Viewed (0) -
src/cmd/go/scriptconds_test.go
// allow cmd/go to use it. s.Setenv("TESTGONETWORK", "") return true, nil } func hasGodebug(s *script.State, value string) (bool, error) { godebug, _ := s.LookupEnv("GODEBUG") for _, p := range strings.Split(godebug, ",") { if strings.TrimSpace(p) == value { return true, nil } } return false, nil } func hasGoexperiment(s *script.State, value string) (bool, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 7.4K bytes - Viewed (0) -
src/cmd/go/internal/base/limit.go
// license that can be found in the LICENSE file. package base import ( "fmt" "internal/godebug" "runtime" "strconv" "sync" ) var NetLimitGodebug = godebug.New("#cmdgonetlimit") // NetLimit returns the limit on concurrent network operations // configured by GODEBUG=cmdgonetlimit, if any. // // A limit of 0 (indicated by 0, true) means that network operations should not // be allowed.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 19 02:47:12 UTC 2023 - 1.9K bytes - Viewed (0) -
src/cmd/go/internal/modcmd/edit.go
flags are specified, as in 'go mod edit -fmt'. 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: Wed May 15 13:52:10 UTC 2024 - 17.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/modfile/rule.go
return } f.Module.Mod = module.Version{Path: s} case "godebug": if len(args) != 1 || strings.ContainsAny(args[0], "\"`',") { errorf("usage: godebug key=value") return } key, value, ok := strings.Cut(args[0], "=") if !ok { errorf("usage: godebug key=value") return } f.Godebug = append(f.Godebug, &Godebug{ Key: key, Value: value, Syntax: line, })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 18:34:56 UTC 2024 - 46.5K bytes - Viewed (0) -
doc/next/6-stdlib/1-time.md
These new behaviors are only enabled when the main Go program is in a module with a `go.mod` `go` line using Go 1.23.0 or later. When Go 1.23 builds older programs, the old behaviors remain in effect. The new [GODEBUG setting](/doc/godebug) [`asynctimerchan=1`](/pkg/time/#NewTimer) can be used to revert back to asynchronous channel behaviors
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 20:49:22 UTC 2024 - 1.5K bytes - Viewed (0)