- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,058 for WORK (0.04 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) -
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) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/IdentifyStep.java
} @Override public R execute(UnitOfWork work, C context) { return delegate.execute(work, createIdentityContext(work, context)); } @Override public <T> Deferrable<Try<T>> executeDeferred(UnitOfWork work, C context, Cache<Identity, IdentityCacheResult<T>> cache) { return delegate.executeDeferred(work, createIdentityContext(work, context), cache); } @Nonnull
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 10:36:34 UTC 2024 - 4.2K bytes - Viewed (0) -
src/cmd/go/testdata/script/work_errors_pos.txt
# Test case for #67623 in go.work files: make sure the errors are # printed on lines starting with file and line number so they # can be easily parsed by tools. cp go.work.repeated.txt go.work ! go list stderr '^go.work:4: path .* appears multiple times in workspace$' cp go.work.badgodebug.txt go.work ! go list stderr '^go.work:3: unknown godebug "foo"$' cp go.work.unparsable.txt go.work ! go list
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 18:36:30 UTC 2024 - 926 bytes - Viewed (0)