- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for GOEXPERIMENT (0.15 sec)
-
src/cmd/go/internal/cfg/cfg.go
} } } // Experiment configuration. var ( // RawGOEXPERIMENT is the GOEXPERIMENT value set by the user. RawGOEXPERIMENT = envOr("GOEXPERIMENT", buildcfg.DefaultGOEXPERIMENT) // CleanGOEXPERIMENT is the minimal GOEXPERIMENT value needed to reproduce the // experiments enabled by RawGOEXPERIMENT. CleanGOEXPERIMENT = RawGOEXPERIMENT
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 17:13:51 UTC 2024 - 19.3K bytes - Viewed (0) -
src/cmd/go/internal/envcmd/env.go
{Name: "GOEXE", Value: cfg.ExeSuffix}, // List the raw value of GOEXPERIMENT, not the cleaned one. // The set of default experiments may change from one release // to the next, so a GOEXPERIMENT setting that is redundant // with the current toolchain might actually be relevant with // a different version (for example, when bisecting a regression). {Name: "GOEXPERIMENT", Value: cfg.RawGOEXPERIMENT},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 17:13:51 UTC 2024 - 19.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/check_test.go
for _, opt := range opts { opt(&conf) } // apply flag setting (overrides custom configuration) var goexperiment, gotypesalias string flags := flag.NewFlagSet("", flag.PanicOnError) flags.StringVar(&conf.GoVersion, "lang", "", "") flags.StringVar(&goexperiment, "goexperiment", "", "") flags.BoolVar(&conf.FakeImportC, "fakeImportC", false, "") flags.StringVar(&gotypesalias, "gotypesalias", "", "")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:45:33 UTC 2024 - 13.8K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/cc_test.go
func appendExperimentEnv(cmd *exec.Cmd, experiments []string) { if cmd.Env == nil { cmd.Env = cmd.Environ() } exps := strings.Join(experiments, ",") for _, evar := range cmd.Env { c := strings.SplitN(evar, "=", 2) if c[0] == "GOEXPERIMENT" { exps = c[1] + "," + exps } } cmd.Env = append(cmd.Env, "GOEXPERIMENT="+exps) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 09 20:00:56 UTC 2024 - 14.4K bytes - Viewed (0) -
src/go/types/check_test.go
for _, opt := range opts { opt(&conf) } // apply flag setting (overrides custom configuration) var goexperiment, gotypesalias string flags := flag.NewFlagSet("", flag.PanicOnError) flags.StringVar(&conf.GoVersion, "lang", "", "") flags.StringVar(&goexperiment, "goexperiment", "", "") flags.BoolVar(&conf.FakeImportC, "fakeImportC", false, "") flags.StringVar(&gotypesalias, "gotypesalias", "", "")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:45:33 UTC 2024 - 14.1K bytes - Viewed (0) -
src/runtime/extern.go
Setting cgocheck=1 (the default) enables relatively cheap checks that may miss some errors. A more complete, but slow, cgocheck mode can be enabled using GOEXPERIMENT (which requires a rebuild), see https://pkg.go.dev/internal/goexperiment for details. disablethp: setting disablethp=1 on Linux disables transparent huge pages for the heap.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 18.9K bytes - Viewed (0) -
src/cmd/compile/internal/test/inl_test.go
// Copyright 2017 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. package test import ( "bufio" "internal/goexperiment" "internal/testenv" "io" "math/bits" "regexp" "runtime" "strings" "testing" ) // TestIntendedInlining tests that specific functions are inlined.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 09 04:07:57 UTC 2024 - 10.7K bytes - Viewed (0) -
src/cmd/link/internal/ld/main.go
} else { addstrdata1(ctxt, "runtime.defaultGOROOT="+buildcfg.GOROOT) } buildVersion := buildcfg.Version if goexperiment := buildcfg.Experiment.String(); goexperiment != "" { buildVersion += " X:" + goexperiment } addstrdata1(ctxt, "runtime.buildVersion="+buildVersion) // TODO(matloob): define these above and then check flag values here
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:59:50 UTC 2024 - 16.6K bytes - Viewed (0) -
src/runtime/mbarrier.go
// assembly. This file contains write barrier entry points for bulk // operations. See also mwbbuf.go. package runtime import ( "internal/abi" "internal/goarch" "internal/goexperiment" "unsafe" ) // Go uses a hybrid barrier that combines a Yuasa-style deletion // barrier—which shades the object whose reference is being // overwritten—with Dijkstra insertion barrier—which shades the object
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 15.7K bytes - Viewed (0) -
src/internal/coverage/cfile/emitdata_test.go
"fmt" "internal/coverage" "internal/goexperiment" "internal/platform" "internal/testenv" "os" "os/exec" "path/filepath" "runtime" "strings" "testing" ) // Set to true for debugging (linux only). const fixedTestDir = false func TestCoverageApis(t *testing.T) { if testing.Short() { t.Skipf("skipping test: too long for short mode") } if !goexperiment.CoverageRedesign {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 16.3K bytes - Viewed (0)