- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 48 for Func1 (0.08 sec)
-
test/escape4.go
func f1() { p = alloc(2) // ERROR "inlining call to alloc" "moved to heap: x" // Escape analysis used to miss inlined code in closures. func() { // ERROR "can inline f1.func1" p = alloc(3) // ERROR "inlining call to alloc" }() // ERROR "inlining call to f1.func1" "inlining call to alloc" "moved to heap: x" f = func() { // ERROR "func literal escapes to heap" "can inline f1.func2"
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/go/testdata/script/trampoline_reuse_test.txt
# assembly 2^26 or so times. # # We build something which should be laid out as such: # # bar.Bar # main.Func1 # bar.Bar+400-tramp0 # main.BigAsm # main.Func2 # bar.Bar+400-tramp1 # # bar.Bar needs to be placed far enough away to generate relocations # from main package calls. and main.Func1 and main.Func2 are placed # a bit more than the direct call limit apart, but not more than 0x400
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 14:31:23 UTC 2022 - 2.7K bytes - Viewed (0) -
src/cmd/cgo/internal/test/callback_windows.go
} // Only frames in the test package are checked. want := []string{ "test._Cfunc_backtrace", "test.testCallbackCallersSEH.func1.1", "test.testCallbackCallersSEH.func1", "test.goCallback", "test._Cfunc_callback", "test.nestedCall.func1", "test.nestedCall", "test.testCallbackCallersSEH", "test.TestCallbackCallersSEH", } pc := make([]uintptr, 100) n := 0 nestedCall(func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 29 16:01:37 UTC 2023 - 2.6K bytes - Viewed (0) -
src/runtime/runtime-seh_windows_test.go
if runtime.GOARCH != "amd64" { t.Skip("skipping amd64-only test") } want := []string{"runtime_test.sehCallers", "runtime_test.TestSehUnwindDoublePanic.func1.1", "runtime.gopanic", "runtime_test.TestSehUnwindDoublePanic.func1", "runtime.gopanic", "runtime_test.TestSehUnwindDoublePanic"} defer func() { defer func() { if recover() == nil { t.Fatal("did not panic") } pcs := sehCallers()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 31 16:52:06 UTC 2023 - 4.7K bytes - Viewed (0) -
src/cmd/compile/internal/test/pgo_devirtualize_test.go
}, // ExerciseFuncClosure // TODO(prattmic): Closure callees not implemented. //{ // pos: "./devirt.go:249:27", // callee: "AddClosure.func1", //}, //{ // pos: "./devirt.go:249:15", // callee: "mult.MultClosure.func1", //}, } testPGODevirtualize(t, dir, want, profFileName) } // TestPGOPreprocessDevirtualize tests that specific functions are devirtualized when PGO
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 15 21:30:35 UTC 2024 - 8.5K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/pgo/devirtualize/devirt.pprof.node_map
23 101 example.com/pgo/devirtualize.ExerciseFuncField example.com/pgo/devirtualize/mult%2epkg.MultFn 23 94 example.com/pgo/devirtualize.ExerciseFuncClosure example.com/pgo/devirtualize/mult%2epkg.MultClosure.func1 18 93 example.com/pgo/devirtualize.ExerciseFuncClosure example.com/pgo/devirtualize.Add.Add 18 92 example.com/pgo/devirtualize.ExerciseFuncConcrete example.com/pgo/devirtualize/mult%2epkg.MultFn 48 91
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 20:20:01 UTC 2024 - 1.6K bytes - Viewed (0) -
platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/SourceParseAndResolutionTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 21.5K bytes - Viewed (0) -
src/runtime/callers_test.go
// Make sure we don't have any extra frames on the stack (due to // open-coded defer processing) want := []string{"runtime.Callers", "runtime_test.TestCallersDoublePanic.func1.1", "runtime.gopanic", "runtime_test.TestCallersDoublePanic.func1", "runtime.gopanic", "runtime_test.TestCallersDoublePanic"} defer func() { defer func() { pcs := make([]uintptr, 20) pcs = pcs[:runtime.Callers(0, pcs)]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 21:36:31 UTC 2023 - 12.1K bytes - Viewed (0) -
test/fixedbugs/issue20250.go
package p type T struct { s [2]string } func f(a T) { // ERROR "live at entry to f: a$" var e interface{} // ERROR "stack object e interface \{\}$" func() { // ERROR "live at entry to f.func1: &e a$" e = a.s // ERROR "live at call to convT: &e$" "stack object a T$" }() // Before the fix, both a and e were live at the previous line. _ = e
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 727 bytes - Viewed (0) -
src/cmd/internal/test2json/testdata/panic.json
{"Action":"output","Test":"TestPanic","Output":"\n"} {"Action":"output","Test":"TestPanic","Output":"goroutine 7 [running]:\n"} {"Action":"output","Test":"TestPanic","Output":"testing.tRunner.func1(0xc000092100)\n"} {"Action":"output","Test":"TestPanic","Output":"\t/go/src/testing/testing.go:874 +0x3a3\n"} {"Action":"output","Test":"TestPanic","Output":"panic(0x1110ea0, 0x116aea0)\n"}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 09 17:33:07 UTC 2022 - 1.4K bytes - Viewed (0)