Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for GOEXPERIMENT (4.76 sec)

  1. src/cmd/go/script_test.go

    		"TESTGO_GOHOSTARCH=" + goHostArch,
    		"GOCACHE=" + testGOCACHE,
    		"GOCOVERDIR=" + os.Getenv("GOCOVERDIR"),
    		"GODEBUG=" + os.Getenv("GODEBUG"),
    		"GOEXE=" + cfg.ExeSuffix,
    		"GOEXPERIMENT=" + os.Getenv("GOEXPERIMENT"),
    		"GOOS=" + runtime.GOOS,
    		"TESTGO_GOHOSTOS=" + goHostOS,
    		"GOPROXY=" + proxyURL,
    		"GOPRIVATE=",
    		"GOROOT=" + testGOROOT,
    		"GOTRACEBACK=system",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. 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)
  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/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)
  6. 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)
  7. src/runtime/lockrank_on.go

    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build goexperiment.staticlockranking
    
    package runtime
    
    import (
    	"internal/runtime/atomic"
    	"unsafe"
    )
    
    const staticLockRanking = true
    
    // worldIsStopped is accessed atomically to track world-stops. 1 == world
    // stopped.
    var worldIsStopped atomic.Uint32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:29:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/stdlib_test.go

    		// get per-file instructions
    		expectErrors := false
    		filename := filepath.Join(path, f.Name())
    		goVersion := ""
    		if comment := firstComment(filename); comment != "" {
    			if strings.Contains(comment, "-goexperiment") {
    				continue // ignore this file
    			}
    			fields := strings.Fields(comment)
    			switch fields[0] {
    			case "skip", "compiledir":
    				continue // ignore this file
    			case "errorcheck":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:18:33 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. src/cmd/go/internal/help/helpdoc.go

    		generated by running a "go build -cover" binary.
    		Requires that GOEXPERIMENT=coverageredesign is enabled.
    
    Special-purpose environment variables:
    
    	GCCGOTOOLDIR
    		If set, where to find gccgo tools, such as cgo.
    		The default is based on how gccgo was configured.
    	GOEXPERIMENT
    		Comma-separated list of toolchain experiments to enable or disable.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  10. src/internal/trace/trace_test.go

    		cmd := testenv.Command(t, testenv.GoToolPath(t), "run")
    		if race.Enabled {
    			cmd.Args = append(cmd.Args, "-race")
    		}
    		cmd.Args = append(cmd.Args, testPath)
    		cmd.Env = append(os.Environ(), "GOEXPERIMENT=rangefunc")
    		// Add a stack ownership check. This is cheap enough for testing.
    		godebug := "tracecheckstackownership=1"
    		if stress {
    			// Advance a generation constantly to stress the tracer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top