Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,315 for iwork (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/cmd/go/testdata/script/mod_vendor_auto.txt

    cmp $WORK/modules-1.13.txt vendor/modules.txt
    
    go list -mod=vendor -f {{.Dir}} -tags tools -e all
    stdout '^'$WORK'[/\\]auto$'
    stdout '^'$WORK'[/\\]auto[/\\]vendor[/\\]example.com[/\\]printversion$'
    stdout '^'$WORK'[/\\]auto[/\\]vendor[/\\]example.com[/\\]version$'
    
    # When the version is upgraded to 1.14, 'go mod vendor' should write a
    # vendor/modules.txt with the updated 1.14 annotations.
    go mod edit -go=1.14
    go mod vendor
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  9. 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)
  10. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/ResolveChangesStepTest.groovy

            when:
            def result = step.execute(work, context)
    
            then:
            result == delegateResult
    
            _ * work.executionBehavior >> UnitOfWork.ExecutionBehavior.NON_INCREMENTAL
            1 * delegate.execute(work, _ as IncrementalChangesContext) >> { UnitOfWork work, IncrementalChangesContext delegateContext ->
                def changes = delegateContext.changes.get()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:34 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top