- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 651 for Boos (0.07 sec)
-
src/cmd/dist/build_test.go
func TestMustLinkExternal(t *testing.T) { for _, goos := range okgoos { for _, goarch := range okgoarch { for _, cgoEnabled := range []bool{true, false} { got := mustLinkExternal(goos, goarch, cgoEnabled) want := platform.MustLinkExternal(goos, goarch, cgoEnabled) if got != want { t.Errorf("mustLinkExternal(%q, %q, %v) = %v; want %v", goos, goarch, cgoEnabled, got, want) } } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 02 16:34:21 UTC 2023 - 757 bytes - Viewed (0) -
src/debug/buildinfo/buildinfo_test.go
buildModes = append(buildModes, "c-shared") } // Keep in sync with src/cmd/go/internal/work/init.go:buildModeInit. badmode := func(goos, goarch, buildmode string) string { return fmt.Sprintf("-buildmode=%s not supported on %s/%s", buildmode, goos, goarch) } buildWithModules := func(t *testing.T, goos, goarch, buildmode string) string { dir := t.TempDir() gomodPath := filepath.Join(dir, "go.mod")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 11.2K bytes - Viewed (0) -
src/syscall/mkasm.go
"bytes" "fmt" "log" "os" "strings" ) func main() { if len(os.Args) != 3 { log.Fatalf("Usage: %s <goos> <arch>", os.Args[0]) } goos, arch := os.Args[1], os.Args[2] syscallFilename := fmt.Sprintf("syscall_%s.go", goos) syscallArchFilename := fmt.Sprintf("syscall_%s_%s.go", goos, arch) in1, err := os.ReadFile(syscallFilename) if err != nil { log.Fatalf("can't open syscall file: %s", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 03:24:15 UTC 2023 - 1.9K bytes - Viewed (0) -
src/cmd/go/internal/telemetrystats/version_unix.go
telemetry.Inc(fmt.Sprintf("go/platform/host/%s/version:unknown-uname-error", runtime.GOOS)) return } major, minor, ok := majorMinor(convert(v.Release[:])) if runtime.GOOS == "aix" { major, minor, ok = convert(v.Version[:]), convert(v.Release[:]), true } if !ok { telemetry.Inc(fmt.Sprintf("go/platform/host/%s/version:unknown-bad-format", runtime.GOOS)) return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 15:44:55 UTC 2024 - 1.4K bytes - Viewed (0) -
src/cmd/go/internal/cfg/cfg.go
// Note that ctxt.GOOS/GOARCH are derived from the preference list // (1) environment, (2) go/env file, (3) runtime constants, // while go/build.Default.GOOS/GOARCH are derived from the preference list // (1) environment, (2) runtime constants. // // We know ctxt.GOOS/GOARCH == runtime.GOOS/GOARCH; // no matter how that happened, go/build.Default will make the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 17:13:51 UTC 2024 - 19.3K bytes - Viewed (0) -
src/runtime/debug/heapdump_test.go
package debug_test import ( "os" "runtime" . "runtime/debug" "testing" ) func TestWriteHeapDumpNonempty(t *testing.T) { if runtime.GOOS == "js" { t.Skipf("WriteHeapDump is not available on %s.", runtime.GOOS) } f, err := os.CreateTemp("", "heapdumptest") if err != nil { t.Fatalf("TempFile failed: %v", err) } defer os.Remove(f.Name()) defer f.Close() WriteHeapDump(f.Fd())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 12 00:32:29 UTC 2022 - 2K bytes - Viewed (0) -
src/cmd/go/testdata/script/dist_list_missing.txt
mkdir $WORK/goroot/pkg/tool/${GOOS}_${GOARCH} env GOROOT=$WORK/goroot ! go tool -n dist stderr 'go: no such tool "dist"' go tool dist list stdout linux/amd64 cp stdout tool.txt go tool dist list -v stdout linux/amd64 cp stdout tool-v.txt go tool dist list -broken stdout $GOOS/$GOARCH cp stdout tool-broken.txt go tool dist list -json stdout '"GOOS": "linux",\n\s*"GOARCH": "amd64",\n'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 22 19:52:13 UTC 2023 - 1.2K bytes - Viewed (0) -
src/internal/testenv/testenv_test.go
} } func TestHasGoBuild(t *testing.T) { if !testenv.HasGoBuild() { switch runtime.GOOS { case "js", "wasip1": // No exec syscall, so these shouldn't be able to 'go build'. t.Logf("HasGoBuild is false on %s", runtime.GOOS) return } b := testenv.Builder() if b == "" { // We shouldn't make assumptions about what kind of sandbox or build
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 25 23:12:44 UTC 2024 - 6.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/list_all_gobuild.txt
# go list all should work with GOOS=linux because all packages build on Linux env GOOS=linux env GOARCH=amd64 go list all # go list all should work with GOOS=darwin, but it used to fail because # in the absence of //go:build support, p looked like it needed q # (p_test.go was not properly excluded), and q was Linux-only. # # Also testing with r and s that +build lines keep working. env GOOS=darwin go list all -- go.mod -- go 1.17 module m
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 20 17:26:46 UTC 2023 - 674 bytes - Viewed (0) -
src/cmd/distpack/pack.go
if goroot == "" { log.Fatalf("missing $GOROOT") } gohostos = runtime.GOOS gohostarch = runtime.GOARCH goos = os.Getenv("GOOS") if goos == "" { goos = gohostos } goarch = os.Getenv("GOARCH") if goarch == "" { goarch = gohostarch } goosUnderGoarch := goos + "_" + goarch goosDashGoarch := goos + "-" + goarch exe := "" if goos == "windows" { exe = ".exe" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 10.9K bytes - Viewed (0)