- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TESTGONETWORK (0.17 sec)
-
src/cmd/go/scriptconds_test.go
t.Cleanup(func() { <-netTestSem scriptNetEnabled.Delete(t) }) } } // Since we have confirmed that the network is available, // 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, ",") {
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/web/http.go
} return res, nil } case "localhost.localdev": return nil, fmt.Errorf("no such host localhost.localdev") default: if os.Getenv("TESTGONETWORK") == "panic" { if _, ok := interceptURL(url); !ok { host := url.Host if h, _, err := net.SplitHostPort(url.Host); err == nil && h != "" { host = h } addr := net.ParseIP(host)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 10 17:34:27 UTC 2023 - 9.7K bytes - Viewed (0)