- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 34 for GOEXPERIMENT (0.26 sec)
-
src/go/types/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: Tue Dec 19 04:39:56 UTC 2023 - 13.7K bytes - Viewed (0) -
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) -
test/newinline.go
// errorcheckwithauto -0 -m -d=inlfuncswithclosures=1 //go:build goexperiment.newinliner // Copyright 2023 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. // Test, using compiler diagnostic flags, that inlining is working. // Compiles but does not run. package foo import ( "errors" "runtime" "unsafe" )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 20:15:25 UTC 2023 - 11.2K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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)