- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 365 for gopark (0.15 sec)
-
src/cmd/cgo/internal/testcarchive/carchive_test.go
} } // We need a writable GOPATH in which to run the tests. // Construct one in a temporary directory. var err error GOPATH, err = os.MkdirTemp("", "carchive_test") if err != nil { log.Panic(err) } if testWork { log.Println(GOPATH) } else { defer os.RemoveAll(GOPATH) } os.Setenv("GOPATH", GOPATH) // Copy testdata into GOPATH/src/testarchive, along with a go.mod file
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 00:43:51 UTC 2023 - 34.8K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_get_main.txt
! go get .. stderr '^go: \.\. \('$WORK'[/\\]gopath\) is not within module rooted at '$WORK'[/\\]gopath[/\\]src$' ! go get $WORK stderr '^go: '$WORK' is not within module rooted at '$WORK'[/\\]gopath[/\\]src$' ! go get ../... stderr '^go: \.\./\.\.\. \('$WORK'[/\\]gopath([/\\]...)?\) is not within module rooted at '$WORK'[/\\]gopath[/\\]src$' ! go get $WORK/...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 28 17:19:14 UTC 2021 - 1.7K bytes - Viewed (0) -
src/cmd/go/internal/list/context.go
} func newContext(c *build.Context) *Context { return &Context{ GOARCH: c.GOARCH, GOOS: c.GOOS, GOROOT: c.GOROOT, GOPATH: c.GOPATH, CgoEnabled: c.CgoEnabled, UseAllFiles: c.UseAllFiles, Compiler: c.Compiler, BuildTags: c.BuildTags, ToolTags: c.ToolTags, ReleaseTags: c.ReleaseTags,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 29 21:56:16 UTC 2023 - 1.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/install_modcacherw_issue64282.txt
# of a directory within the module cache. cp $WORK/extraneous.txt $GOPATH/pkg/mod/example.com/printversion@v0.1.0/extraneous_file.go go clean -modcache ! go install -unknownflag -tags -modcacherw example.com/printversion@v0.1.0 stderr '^flag provided but not defined: -unknownflag$' cp $WORK/extraneous.txt $GOPATH/pkg/mod/example.com/printversion@v0.1.0/extraneous_file.go go clean -modcache
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 29 17:53:43 UTC 2024 - 1.8K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_init_empty.txt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 09 18:21:12 UTC 2022 - 270 bytes - Viewed (0) -
src/cmd/trace/testdata/go122.test
String id=166 data="sync.(*Once).Do" String id=167 data="net.listenerBacklog" String id=168 data="syscall.Listen" String id=169 data="sync.(*WaitGroup).Wait" String id=170 data="runtime.gopark" String id=171 data="net.setNoDelay" String id=172 data="/usr/local/google/home/mknyszek/work/go-1/src/net/tcpsockopt_posix.go" String id=173 data="os.(*File).read" String id=174
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 17:15:58 UTC 2024 - 166K bytes - Viewed (0) -
src/cmd/go/testdata/script/cgo_trimpath_macro.txt
stdout '(\\_\\_|/_)[\\/]m[\\/]c[\\/]bar.h' # Test in vendored module. go run -trimpath -mod=vendor v.com/main stdout '(\\_\\_|/_)[\\/]vendor[\\/]v.com[\\/]c[\\/]bar.h' # Test in GOPATH mode. env GO111MODULE=off go run -trimpath ./main stdout '(\\_\\_|/_)[\\/]GOPATH[\\/]src[\\/]c[\\/]bar.h' -- go.mod -- module m require v.com v1.0.0 -- go.sum -- v.com v1.0.0 h1:xxx v.com v1.0.0/go.mod h1:xxx -- vendor/modules.txt --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 22 19:56:37 UTC 2023 - 1.3K bytes - Viewed (0) -
src/cmd/go/internal/workcmd/use.go
modload.ForceUseModules = true modload.InitWorkfile() gowork := modload.WorkFilePath() if gowork == "" { base.Fatalf("go: no go.work file found\n\t(run 'go work init' first or specify path using GOWORK environment variable)") } wf, err := modload.ReadWorkFile(gowork) if err != nil { base.Fatal(err) } workUse(ctx, gowork, wf, args) modload.WriteWorkFile(gowork, wf) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jun 03 21:13:11 UTC 2023 - 7K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_no_gopath.txt
# https://golang.org/issue/43938: 'go build' should succeed # if GOPATH and the variables needed for its default value # are all unset but not relevant to the specific command. env HOME='' env home='' env GOPATH='' go list -deps main.go stdout '^io$' -- main.go -- package main
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 22 15:46:33 UTC 2021 - 296 bytes - Viewed (0) -
src/cmd/go/testdata/script/list_split_main.txt
# is recompiled only once. # Verifies golang.org/issue/34321. env GO111MODULE=off go list -e -test -deps -f '{{if not .Standard}}{{.ImportPath}}{{end}}' pkg cmp stdout want -- $GOPATH/src/pkg/pkg.go -- package main func main() {} -- $GOPATH/src/pkg/pkg_test.go -- package main import "testing" func Test(t *testing.T) {} -- want -- pkg pkg [pkg.test]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 16 20:09:44 UTC 2019 - 439 bytes - Viewed (0)