Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Chen (2.8 sec)

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

    # The suggested '-compat' flag to ignore differences should silence the error
    # and leave go.mod unchanged, resulting in checksum errors when Go 1.16 tries
    # to load a module pruned out by Go 1.17.
    
    go mod tidy -compat=1.17
    ! stderr .
    cmp go.mod go.mod.orig
    
    # Make sure that -diff behaves the same as tidy.
    [exec:patch] mv go.mod go.mod.tidyResult
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. src/README.vendor

    There are two modules, std and cmd, defined in src/go.mod and
    src/cmd/go.mod. When a package outside std or cmd is imported
    by a package inside std or cmd, the import path is interpreted
    as if it had a "vendor/" prefix. For example, within "crypto/tls",
    an import of "golang.org/x/crypto/cryptobyte" resolves to
    "vendor/golang.org/x/crypto/cryptobyte". When a package with the
    same path is imported from a package outside std or cmd, it will
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_vendor_auto.txt

    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
    cmp $WORK/modules-1.14.txt vendor/modules.txt
    
    # Then, -mod=vendor should kick in automatically and succeed.
    go list -f {{.Dir}} -tags tools -e 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/work_overlay.txt

    # Test that overlays are respected when opening go.work files.
    
    # go.work in overlay, but not on disk.
    go list -overlay=overlay.json -m
    stdout example.com/a
    stdout example.com/b
    ! stdout example.com/c
    
    # control case for go.work on disk and in overlay:
    # go.work is on disk but not in overlay.
    cp go.work.non-overlay go.work
    go list -m
    stdout example.com/a
    stdout example.com/b
    stdout example.com/c
    
    # go.work on disk and in overlay.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:35:34 UTC 2024
    - 800 bytes
    - Viewed (0)
  5. doc/next/6-stdlib/3-iter.md

      a new slice.
    - [AppendSeq](/pkg/slices#AppendSeq) appends values from an iterator to
      an existing slice.
    - [Sorted](/pkg/slices#Sorted) collects values from an iterator into a
      new slice, and then sorts the slice.
    - [SortedFunc](/pkg/slices#SortedFunc) is like `Sorted` but with a
      comparison function.
    - [SortedStableFunc](/pkg/slices#SortedStableFunc) is like `SortFunc`
      but uses a stable sort algorithm.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:13 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/build_pgo_auto.txt

    go build -n -pgo=auto ./a/...
    stderr 'compile.*-pgoprofile=.*a1.go'
    
    # check that pgo appears in build info
    stderr 'build\\t-pgo=.*default\.pgo'
    
    # build succeeds without PGO when default.pgo file is absent
    go build -n -pgo=auto -o nopgo.exe ./nopgo
    stderr 'compile.*nopgo.go'
    ! stderr 'compile.*-pgoprofile'
    
    # check that pgo doesn't appear in build info
    ! stderr 'build\\t-pgo='
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/build_pgo_auto_multi.txt

    stdout 'test/dep \[test/b\]'
    stdout 'test/dep$'
    
    # Here we have 3 main packages, a, b, and nopgo, where a and b each has
    # its own default.pgo profile, and nopgo has none.
    # All 3 main packages import dep and dep2, both of which then import dep3
    # (a diamond-shape import graph).
    -- go.mod --
    module test
    go 1.20
    -- a/a.go --
    package main
    import _ "test/dep"
    import _ "test/dep2"
    func main() {}
    -- a/a_test.go --
    package main
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:38:19 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_tidy_compat_added.txt

    [exec:patch] ! stdout .
    [exec:patch] stderr '^go: example\.com/m imports\n\texample\.net/added: module example\.net/added@latest found \(v0\.3\.0, replaced by \./a1\), but does not contain package example\.net/added$'
    
    # When we run 'go mod tidy -e', we should proceed past the first error and follow
    # it with a second error describing the version discrepancy.
    #
    # We should not provide advice on how to push past the version discrepancy,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_install_pkg_version.txt

    stderr '^go: -modfile cannot be used with commands that ignore the current module$'
    cd ..
    
    
    # Every test case requires linking, so we only cover the most important cases
    # when -short is set.
    [short] stop
    
    
    # 'go install pkg@version' works on a module that doesn't have a go.mod file
    # and with a module whose go.mod file has missing requirements.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 17:25:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    (FMOVDgpfp <t> (Arg [off] {sym})) => @b.Func.Entry (Arg <t> [off] {sym})
    (FMOVDfpgp <t> (Arg [off] {sym})) => @b.Func.Entry (Arg <t> [off] {sym})
    
    // Similarly for stores, if we see a store after FPR <=> GPR move, then redirect store to use the other register set.
    (MOVDstore  [off] {sym} ptr (FMOVDfpgp val) mem) => (FMOVDstore [off] {sym} ptr val mem)
    (FMOVDstore [off] {sym} ptr (FMOVDgpfp val) mem) => (MOVDstore [off] {sym} ptr val mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
Back to top