Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 366 for RSC (0.11 sec)

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

    env GOPROXY=$proxy/404
    ! go get rsc.io/quote@v1.0.0
    stderr '404 Not Found'
    
    # get should walk down the proxy list past 404 and 410 responses.
    env GOPROXY=$proxy/404,$proxy/410,$proxy
    go get rsc.io/quote@v1.1.0
    
    # get should not walk past other 4xx errors if proxies are separated with ','.
    env GOPROXY=$proxy/403,$proxy
    ! go get rsc.io/quote@v1.2.0
    stderr 'reading.*/403/rsc.io/.*: 403 Forbidden'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_get_patterns.txt

    cp go.mod.orig go.mod
    go get rsc.io/quote/...
    grep 'require rsc.io/quote' go.mod
    
    cp go.mod.orig go.mod
    ! go get rsc.io/quote/x...
    stderr 'go: module rsc.io/quote@upgrade found \(v1.5.2\), but does not contain packages matching rsc.io/quote/x...'
    ! grep 'require rsc.io/quote' go.mod
    
    ! go get rsc.io/quote/x/...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_bad_filenames.txt

    env GO111MODULE=on
    
    ! go get rsc.io/badfile1 rsc.io/badfile2 rsc.io/badfile3 rsc.io/badfile4 rsc.io/badfile5
    ! stderr 'unzip.*badfile1'
    stderr 'unzip.*badfile2[\\/]@v[\\/]v1.0.0.zip:.*malformed file path "☺.go": invalid char ''☺'''
    stderr 'unzip.*badfile3[\\/]@v[\\/]v1.0.0.zip: rsc.io[\\/]badfile3@v1.0.0[\\/]x\?y.go: malformed file path "x\?y.go": invalid char ''\?'''
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 01 17:38:07 UTC 2020
    - 708 bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/work_sum_mismatch.txt

    go 1.18
    
    use ./a
    use ./b
    -- a/go.mod --
    go 1.18
    
    module example.com/hi
    
    require "rsc.io/quote" v1.5.2
    -- a/go.sum --
    rsc.io/sampler v1.3.0 h1:HLGR/BgEtI3r0uymSP/nl2uPLsUnNJX8toRyhfpBTII=
    rsc.io/sampler v1.3.0/go.mod h1:U1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
    -- a/main.go --
    package main
    
    import (
    	"fmt"
    	"rsc.io/quote"
    )
    
    func main() {
    	fmt.Println(quote.Hello())
    }
    -- b/go.mod --
    go 1.18
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 14:42:39 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_sum_replaced.txt

    env GO111MODULE=on
    
    # After 'go get', the go.sum file should contain the sum for the module.
    go get rsc.io/quote@v1.5.0
    grep 'rsc.io/quote v1.5.0' go.sum
    
    # If we replace the module and run 'go mod tidy', we should get a sum for the replacement.
    go mod edit -replace rsc.io/quote@v1.5.0=rsc.io/quote@v1.5.1
    go mod tidy
    grep 'rsc.io/quote v1.5.1' go.sum
    cp go.sum go.sum.tidy
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 677 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_download_hash.txt

    env GOPROXY=direct
    env GOSUMDB=off
    
    go mod download rsc.io/quote@a91498bed0a73d4bb9c1fb2597925f7883bc40a7
    exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.3-0.20180709162918-a91498bed0a7.info
    exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.3-0.20180709162918-a91498bed0a7.mod
    exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.3-0.20180709162918-a91498bed0a7.zip
    
    go mod download rsc.io/quote@master
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 879 bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_get_incompatible.txt

    go get x
    go list -m all
    stdout 'rsc.io/breaker v2.0.0\+incompatible'
    
    cp go.mod2 go.mod
    go get rsc.io/breaker@7307b30
    go list -m all
    stdout 'rsc.io/breaker v2.0.0\+incompatible'
    
    go get rsc.io/breaker@v2.0.0
    go list -m all
    stdout 'rsc.io/breaker v2.0.0\+incompatible'
    
    -- go.mod --
    module x
    
    -- go.mod2 --
    module x
    require rsc.io/breaker v1.0.0
    
    -- x.go --
    package x
    import "rsc.io/breaker"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 430 bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_sumdb_golang.txt

    go list -x -m all  # Download go.mod files.
    ! stderr github
    stderr proxy.golang.org/rsc.io/quote
    ! stderr sum.golang.org/tile
    ! stderr sum.golang.org/lookup/rsc.io/quote
    
    go list -x -deps rsc.io/quote  # Download module source.
    ! stderr github
    stderr proxy.golang.org/rsc.io/quote
    ! stderr sum.golang.org/tile
    ! stderr sum.golang.org/lookup/rsc.io/quote
    
    cmp go.sum saved.sum
    
    
    # Download again.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 17 18:25:37 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_get_test.txt

    cp go.mod.empty go.mod
    go mod edit -require=rsc.io/quote@v1.5.1
    go get -t -u m/a
    grep 'rsc.io/quote v1.5.2$' go.mod
    
    # 'go get -t -u' should not add or update test dependencies
    # of imported packages, including packages imported from tests.
    cp go.mod.empty go.mod
    go get -t -u m/b
    ! grep rsc.io/quote go.mod
    go mod edit -require=rsc.io/quote@v1.5.1
    go get -t -u m/b
    grep 'rsc.io/quote v1.5.1$' go.mod
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_sumdb_cache.txt

    rm go.sum
    env GOPROXY=off
    go get rsc.io/quote@v1.5.2 # using cache
    rm $GOPATH/pkg/mod/cache/download/sumdb/localhost.localdev/sumdb/lookup/rsc.io/quote@v1.5.2
    go get rsc.io/quote@v1.5.2 # using go.sum
    
    # fetch fails once we lose access to both cache and go.sum
    rm go.sum
    env GOPROXY=$proxy/sumdb-504
    ! go get rsc.io/quote@v1.5.2
    stderr 504
    
    # GOINSECURE does not bypass checksum lookup
    env GOINSECURE=rsc.io
    env GOPROXY=$proxy/sumdb-504
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.1K bytes
    - Viewed (0)
Back to top