- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 159 for GOEXPERIMENT (0.23 sec)
-
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) -
test/arenas/smoke.go
// build -goexperiment arenas // 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. package main import ( "arena" "log" "reflect" ) func main() { a := arena.NewArena() defer a.Free() const iValue = 10 i := arena.New[int](a) *i = iValue if *i != iValue {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 16 17:08:43 UTC 2023 - 1.6K bytes - Viewed (0) -
test/escape4.go
// errorcheck -0 -m //go:build !goexperiment.newinliner // Copyright 2010 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 the escape analysis is working. // Compiles but does not run. Inlining is enabled. package foo var p *int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 14 19:43:26 UTC 2023 - 1.4K 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) -
test/fixedbugs/issue7921.go
// errorcheck -0 -m //go:build !gcflags_noopt && !goexperiment.newinliner // Copyright 2018 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 foo import "bytes" // In order to get desired results, we need a combination of // both escape analysis and inlining. func bufferNotEscape() string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 14 19:43:26 UTC 2023 - 2.2K bytes - Viewed (0) -
src/runtime/race/testdata/rangefunc_test.go
// Copyright 2024 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.rangefunc package race_test import ( "runtime" "sync/atomic" "testing" ) type Seq2[T1, T2 any] func(yield func(T1, T2) bool) // ofSliceIndex returns a Seq over the elements of s. It is equivalent
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 21:08:03 UTC 2024 - 1.8K bytes - Viewed (0) -
src/cmd/dist/buildruntime.go
fmt.Fprintf(&buf, "const defaultGOPPC64 = `%s`\n", goppc64) fmt.Fprintf(&buf, "const defaultGORISCV64 = `%s`\n", goriscv64) fmt.Fprintf(&buf, "const defaultGOEXPERIMENT = `%s`\n", goexperiment) fmt.Fprintf(&buf, "const defaultGO_EXTLINK_ENABLED = `%s`\n", goextlinkenabled) fmt.Fprintf(&buf, "const defaultGO_LDSO = `%s`\n", defaultldso) fmt.Fprintf(&buf, "const version = `%s`\n", findgoversion())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 06 01:33:19 UTC 2024 - 2.5K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/00-bug.yml
GO111MODULE="" GOARCH="arm64" GOBIN="/Users/gopher/go/bin" GOCACHE="/Users/gopher/go/cache" GOENV="/Users/gopher/Library/Application Support/go/env" GOEXE="" GOEXPERIMENT="" GOFLAGS="" GOHOSTARCH="arm64" GOHOSTOS="darwin" GOINSECURE="" GOMODCACHE="/Users/gopher/go/pkg/mod" GONOPROXY="" GONOSUMDB="" GOOS="darwin"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 04 23:31:17 UTC 2024 - 3.3K 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)