Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Variable (3.3 sec)

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

    [!exec:swig] skip
    [!cgo] skip
    
    go test -v -count=1 -coverprofile=foo.p
    stdout 'coverage: 100.0% of statements'
    
    -- go.mod --
    module simple
    
    go 1.21
    -- main.c --
    /* A global variable */
    double Foo = 3.0;
    
    /* Compute the greatest common divisor of positive integers */
    int gcd(int x, int y) {
      int g;
      g = y;
      while (x > 0) {
        g = x;
        x = y % x;
        y = g;
      }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 05 21:29:51 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. doc/next/7-ports.md

    <!-- go.dev/issue/60905, CL 559555 -->
    Go 1.23 introduces a new `GOARM64` environment variable, which specifies the minimum target version of the ARM64 architecture at compile time. Allowed values are `v8.{0-9}` and `v9.{0-5}`. This may be followed by an option specifying extensions implemented by target hardware. Valid options are `,lse` and `,crypto`.
    
    The `GOARM64` environment variable defaults to `v8.0`.
    
    ### RISC-V {#riscv}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:18:52 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/telemetry.txt

    stdout 'on'
    
    go env
    stdout 'GOTELEMETRY=''?on''?'
    stdout 'GOTELEMETRYDIR=''?'$userconfig'[\\/]go[\\/]telemetry''?'
    ! go env -w GOTELEMETRY=off
    stderr '^go: unknown go command variable GOTELEMETRY$'
    ! go env -w GOTELEMETRYDIR=foo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 20:16:39 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. doc/next/6-stdlib/99-minor/crypto/tls/66214.md

    3DES cipher suites were removed from the default list used when
    [Config.CipherSuites] is nil. The default can be reverted adding `tls3des=1` to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 178 bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/env_write.txt

    # Now override it to something writable.
    env GOENV=$WORK/envdir/go/env
    go env GOENV
    stdout envdir[\\/]go[\\/]env
    
    # go env shows all variables
    go env
    stdout GOARCH=
    stdout GOOS=
    stdout GOROOT=
    
    # go env ignores invalid flag in GOFLAGS environment variable
    env GOFLAGS='=true'
    go env
    
    # checking errors
    ! go env -w
    stderr 'go: no KEY=VALUE arguments given'
    ! go env -u
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 18:42:31 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/build_trimpath_goroot.txt

    # 'go test' should not implicitly set GOROOT in the process environment
    # (because that could mask an unexpected production dependency on the GOROOT
    # environment variable), but 'go generate' should (because the generator may
    # reasonably expect to be able to locate the GOROOT for which it is generating
    # code).
    
    [trimpath] stop
    
    ! go run -trimpath .
    stdout '^GOROOT $'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/README

    and $WORK/gopath/src/hello.go containing the listed contents.
    
    Each line of a script is parsed into a sequence of space-separated command
    words, with environment variable expansion within each word and # marking
    an end-of-line comment. Additional variables named ':' and '/' are expanded
    within script arguments (expanding to the value of os.PathListSeparator and
    os.PathSeparator respectively) but are not inherited in subprocess environments.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/test_cache_inputs.txt

    go build -o mkold$GOEXE mkold.go
    
    # Make test input files appear to be a minute old.
    exec ./mkold$GOEXE 1m testcache/file.txt
    exec ./mkold$GOEXE 1m testcache/script.sh
    
    # If the test reads an environment variable, changes to that variable
    # should invalidate cached test results.
    env TESTKEY=x
    go test testcache -run=TestLookupEnv
    go test testcache -run=TestLookupEnv
    stdout '\(cached\)'
    
    # GODEBUG is always read
    env GODEBUG=asdf=1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 22:23:53 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. doc/next/3-tools.md

    ## Tools {#tools}
    
    ### Go command {#go-command}
    
    Setting the `GOROOT_FINAL` environment variable no longer has an effect
    ([#62047](/issue/62047)).
    Distributions that install the `go` command to a location other than
    `$GOROOT/bin/go` should install a symlink instead of relocating
    or copying the `go` binary.
    
    <!-- go.dev/issue/34208, CL 563137, CL 586095 -->
    The new `go` `env` `-changed` flag causes the command to print only
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 19:06:07 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. doc/godebug.md

    reduce the impact such changes have on Go developers
    using newer toolchains to compile old code.
    
    A GODEBUG setting is a `key=value` pair
    that controls the execution of certain parts of a Go program.
    The environment variable `GODEBUG`
    can hold a comma-separated list of these settings.
    For example, if a Go program is running in an environment that contains
    
    	GODEBUG=http2client=0,http2server=0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 15.9K bytes
    - Viewed (0)
Back to top