Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 159 for GOEXPERIMENT (0.24 sec)

  1. src/runtime/crash_test.go

    		cmd = testenv.CleanCmdEnv(cmd)
    
    		// Add the rangefunc GOEXPERIMENT unconditionally since some tests depend on it.
    		// TODO(61405): Remove this once it's enabled by default.
    		edited := false
    		for i := range cmd.Env {
    			e := cmd.Env[i]
    			if _, vars, ok := strings.Cut(e, "GOEXPERIMENT="); ok {
    				cmd.Env[i] = "GOEXPERIMENT=" + vars + ",rangefunc"
    				edited = true
    			}
    		}
    		if !edited {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 27K bytes
    - Viewed (0)
  2. src/cmd/go/internal/cache/hash.go

    // go_bootstrap without any experiments, so by stripping experiments
    // go_bootstrap and the final go binary will use the same salt.
    var hashSalt = []byte(stripExperiment(runtime.Version()))
    
    // stripExperiment strips any GOEXPERIMENT configuration from the Go
    // version string.
    func stripExperiment(version string) string {
    	if i := strings.Index(version, " X:"); i >= 0 {
    		return version[:i]
    	}
    	return version
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 14 16:18:34 UTC 2021
    - 4.9K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/README

    	commands' outputs.
    
    
    
    The available conditions are:
    [GOARCH:*]
    	runtime.GOARCH == <suffix>
    [GODEBUG:*]
    	GODEBUG contains <suffix>
    [GOEXPERIMENT:*]
    	GOEXPERIMENT <suffix> is enabled
    [GOOS:*]
    	runtime.GOOS == <suffix>
    [abscc]
    	default $CC path is absolute and exists
    [asan]
    	GOOS/GOARCH supports -asan
    [buildmode:*]
    	go supports -buildmode=<suffix>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. src/cmd/covdata/tool_test.go

    	exepath3 string
    	tool     string
    	outdirs  [4]string
    }
    
    const debugWorkDir = false
    
    func TestCovTool(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	if !goexperiment.CoverageRedesign {
    		t.Skipf("stubbed out due to goexperiment.CoverageRedesign=false")
    	}
    	dir := tempDir(t)
    	if testing.Short() {
    		t.Skip()
    	}
    	if debugWorkDir {
    		// debugging
    		dir = "/tmp/qqq"
    		os.RemoveAll(dir)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  5. src/make.bat

    if...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. src/runtime/cgocall.go

    //
    // crosscall2 restores the callee-save registers for gcc and returns
    // to GoF, which unpacks any result values and returns to f.
    
    package runtime
    
    import (
    	"internal/abi"
    	"internal/goarch"
    	"internal/goexperiment"
    	"runtime/internal/sys"
    	"unsafe"
    )
    
    // Addresses collected in a cgo backtrace when crashing.
    // Length must match arg.Max in x_cgo_callers in runtime/cgo/gcc_traceback.c.
    type cgoCallers [32]uintptr
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  7. src/cmd/internal/codesign/codesign.go

    	// emit the identifier
    	outp = puts(outp, []byte(id+"\000"))
    
    	// emit hashes
    	// NOTE(rsc): These must be SHA256, but for cgo bootstrap reasons
    	// we cannot import crypto/sha256 when GOEXPERIMENT=boringcrypto
    	// and the host is linux/amd64. So we use NOT-SHA256
    	// and then apply a NOT ourselves to get SHA256. Sigh.
    	var buf [pageSize]byte
    	h := notsha256.New()
    	p := 0
    	for p < int(codeSize) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 29 14:23:19 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  8. src/make.bash

    		if [[ -d "$HOME/$d" ]]; then
    			GOROOT_BOOTSTRAP="$HOME/$d"
    		fi
    	done
    fi
    export GOROOT_BOOTSTRAP
    
    bootstrapenv() {
    	GOROOT="$GOROOT_BOOTSTRAP" GO111MODULE=off GOENV=off GOOS= GOARCH= GOEXPERIMENT= GOFLAGS= "$@"
    }
    
    export GOROOT="$(cd .. && pwd)"
    IFS=$'\n'; for go_exe in $(type -ap go); do
    	if [[ ! -x "$GOROOT_BOOTSTRAP/bin/go" ]]; then
    		goroot_bootstrap=$GOROOT_BOOTSTRAP
    		GOROOT_BOOTSTRAP=""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:48:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. src/crypto/internal/boring/LICENSE

    The Go source code and supporting files in this directory
    are covered by the usual Go license (see ../../../../LICENSE).
    
    When building with GOEXPERIMENT=boringcrypto, the following applies.
    
    The goboringcrypto_linux_amd64.syso object file is built
    from BoringSSL source code by build/build.sh and is covered
    by the BoringSSL license reproduced below and also at
    https://boringssl.googlesource.com/boringssl/+/fips-20190808/LICENSE.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. src/cmd/dist/buildtool.go

    	"go/constant",
    	"go/version",
    	"internal/abi",
    	"internal/coverage",
    	"cmd/internal/cov/covcmd",
    	"internal/bisect",
    	"internal/buildcfg",
    	"internal/goarch",
    	"internal/godebugs",
    	"internal/goexperiment",
    	"internal/goroot",
    	"internal/gover",
    	"internal/goversion",
    	// internal/lazyregexp is provided by Go 1.17, which permits it to
    	// be imported by other packages in this list, but is not provided
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 23:29:41 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top