Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 340 for Sall (0.02 sec)

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

    go get all@patch
    go list -m all
    stdout '^patch.example.com/direct v1.0.1'
    stdout '^patch.example.com/indirect v1.0.1'
    stdout '^patch.example.com/depofdirectpatch v1.0.0'
    
    # ...but 'all@patch' should fail if any of the affected modules do not already
    # have a selected version.
    cp go.mod.orig go.mod
    go mod edit -droprequire=patch.example.com/direct
    cp go.mod go.mod.dropped
    ! go get all@patch
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_get_upgrade_pseudo.txt

    # Start at v0.1.1-0.20190429073117-b5426c86b553
    go get example.com/pseudoupgrade@b5426c8
    go list -m -u all
    stdout '^example.com/pseudoupgrade v0.1.1-0.20190429073117-b5426c86b553$'
    
    # 'get -u' should not downgrade to the (lower) tagged version.
    go get -u
    go list -m -u all
    stdout '^example.com/pseudoupgrade v0.1.1-0.20190429073117-b5426c86b553$'
    
    # 'get example.com/pseudoupgrade@upgrade' should not downgrade.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_vendor_auto.txt

    go list -f {{.Dir}} -tags tools -e all
    stdout '^'$WORK'[/\\]auto$'
    stdout '^'$WORK'[/\\]auto[/\\]vendor[/\\]example.com[/\\]printversion$'
    stdout '^'$WORK'[/\\]auto[/\\]vendor[/\\]example.com[/\\]version$'
    
    ! go list -m all
    stderr 'go: can''t compute ''all'' using the vendor directory\n\t\(Use -mod=mod or -mod=readonly to bypass.\)'
    
    ! go list -m -f '{{.Dir}}' all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/list_all_gobuild.txt

    # go list all should work with GOOS=linux because all packages build on Linux
    env GOOS=linux
    env GOARCH=amd64
    go list all
    
    # go list all should work with GOOS=darwin, but it used to fail because
    # in the absence of //go:build support, p looked like it needed q
    # (p_test.go was not properly excluded), and q was Linux-only.
    #
    # Also testing with r and s that +build lines keep working.
    env GOOS=darwin
    go list all
    
    -- go.mod --
    go 1.17
    module m
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 20 17:26:46 UTC 2023
    - 674 bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_all.txt

    stdout '^example.com/u.test$'
    stdout '^example.com/u_test \[example.com/u.test\]$'
    
    # 'go list -m all' should cover all of the modules providing packages in
    # 'go list -test -deps all', but should exclude modules d and x,
    # which are not relevant to the main module and are outside of the
    # lazy-loading horizon.
    
    go list -m -f $MODFMT all
    stdout -count=10 '^.'
    stdout '^example.com/a$'
    stdout '^example.com/b$'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 20 18:41:57 UTC 2021
    - 13.1K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_get_patch.txt

    go get -u=patch example.net/a@v0.2.0
    go list -m all
    stdout '^example.net/a v0.2.0 '
    stdout '^example.net/b v0.2.1 '
    
    
    # "-u=patch all" should be equivalent to "all@patch", and should fail if the
    # patched versions result in a higher-than-patch upgrade.
    
    cp go.mod.orig go.mod
    ! go get -u=patch all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  7. doc/next/6-stdlib/3-iter.md

    ### Iterators
    
    The new [iter] package provides the basic definitions for working with
    user-defined iterators.
    
    The [slices] package adds several functions that work with iterators:
    - [All](/pkg/slices#All) returns an iterator over slice indexes and values.
    - [Values](/pkg/slices#Values) returns an iterator over slice elements.
    - [Backward](/pkg/slices#Backward) returns an iterator that loops over
      a slice backward.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:13 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_list_deprecated_replace.txt

    # When all versions are replaced, we should not look up a deprecation message.
    # We will still look up a deprecation message for the replacement.
    cp go.mod.allreplaced go.mod
    go list -m -u -f '{{.Path}}@{{.Version}} <{{.Deprecated}}>{{with .Replace}} => {{.Path}}@{{.Version}} <{{.Deprecated}}>{{end}}' all
    stdout '^example.com/deprecated/a@v1.0.0 <> => example.com/deprecated/b@v1.0.0 <in example.com/deprecated/b@v1.9.0>$'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 09 18:20:48 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_sum_issue56222.txt

    # packages or any package in "all" respectively.
    
    # 'go mod tidy' in a module at go 1.21 or higher should preserve
    # checksums needed to run 'go test all'.
    cd m1
    go mod tidy
    
    go list -f '{{if eq .ImportPath "example.com/generics"}}{{.Module.GoVersion}}{{end}}' -deps -test example.com/m2/q
    stdout 1.18
    [!short] go test -o $devnull -c all
    
    cat go.sum
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 12 13:58:58 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/test_exit.txt

    # complain about that. It's a common way to skip testing a package
    # entirely.
    go test ./main_zero
    ! stdout 'skipping all tests'
    stdout ^ok
    
    # With -v, we'll see the warning from TestMain.
    go test -v ./main_zero
    stdout 'skipping all tests'
    stdout ^ok
    
    # Listing all tests won't actually give a result if TestMain exits. That's okay,
    # because this is how TestMain works. If we decide to support -list even when
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 14 20:38:03 UTC 2021
    - 2.5K bytes
    - Viewed (0)
Back to top