Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 159 for GOEXPERIMENT (0.21 sec)

  1. 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)
  2. 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)
  3. src/runtime/runtime1.go

    						} else if v.atomic != nil {
    							v.atomic.Store(n)
    						}
    					}
    				}
    			}
    		}
    	}
    
    	if debug.cgocheck > 1 {
    		throw("cgocheck > 1 mode is no longer supported at runtime. Use GOEXPERIMENT=cgocheck2 at build time instead.")
    	}
    }
    
    //go:linkname setTraceback runtime/debug.SetTraceback
    func setTraceback(level string) {
    	var t uint32
    	switch level {
    	case "none":
    		t = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  4. test/live.go

    // errorcheckwithauto -0 -l -live -wb=0 -d=ssa/insert_resched_checks/off
    
    //go:build !ppc64 && !ppc64le && !goexperiment.regabiargs
    
    // ppc64 needs a better tighten pass to make f18 pass
    // rescheduling checks need to be turned off because there are some live variables across the inserted check call
    //
    // For register ABI, liveness info changes slightly. See live_regabi.go.
    
    // Copyright 2014 The Go Authors. All rights reserved.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 18K bytes
    - Viewed (0)
  5. src/runtime/mgcpacer.go

    	// assist by pre-paying for this many bytes of future allocations.
    	gcOverAssistWork = 64 << 10
    
    	// defaultHeapMinimum is the value of heapMinimum for GOGC==100.
    	defaultHeapMinimum = (goexperiment.HeapMinimum512KiBInt)*(512<<10) +
    		(1-goexperiment.HeapMinimum512KiBInt)*(4<<20)
    
    	// maxStackScanSlack is the bytes of stack space allocated or freed
    	// that can accumulate on a P before updating gcController.stackSize.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  6. src/go/internal/gcimporter/gcimporter_test.go

    	}
    
    	testenv.MustHaveGoBuild(t)
    
    	testfiles := map[string][]string{
    		"exports.go":  {"go/ast", "go/token"},
    		"generics.go": nil,
    	}
    	if true /* was goexperiment.Unified */ {
    		// TODO(mdempsky): Fix test below to flatten the transitive
    		// Package.Imports graph. Unified IR is more precise about
    		// recreating the package import graph.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  7. src/go/build/build.go

    	}
    	if ctxt.GOOS == "ios" && name == "darwin" {
    		return true
    	}
    	if name == "unix" && unixOS[ctxt.GOOS] {
    		return true
    	}
    	if name == "boringcrypto" {
    		name = "goexperiment.boringcrypto" // boringcrypto is an old name for goexperiment.boringcrypto
    	}
    
    	// other tags
    	for _, tag := range ctxt.BuildTags {
    		if tag == name {
    			return true
    		}
    	}
    	for _, tag := range ctxt.ToolTags {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  8. src/reflect/abi_test.go

    // Copyright 2021 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.regabiargs
    
    package reflect_test
    
    import (
    	"internal/abi"
    	"math"
    	"math/rand"
    	"reflect"
    	"runtime"
    	"testing"
    	"testing/quick"
    )
    
    // As of early May 2021 this is no longer necessary for amd64,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 26.4K bytes
    - Viewed (0)
  9. src/runtime/metrics_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime_test
    
    import (
    	"bytes"
    	"fmt"
    	"internal/abi"
    	"internal/goexperiment"
    	"internal/profile"
    	"internal/testenv"
    	"os"
    	"reflect"
    	"runtime"
    	"runtime/debug"
    	"runtime/metrics"
    	"runtime/pprof"
    	"runtime/trace"
    	"slices"
    	"sort"
    	"strings"
    	"sync"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/decl.go

    			if tparam0 != nil {
    				if !versionErr && !buildcfg.Experiment.AliasTypeParams {
    					check.error(tdecl, UnsupportedFeature, "generic type alias requires GOEXPERIMENT=aliastypeparams")
    					versionErr = true
    				}
    				check.openScope(tdecl, "type parameters")
    				defer check.closeScope()
    				check.collectTypeParams(&alias.tparams, tdecl.TParamList)
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
Back to top