Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 2,561 for kenv (0.12 sec)

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

    env GO111MODULE=on
    
    # Go should reject relative paths in GOMODCACHE environment.
    
    env GOMODCACHE="~/test"
    ! go install example.com/tools/cmd/hello@latest
    stderr 'must be absolute path'
    
    env GOMODCACHE="./test"
    ! go install example.com/tools/cmd/hello@latest
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:08 UTC 2021
    - 289 bytes
    - Viewed (0)
  2. docs/en/mkdocs.maybe-insiders.yml

    # Define this here and not in the main mkdocs.yml file because that one is auto
    # updated and written, and the script would remove the env var
    INHERIT: !ENV [INSIDERS_FILE, '../en/mkdocs.no-insiders.yml']
    markdown_extensions:
      pymdownx.highlight:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 30 16:23:02 UTC 2023
    - 285 bytes
    - Viewed (0)
  3. cluster/images/etcd/migrate/options.go

    			"If unset fallbacks to ETCD_CREDS env.")
    }
    
    func lookupEnv(env string) (string, error) {
    	result, ok := os.LookupEnv(env)
    	if !ok || len(result) == 0 {
    		return result, fmt.Errorf("%s variable unset - expected failure", env)
    	}
    	return result, nil
    }
    
    func fallbackToEnv(flag, env string) (string, error) {
    	klog.Infof("--%s unset - falling back to %s variable", flag, env)
    	return lookupEnv(env)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 09:59:52 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. src/net/http/cgi/integration_test.go

    		"param-foo":             "bar",
    		"env-GATEWAY_INTERFACE": "CGI/1.1",
    		"env-HTTP_HOST":         "example.com",
    		"env-PATH_INFO":         "",
    		"env-QUERY_STRING":      "foo=bar&a=b",
    		"env-REMOTE_ADDR":       "1.2.3.4",
    		"env-REMOTE_HOST":       "1.2.3.4",
    		"env-REMOTE_PORT":       "1234",
    		"env-REQUEST_METHOD":    "GET",
    		"env-REQUEST_URI":       "/test.go?foo=bar&a=b",
    		"env-SCRIPT_FILENAME":   os.Args[0],
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 18:42:44 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/vcstest/git/hello.txt

    handle git
    
    env GIT_AUTHOR_NAME=bwk
    env GIT_AUTHOR_EMAIL=bwk
    env GIT_COMMITTER_NAME='Russ Cox'
    env GIT_COMMITTER_EMAIL='******@****.***'
    
    git init
    
    at 2017-09-21T21:05:58-04:00
    git add hello.go
    git commit -a -m 'hello'
    git branch -m master
    
    git log --oneline --decorate=short
    cmp stdout .git-log
    
    -- .git-log --
    fc3a09f (HEAD -> master) hello
    -- hello.go --
    package main
    
    func main() {
    	println("hello, world")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 15:36:24 UTC 2022
    - 412 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_sumdb.txt

    env GO111MODULE=on
    env sumdb=$GOSUMDB
    env proxy=$GOPROXY
    env GOPROXY GONOPROXY GOSUMDB GONOSUMDB
    env dbname=localhost.localdev/sumdb
    
    # disagreeing with the sumdb produces security errors
    # (this also populates tiles on the sumdb server).
    cp go.mod.orig go.mod
    env GOSUMDB=$sumdb' '$proxy/sumdb-wrong
    ! go get rsc.io/quote
    stderr 'go: rsc.io/quote@v1.5.2: verifying module: checksum mismatch'
    stderr 'downloaded: h1:3fEy'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/cc/io_test.cc

      const absl::Status write_status =
          WriteStringToFile(dst_file_path, "test_string");
      ASSERT_THAT(write_status, IsOk());
    
      auto* const env = tsl::Env::Default();
      ASSERT_THAT(env->FileExists(dst_file_path), IsOk());
    
      std::string data{};
      ASSERT_THAT(tsl::ReadFileToString(env, dst_file_path, &data), IsOk());
    
      EXPECT_THAT(data, Eq("test_string"));
    }
    
    TEST(IoTest, ReadFileToString) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 03:28:15 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/gopath_install.txt

    # Regression test for 'go install' locations in GOPATH mode.
    env GO111MODULE=off
    [short] skip
    
    # Without $GOBIN set, binaries should be installed into the GOPATH bin directory.
    env GOBIN=
    rm $GOPATH/bin/go-cmd-test$GOEXE
    go install go-cmd-test
    exists $GOPATH/bin/go-cmd-test$GOEXE
    
    # With $GOBIN set, binaries should be installed to $GOBIN.
    env GOBIN=$WORK/bin1
    mkdir -p $GOBIN
    go install go-cmd-test
    exists $GOBIN/go-cmd-test$GOEXE
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 15 00:06:54 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/env_gomod_issue61455.txt

    env TESTGO_VERSION=go1.500
    env TESTGO_VERSION_SWITCH=mismatch
    
    # go env GOMOD should not trigger a toolchain download
    cd $GOPATH/mod
    go env GOMOD
    stdout mod[/\\]go.mod
    ! stderr 'go: toolchain go1.500 invoked to provide go1.700'
    
    # go env GOWORK should not trigger a toolchain download
    cd $GOPATH/work
    go env GOWORK
    stdout work[/\\]go.work
    ! stderr 'go: toolchain go1.500 invoked to provide go1.700'
    
    -- $GOPATH/mod/go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 16:05:39 UTC 2024
    - 510 bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/build_gopath_order.txt

    # golang.org/issue/14176#issuecomment-179895769
    # golang.org/issue/14192
    # -I arguments to compiler could end up not in GOPATH order,
    # leading to unexpected import resolution in the compiler.
    
    env GO111MODULE=off
    env GOPATH=$WORK/p1${:}$WORK/p2
    mkdir $WORK/p1/src/foo $WORK/p2/src/baz
    mkdir $WORK/p2/pkg/${GOOS}_${GOARCH} $WORK/p1/src/bar
    cp foo.go $WORK/p1/src/foo/foo.go
    cp baz.go $WORK/p2/src/baz/baz.go
    cp foo.a $WORK/p2/pkg/${GOOS}_${GOARCH}/foo.a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 17 13:25:29 UTC 2020
    - 855 bytes
    - Viewed (0)
Back to top