- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 195 for Inlining (0.23 sec)
-
test/fixedbugs/issue54912.dir/a.go
// Copyright 2022 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 that inlining a function literal that captures both a type // switch case variable and another local variable works correctly. package a func F(p *int, x any) func() { switch x := x.(type) { case int: return func() { *p += x } } return nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 07 17:26:34 UTC 2022 - 423 bytes - Viewed (0) -
test/fixedbugs/issue35586.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Issue 35586: gollvm compiler crash building docker-ce; the problem // involves inlining a function that has multiple no-name ("_") parameters. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 18 21:19:53 UTC 2019 - 341 bytes - Viewed (0) -
test/fixedbugs/issue4748.go
// run // 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. // Issue 4748. // This program used to complain because inlining created two exit labels. package main func jump() { goto exit exit: return } func main() { jump() jump()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 374 bytes - Viewed (0) -
test/fixedbugs/bug448.dir/pkg2.go
// Copyright 2012 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 3843: inlining bug due to wrong receive operator precedence. package pkg2 import "./pkg1" func F() { pkg1.Do()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 287 bytes - Viewed (0) -
test/fixedbugs/issue4323.go
// compile // Copyright 2012 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 4323: inlining of functions with local variables // forgets to typecheck the declarations in the inlined copy. package main type reader struct { C chan T } type T struct{ C chan []byte } var r = newReader()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 610 bytes - Viewed (0) -
test/fixedbugs/issue5614.go
// compiledir // 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. // Issue 5614: exported data for inlining may miss // named types when used in implicit conversion to // their underlying type.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 06:18:36 UTC 2013 - 320 bytes - Viewed (0) -
test/fixedbugs/issue18895.dir/p.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 15 04:17:30 UTC 2017 - 298 bytes - Viewed (0) -
test/fixedbugs/issue19261.dir/q.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 q import "./p" func H() { p.F() // ERROR "inlining call to p.F" print(1, 2, 3, 4, 5, 6, 7, 8, 9, 10) print(1, 2, 3, 4, 5, 6, 7, 8, 9, 10) print(1, 2, 3, 4, 5, 6, 7, 8, 9, 10) print(1, 2, 3, 4, 5, 6, 7, 8, 9, 10) print(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 11 23:20:44 UTC 2017 - 465 bytes - Viewed (0) -
test/fixedbugs/issue15747b.go
// compile // 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: If an ODCL is dropped, for example when inlining, // then it's easy to end up not initializing the '&x' pseudo-variable // to point to an actual allocation. The liveness analysis will detect // this and abort the computation, so this test just checks that the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 15 02:39:16 UTC 2017 - 539 bytes - Viewed (0) -
test/fixedbugs/issue5515.go
// run // 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. // issue 5515: miscompilation doing inlining in generated method wrapper package main type T uint32 func main() { b := make([]T, 8) b[0] = 0xdeadbeef rs := Slice(b) sort(rs) } type Slice []T
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 12 03:23:21 UTC 2013 - 597 bytes - Viewed (0)