- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,022 for WORK (0.05 sec)
-
src/cmd/go/testdata/script/work.txt
env GOWORK=off go list -mod=mod all env GOWORK= # Test that duplicates in the use list return an error cp go.work go.work.backup cp go.work.dup go.work ! go run example.com/b stderr 'go.work:6: path .* appears multiple times in workspace' cp go.work.backup go.work cp go.work.d go.work go work use # update go version go run example.com/d # Test that we don't run into "newRequirements called with unsorted roots"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 18:36:30 UTC 2024 - 2.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/modfile/work.go
// license that can be found in the LICENSE file. package modfile import ( "fmt" "sort" "strings" ) // A WorkFile is the parsed, interpreted form of a go.work file. type WorkFile struct { Go *Go Toolchain *Toolchain Godebug []*Godebug Use []*Use Replace []*Replace Syntax *FileSyntax } // A Use is a single directory statement.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 18:34:56 UTC 2024 - 7.7K bytes - Viewed (0) -
src/cmd/go/internal/par/work.go
panic("par.Work.Do: n < 1") } if w.running >= 1 { panic("par.Work.Do: already called Do") } w.running = n w.f = f w.wait.L = &w.mu for i := 0; i < n-1; i++ { go w.runner() } w.runner() } // runner executes work in w until both nothing is left to do // and all the runners are waiting for work. // (Then all the runners return.) func (w *Work[T]) runner() { for {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 15:54:54 UTC 2024 - 4.3K bytes - Viewed (0) -
go.work
carlory <******@****.***> 1715775009 +0800
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 15 12:10:09 UTC 2024 - 1.1K bytes - Viewed (0) -
hack/tools/go.work
Patrick Ohly <******@****.***> 1654683162 +0200
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 08:22:06 UTC 2024 - 162 bytes - Viewed (0) -
go.work.sum
Stephen Kitt <******@****.***> 1716824549 +0200
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:12 UTC 2024 - 30.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/work_edit.txt
# Test editing go.work files. go work init m cmpenv go.work go.work.want_initial go work edit -use n cmpenv go.work go.work.want_use_n grep go go.work go work edit -go none ! grep go go.work go work edit -go 1.18 cmp go.work go.work.want_go_118 go work edit -dropuse m cmp go.work go.work.want_dropuse_m go work edit -replace=x.1@v1.3.0=y.1@v1.4.0 -replace='x.1@v1.4.0 = ../z' cmp go.work go.work.want_add_replaces
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 13:52:10 UTC 2024 - 2.6K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_trimpath.txt
env GO111MODULE=on mkdir $WORK/a/src/paths $WORK/b/src/paths cp paths.go $WORK/a/src/paths cp paths.go $WORK/b/src/paths cp overlay.json $WORK/a/src/paths cp overlay.json $WORK/b/src/paths cp go.mod $WORK/a/src/paths/ cp go.mod $WORK/b/src/paths/ # A binary built without -trimpath should contain the module root dir # and GOROOT for debugging and stack traces. cd $WORK/a/src/paths go build -o $WORK/paths-dbg.exe .
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 4.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_edit.txt
cmpenv go.mod $WORK/go.mod.edit2 # go mod edit -json go mod edit -json cmpenv stdout $WORK/go.mod.json # go mod edit -json (retractions with rationales) go mod edit -json $WORK/go.mod.retractrationale cmp stdout $WORK/go.mod.retractrationale.json # go mod edit -json (deprecation) go mod edit -json $WORK/go.mod.deprecation cmp stdout $WORK/go.mod.deprecation.json
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 13:52:10 UTC 2024 - 6.6K bytes - Viewed (0) -
src/runtime/mgcwork.go
func prepareFreeWorkbufs() { lock(&work.wbufSpans.lock) if work.full != 0 { throw("cannot free workbufs when work.full != 0") } // Since all workbufs are on the empty list, we don't care // which ones are in which spans. We can wipe the entire empty // list and move all workbuf spans to the free list. work.empty = 0 work.wbufSpans.free.takeAll(&work.wbufSpans.busy) unlock(&work.wbufSpans.lock) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 12.9K bytes - Viewed (0)