Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 378 for We (0.22 sec)

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

    # Check that 'go get' adds sums for updated modules if we had sums before,
    # even if we didn't load packages from them.
    # Verifies #44129.
    
    env fmt='{{.ImportPath}}: {{if .Error}}{{.Error.Err}}{{else}}ok{{end}}'
    
    # Control case: before upgrading, we have the sums we need.
    # go list -deps -e -f $fmt .
    # stdout '^rsc.io/quote: ok$'
    # ! stdout rsc.io/sampler  # not imported by quote in this version
    cp go.mod.orig go.mod
    cp go.sum.orig go.sum
    go mod tidy
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_list_update_nolatest.txt

    # Check that if a proxy does not have a version of a module that could be
    # an upgrade, 'go list -m -u' still succeeds.
    # We use a local file proxy, since our test proxy doesn't have the behavior
    # we want to test, and we don't want it to be too clever.
    # Verifies #45305, where proxy.golang.org serves an empty /@v/list (200)
    # but has no /@latest (410) because the go.mod at the tip of the default
    # branch has a different major version suffix.
    env testproxy=$GOPROXY
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 15 00:06:54 UTC 2021
    - 2K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_retract_replace.txt

    # If we replace that version, we should see retractions.
    go mod edit -replace=example.com/retract/missingmod@v1.9.0=./missingmod-v1.9.0
    go list -m -retracted -f '{{range .Retracted}}{{.}}{{end}}' example.com/retract/missingmod
    stdout '^bad version$'
    
    # If we replace the retracted version, we should not see a retraction.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 2K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/test_fail_newline.txt

    cd fail
    ! go test .
    ! stderr .
    stdout '^exitcode=1\n'
    stdout '^FAIL\s+example/fail'
    
    # In local directory mode output is streamed, so we don't know
    # whether the test printed anything at all, so we print the exit code
    # (just in case it failed without emitting any output at all),
    # and that happens to add the needed newline as well.
    ! go test
    ! stderr .
    stdout '^exitcode=1exit status 1\n'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 04 21:33:23 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/test_fuzz_fuzztime.txt

    go test -timeout=3s -fuzz=FuzzFast -fuzztime=5s
    
    # We should see the same behavior when invoking the test binary directly.
    go test -c
    exec ./fuzz.test$GOEXE -test.timeout=3s -test.fuzz=FuzzFast -test.fuzztime=5s -test.parallel=1 -test.fuzzcachedir=$WORK/cache
    
    # Timeout should not cause inputs to be written as crashers.
    ! exists testdata/fuzz
    
    # When we use fuzztime with an "x" suffix, it runs a specific number of times.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 20:09:52 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/typelists.go

    // At returns the i'th type parameter in the list.
    func (l *TypeParamList) At(i int) *TypeParam { return l.tparams[i] }
    
    // list is for internal use where we expect a []*TypeParam.
    // TODO(rfindley): list should probably be eliminated: we can pass around a
    // TypeParamList instead.
    func (l *TypeParamList) list() []*TypeParam {
    	if l == nil {
    		return nil
    	}
    	return l.tparams
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 28 22:21:55 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_get_lazy_indirect.txt

    # that package should be importable without error.
    
    
    # We start out with an unresolved dependency.
    # 'go list' suggests that we run 'go get' on that dependency.
    
    ! go list -deps .
    stderr '^m.go:3:8: no required module provides package rsc\.io/quote; to add it:\n\tgo get rsc.io/quote$'
    
    
    # When we run the suggested 'go get' command, the new dependency can be used
    # immediately.
    #
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 17 19:52:18 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  8. src/cmd/go/internal/lockedfile/lockedfile_filelock.go

    	"io/fs"
    	"os"
    
    	"cmd/go/internal/lockedfile/internal/filelock"
    )
    
    func openFile(name string, flag int, perm fs.FileMode) (*os.File, error) {
    	// On BSD systems, we could add the O_SHLOCK or O_EXLOCK flag to the OpenFile
    	// call instead of locking separately, but we have to support separate locking
    	// calls for Linux and Windows anyway, so it's simpler to use that approach
    	// consistently.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_download_private_vcs.txt

    ! stderr 'unknown revision'
    ! stdout .
    
    [!exec:false] stop
    
    # Test that Git clone errors will be shown to the user instead of a generic
    # "unknown revision" error. To do this we want to force git ls-remote to return
    # an error we don't already have special handling for. See golang/go#42751.
    exec git config --global ******@****.***dOf https://github.com/
    env GIT_SSH_COMMAND=false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 16:37:00 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_get_downadd_indirect.txt

    #
    # a ---- b ---- d
    #
    # The module dependency graph originally looks like:
    #
    # a ---- b.2 ---- d.2
    #
    # b.1 ---- c.1
    #
    # If we downgrade module d to version 1, we must downgrade b as well.
    # If that downgrade selects b version 1, we will add a new dependency on module c.
    
    cp go.mod go.mod.orig
    go mod tidy
    cmp go.mod.orig go.mod
    
    go get example.com/d@v0.1.0
    go list -m all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.3K bytes
    - Viewed (0)
Back to top