- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 159 for GOEXPERIMENT (0.19 sec)
-
test/fixedbugs/issue30862.dir/main.go
// license that can be found in the LICENSE file. package main import ( "fmt" "os" "issue30862.dir/b" ) // Test case for issue 30862. // Be aware that unless GOEXPERIMENT=fieldtrack is set when building // the compiler, this test will fail if executed with a regular GC // compiler. func main() { bad := b.Test() if len(bad) > 0 { for _, s := range bad {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 26 18:43:12 UTC 2021 - 549 bytes - Viewed (0) -
src/cmd/internal/cov/read_test.go
package cov_test import ( "cmd/internal/cov" "fmt" "internal/coverage" "internal/coverage/decodecounter" "internal/coverage/decodemeta" "internal/coverage/pods" "internal/goexperiment" "internal/testenv" "os" "path/filepath" "testing" ) // visitor implements the CovDataVisitor interface in a very stripped // down way, just keeps track of interesting events. type visitor struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 11:36:17 UTC 2023 - 3.5K bytes - Viewed (0) -
test/closure3.go
// errorcheckandrundir -0 -m -d=inlfuncswithclosures=1 //go:build !goexperiment.newinliner // 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. // Check correctness of various closure corner cases // that are expected to be inlined
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 358 bytes - Viewed (0) -
test/fixedbugs/issue63333.go
// errorcheck -goexperiment fieldtrack // 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 p func f(interface{ m() }) {} func g() { f(new(T)) } // ERROR "m method is marked 'nointerface'" type T struct{} //go:nointerface
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 19:44:52 UTC 2023 - 374 bytes - Viewed (0) -
test/fixedbugs/issue47928.go
// run -goexperiment fieldtrack // 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. package main func main() { var i interface{} = new(T) if _, ok := i.(interface{ Bad() }); ok { panic("FAIL") } } type T struct{ U } type U struct{} //go:nointerface
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 24 18:02:21 UTC 2021 - 386 bytes - Viewed (0) -
test/fixedbugs/issue20250.go
// errorcheck -0 -live -l //go:build !goexperiment.cgocheck2 // 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. // Issue 20250: liveness differed with concurrent compilation // due to propagation of addrtaken to outer variables for // closure variables. package p type T struct { s [2]string }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 727 bytes - Viewed (0) -
src/crypto/tls/fipsonly/fipsonly.go
// // The effect is triggered by importing the package anywhere in a program, as in: // // import _ "crypto/tls/fipsonly" // // This package only exists when using Go compiled with GOEXPERIMENT=boringcrypto. package fipsonly // This functionality is provided as a side effect of an import to make // it trivial to add to an existing program. It requires only a single line
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 29 14:23:22 UTC 2022 - 901 bytes - Viewed (0) -
src/cmd/go/internal/cache/default.go
// license that can be found in the LICENSE file. package cache import ( "fmt" "os" "path/filepath" "sync" "cmd/go/internal/base" "cmd/go/internal/cfg" "internal/goexperiment" ) // Default returns the default cache to use. // It never returns nil. func Default() Cache { defaultOnce.Do(initDefaultCache) return defaultCache } var ( defaultOnce sync.Once
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 3K bytes - Viewed (0) -
src/sync/runtime2_lockrank.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 sync import "unsafe" // Approximation of notifyList in runtime/sema.go. Size and alignment must // agree. type notifyList struct { wait uint32 notify uint32 rank int // rank field of the mutex
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 546 bytes - Viewed (0) -
test/fixedbugs/issue4099.go
// errorcheck -0 -m //go:build !goexperiment.newinliner // Copyright 2013 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. // Check go:noescape annotations. package p // The noescape comment only applies to the next func, // which must not have a body. //go:noescape func F1([]byte) func F2([]byte) func G() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 509 bytes - Viewed (0)