- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 195 for Inlining (1.52 sec)
-
test/fixedbugs/issue52193.go
p256 := ecdh.P256() // ERROR "inlining call to ecdh.P256" ourKey, err := p256.GenerateKey(rand.Reader) // ERROR "devirtualizing p256.GenerateKey" "inlining call to ecdh.*GenerateKey" if err != nil { return nil, err } peerPublic, err := p256.NewPublicKey(peerShare) // ERROR "devirtualizing p256.NewPublicKey" "inlining call to ecdh.*NewPublicKey" if err != nil { return nil, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 09 17:21:38 UTC 2024 - 1.2K bytes - Viewed (0) -
src/cmd/internal/obj/inl.go
} tree.nodes = append(tree.nodes, call) return r } // AllParents invokes do on each InlinedCall in the inlining call // stack, from outermost to innermost. // // That is, if inlIndex corresponds to f inlining g inlining h, // AllParents invokes do with the call for inlining g into f, and then // inlining h into g. func (tree *InlTree) AllParents(inlIndex int, do func(InlinedCall)) { if inlIndex >= 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 22 22:47:15 UTC 2023 - 4.4K bytes - Viewed (0) -
test/fixedbugs/issue54159.go
package main func run() { // ERROR "cannot inline run: recursive" f := func() { // ERROR "can inline run.func1 with cost .* as:.*" "func literal does not escape" g() // ERROR "inlining call to g" } f() // ERROR "inlining call to run.func1" "inlining call to g" run() } func g() { // ERROR "can inline g with cost .* as:.*" } func main() { // ERROR "can inline main with cost .* as:.*" run()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jan 28 04:29:02 UTC 2023 - 586 bytes - Viewed (0) -
test/typeparam/issue54497.go
// license that can be found in the LICENSE file. // Test that inlining works with generic functions. package testcase type C interface{ ~uint | ~uint32 | ~uint64 } func isAligned[T C](x, y T) bool { // ERROR "can inline isAligned\[uint\]" "can inline isAligned\[go\.shape\.uint\]" "inlining call to isAligned\[go\.shape\.uint\]" return x%y == 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 18 17:26:40 UTC 2022 - 618 bytes - Viewed (0) -
test/fixedbugs/issue42284.dir/b.go
// license that can be found in the LICENSE file. package b import "./a" func g() { h := a.E() // ERROR "inlining call to a.E" "T\(0\) does not escape" h.M() // ERROR "devirtualizing h.M to a.T" "inlining call to a.T.M" // BAD: T(0) could be stack allocated. i := a.F(a.T(0)) // ERROR "inlining call to a.F" "a.T\(0\) escapes to heap" // Testing that we do NOT devirtualize here: i.M()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 18:09:45 UTC 2023 - 513 bytes - Viewed (0) -
test/fixedbugs/issue42284.dir/a.go
i = nil return i } func g() { h := E() // ERROR "inlining call to E" "T\(0\) does not escape" h.M() // ERROR "devirtualizing h.M to T" "inlining call to T.M" // BAD: T(0) could be stack allocated. i := F(T(0)) // ERROR "inlining call to F" "T\(0\) escapes to heap" // Testing that we do NOT devirtualize here: i.M()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 18:09:45 UTC 2023 - 750 bytes - Viewed (0) -
test/fixedbugs/issue18895.dir/q.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 15 04:17:30 UTC 2017 - 288 bytes - Viewed (0) -
test/fixedbugs/issue24651b.go
return x * (x + 1) * (x + 2) } var x = 5 //go:noinline Provide a clean, constant reason for not inlining main func main() { // ERROR "cannot inline main: marked go:noinline$" println("Foo(", x, ")=", Foo(x)) // ERROR "inlining call to Foo" println("Bar(", x, ")=", Bar(x)) // ERROR "inlining call to Bar"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 27 23:40:56 UTC 2021 - 800 bytes - Viewed (0) -
src/cmd/compile/internal/inline/interleaved/interleaved.go
inlheur.SetupScoreAdjustments() } var inlProfile *pgoir.Profile // copy of profile for inlining if base.Debug.PGOInline != 0 { inlProfile = profile } // First compute inlinability of all functions in the package. inline.CanInlineFuncs(pkg.Funcs, inlProfile) // Now we make a second pass to do devirtualization and inlining of // calls. Order here should not matter. for _, fn := range pkg.Funcs {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 20:42:52 UTC 2024 - 5.1K bytes - Viewed (0) -
test/fixedbugs/issue56280.dir/main.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 08 21:26:09 UTC 2022 - 312 bytes - Viewed (0)