- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,015 for gojs (0.05 sec)
-
src/cmd/vet/vet_test.go
cmd.Env = append(cmd.Env, "GOOS=linux", "GOARCH=amd64") } dir := filepath.Join("testdata", pkg) gos, err := filepath.Glob(filepath.Join(dir, "*.go")) if err != nil { t.Fatal(err) } asms, err := filepath.Glob(filepath.Join(dir, "*.s")) if err != nil { t.Fatal(err) } var files []string files = append(files, gos...) files = append(files, asms...)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 01:02:40 UTC 2024 - 12.5K 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/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/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/go/testdata/script/build_gopath_order.txt
mkdir $WORK/p1/src/foo $WORK/p2/src/baz mkdir $WORK/p2/pkg/${GOOS}_${GOARCH} $WORK/p1/src/bar cp foo.go $WORK/p1/src/foo/foo.go cp baz.go $WORK/p2/src/baz/baz.go cp foo.a $WORK/p2/pkg/${GOOS}_${GOARCH}/foo.a cp bar.go $WORK/p1/src/bar/bar.go go install -x bar # add in baz.a to the mix mkdir $WORK/p1/pkg/${GOOS}_${GOARCH} cp baz.a $WORK/p1/pkg/${GOOS}_${GOARCH}/baz.a env GOPATH=$WORK/p1${:}$WORK/p2 go install -x bar
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 17 13:25:29 UTC 2020 - 855 bytes - Viewed (0) -
src/cmd/link/dwarf_test.go
testenv.MustHaveGoBuild(t) if !platform.ExecutableHasDWARF(runtime.GOOS, runtime.GOARCH) { t.Skipf("skipping on %s/%s: no DWARF symbol table in executables", runtime.GOOS, runtime.GOARCH) } t.Parallel() for _, prog := range []string{"testprog", "testprogcgo"} { prog := prog expectDWARF := expectDWARF if runtime.GOOS == "aix" && prog == "testprogcgo" { extld := os.Getenv("CC") if extld == "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 03 17:05:14 UTC 2023 - 6.9K bytes - Viewed (0) -
src/os/executable_test.go
os.Exit(0) } } func TestExecutableDeleted(t *testing.T) { testenv.MustHaveGoBuild(t) switch runtime.GOOS { case "windows", "plan9": t.Skipf("%v does not support deleting running binary", runtime.GOOS) case "openbsd", "freebsd", "aix": t.Skipf("%v does not support reading deleted binary name", runtime.GOOS) } t.Parallel() dir := t.TempDir() src := filepath.Join(dir, "testdel.go")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:32 UTC 2023 - 3.4K bytes - Viewed (0)