Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 191 for no_proxy (0.13 sec)

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

    env GO111MODULE=on
    
    go mod graph
    stdout '^m rsc.io/quote@v1.5.2$'
    stdout '^rsc.io/quote@v1.5.2 rsc.io/sampler@v1.3.0$'
    ! stdout '^m rsc.io/sampler@v1.3.0$'
    ! stderr 'get '$GOPROXY
    
    rm $GOPATH/pkg/mod/cache/download/rsc.io/quote
    go mod graph -x
    stderr 'get '$GOPROXY
    
    -- go.mod --
    module m
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 21:10:42 UTC 2022
    - 317 bytes
    - Viewed (0)
  2. src/cmd/go/internal/modfetch/repo.go

    	}
    
    	if module.MatchPrefixPatterns(cfg.GONOPROXY, path) {
    		switch proxy {
    		case "noproxy", "direct":
    			return lookupDirect(ctx, path)
    		default:
    			return nil, errNoproxy
    		}
    	}
    
    	switch proxy {
    	case "off":
    		return errRepo{path, errProxyOff}, nil
    	case "direct":
    		return lookupDirect(ctx, path)
    	case "noproxy":
    		return nil, errUseProxy
    	default:
    		return newProxyRepo(proxy, path)
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 16:36:19 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java

        service = SimpleTimeLimiter.create(executor);
      }
    
      public void testNewProxy_goodMethodWithEnoughTime() throws Exception {
        SampleImpl target = new SampleImpl(DELAY_MS);
        Sample proxy = service.newProxy(target, Sample.class, ENOUGH_MS, MILLISECONDS);
        Stopwatch stopwatch = Stopwatch.createStarted();
    
        String result = proxy.sleepThenReturnInput("x");
    
        assertThat(result).isEqualTo("x");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  4. hack/update-internal-modules.sh

            | while read -r F; do \
                dirname "${F}"; \
            done
        )
    
    # Detect problematic GOPROXY settings that prevent lookup of dependencies
    if [[ "${GOPROXY:-}" == "off" ]]; then
      kube::log::error "Cannot run hack/update-internal-modules.sh with \$GOPROXY=off"
      exit 1
    fi
    
    kube::golang::setup_env
    
    for mod in "${MODULES[@]}"; do
      echo "=== tidying go.mod/go.sum in ${mod}"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 22:38:25 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/ReflectionTest.java

      }
    
      public void testNewProxy() throws Exception {
        Runnable runnable = Reflection.newProxy(Runnable.class, X_RETURNER);
        assertEquals("x", runnable.toString());
      }
    
      public void testNewProxyCantWorkOnAClass() throws Exception {
        assertThrows(
            IllegalArgumentException.class, () -> Reflection.newProxy(Object.class, X_RETURNER));
      }
    
      private static final InvocationHandler X_RETURNER =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_list_update_nolatest.txt

    # 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
    env GOPROXY=file:///$WORK/proxy
    env GOSUMDB=off
    
    # If the proxy does not return a list of versions (404/410)
    # or a latest version (404/410), we should see no error.
    go list -m example.com/noversion
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 15 00:06:54 UTC 2021
    - 2K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_get_direct.txt

    # Regression test for golang.org/issue/34092: with an empty module cache,
    # 'GOPROXY=direct go get golang.org/x/tools/gopls@master' did not correctly
    # resolve the pseudo-version for its dependency on golang.org/x/tools.
    
    [!net:cloud.google.com] skip
    [!git] skip
    
    env GO111MODULE=on
    env GOPROXY=direct
    env GOSUMDB=off
    
    go list -m cloud.google.com/go@main
    ! stdout 'v0.0.0-'
    
    -- go.mod --
    module example.com
    
    go 1.14
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 429 bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/govcs.txt

    env GO111MODULE=on
    env proxy=$GOPROXY
    env GOPROXY=direct
    
    # GOVCS stops go get
    env GOVCS='*:none'
    ! go get github.com/google/go-cmp
    stderr '^go: GOVCS disallows using git for public github.com/google/go-cmp; see ''go help vcs''$'
    env GOPRIVATE='github.com/google'
    ! go get github.com/google/go-cmp
    stderr '^go: GOVCS disallows using git for private github.com/google/go-cmp; see ''go help vcs''$'
    
    # public pattern works
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 14:41:02 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_get_replaced.txt

    go get example.com/x
    go list -m example.com/x
    stdout '^example.com/x v0.2.0 '
    
    go get example.com/x@<v0.2.0
    go list -m example.com/x
    stdout '^example.com/x v0.1.0 '
    
    
    # The same should work with GOPROXY=off.
    
    env GOPROXY=off
    cp go.mod.orig go.mod
    
    go mod edit -replace=example.com/x=./x
    go get example.com/x
    
    go list -m example.com/x
    stdout '^example.com/x v0.0.0-00010101000000-000000000000 '
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 16:24:01 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. hack/lint-dependencies.sh

    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    
    # Detect problematic GOPROXY settings that prevent lookup of dependencies
    if [[ "${GOPROXY:-}" == "off" ]]; then
      kube::log::error "Cannot run with \$GOPROXY=off"
      exit 1
    fi
    
    kube::golang::setup_env
    kube::util::require-jq
    
    # Set the Go environment, otherwise we get "can't compute 'all' using the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:42 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top