Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 5,409 for WORK (0.04 sec)

  1. src/cmd/go/testdata/script/work_nowork.txt

    ! go work use
    stderr '^go: no go\.work file found\n\t\(run ''go work init'' first or specify path using GOWORK environment variable\)$'
    
    ! go work use .
    stderr '^go: no go\.work file found\n\t\(run ''go work init'' first or specify path using GOWORK environment variable\)$'
    
    ! go work edit
    stderr '^go: no go\.work file found\n\t\(run ''go work init'' first or specify path using GOWORK environment variable\)$'
    
    ! go work edit -go=1.18
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 16 15:58:47 UTC 2022
    - 783 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/work_init_toolchain.txt

    # Note that toolchain lines in modules should be completely ignored.
    env TESTGO_VERSION=go1.50
    mkdir m1_22_0
    go mod init -C m1_22_0
    go mod edit -C m1_22_0 -go=1.22.0 -toolchain=go1.99.0
    
    # work init writes the current Go version to the go line
    go work init
    grep '^go 1.50$' go.work
    ! grep toolchain go.work
    
    # work init with older modules should leave go 1.50 in the go.work.
    rm go.work
    go work init ./m1_22_0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_query_empty.txt

    -- $WORK/notfound/example.com/join/subpkg/@v/list --
    v1.0.0-does-not-exist
    -- $WORK/notfound/example.com/join/@v/list --
    v1.1.0
    -- $WORK/notfound/example.com/join/@v/v1.1.0.info --
    {"Version": "v1.1.0"}
    -- $WORK/gatekeeper/example.com/join/subpkg/@v/list --
    -- $WORK/gatekeeper/example.com/join/subpkg/@latest --
    ERROR: Latest version is forbidden.
    -- $WORK/gatekeeper/example.com/join/@v/list --
    v1.1.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/go/testdata/script/work_edit_toolchain.txt

    # Test support for go work edit -toolchain to set toolchain to use
    
    env GOTOOLCHAIN=local
    env GO111MODULE=on
    
    ! grep toolchain go.work
    go work edit -toolchain=go1.9
    grep 'toolchain go1.9' go.work
    
    go work edit -toolchain=default
    grep 'toolchain default' go.work
    
    go work edit -toolchain=none
    ! grep toolchain go.work
    
    -- go.work --
    go 1.8
    use .
    -- go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 19:18:46 UTC 2023
    - 367 bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/go/testdata/script/mod_sumdb_file_path.txt

    [!GOOS:windows] env GOPROXY=file://$WORK/gopath1/pkg/mod/cache/download,file://$WORK/sumproxy
    env GOPATH=$WORK/gopath2
    rm go.sum
    go get -x -v golang.org/x/text@v0.3.2
    
    # Once the checksum is present in the go.sum file,
    # an empty file-based sumdb can be used in conjunction with
    # a fallback module mirror.
    grep golang.org/x/text go.sum
    env GOPATH=$WORK/gopath3
    [GOOS:windows] env GOPROXY=file:///$WORK/sumproxy
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 17 18:25:37 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/BuildCacheStep.java

        @Override
        public AfterExecutionResult execute(UnitOfWork work, C context) {
            return context.getCachingState().fold(
                cachingEnabled -> executeWithCache(work, context, cachingEnabled.getCacheKeyCalculatedState().getKey()),
                cachingDisabled -> executeWithoutCache(work, context)
            );
        }
    
        private AfterExecutionResult executeWithCache(UnitOfWork work, C context, BuildCacheKey cacheKey) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 13:41:13 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/build_acl_windows.txt

    [!GOOS:windows] stop
    [!exec:icacls] skip
    [!exec:powershell] skip
    
    # Create $WORK\guest and give the Guests group full access.
    # Files created within that directory will have different security attributes by default.
    mkdir $WORK\guest
    exec icacls $WORK\guest /grant '*S-1-5-32-546:(oi)(ci)f'
    
    env TMP=$WORK\guest
    env TEMP=$WORK\guest
    
    # Build a binary using the guest directory as an intermediate
    cd TestACL
    go build -o main.exe main.go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_gomodcache.txt

    env GOMODCACHE=$WORK/modcache
    go mod download rsc.io/quote@v1.0.0
    exists $WORK/modcache/cache/download/rsc.io/quote/@v/v1.0.0.info
    
    # Test error when cannot create GOMODCACHE directory
    env GOMODCACHE=$WORK/modcachefile
    ! go install example.com/cmd/a@v1.0.0
    stderr 'go: could not create module cache'
    
    # Test that the following work even with GO111MODULE=off
    env GO111MODULE=off
    
    # Cleaning modcache
    exists $WORK/modcache
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 2.4K bytes
    - Viewed (0)
Back to top