- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 162 for NoExperiment (0.15 sec)
-
test/fixedbugs/issue15747.go
// errorcheck -0 -live //go:build !goexperiment.cgocheck2 // Copyright 2016 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. // Issue 15747: liveness analysis was marking heap-escaped params live too much, // and worse was using the wrong bitmap bits to do so. package p var global *[]byte type Q struct{} type T struct{ M string }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 1.1K bytes - Viewed (0) -
.github/workflows/go-fips.yml
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 1.5K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/iimport.go
"cmd/compile/internal/ir" "cmd/compile/internal/types" ) // HaveInlineBody reports whether we have fn's inline body available // for inlining. // // It's a function literal so that it can be overridden for // GOEXPERIMENT=unified. var HaveInlineBody = func(fn *ir.Func) bool { base.Fatalf("HaveInlineBody not overridden") panic("unreachable") } func SetBaseTypeIndex(t *types.Type, i, pi int64) { if t.Obj() == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 26 21:52:50 UTC 2023 - 1.3K 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) -
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)