- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for T_callsexit (0.39 sec)
-
src/cmd/compile/internal/inline/inlheur/testdata/props/funcflags.go
if x < 0 { break lab1 } panic("hubba") } } // funcflags.go T_callsexit 268 0 1 // Flags FuncPropNeverReturns // ParamFlags // 0 ParamFeedsIfOrSwitch // <endpropsdump> // {"Flags":1,"ParamFlags":[32],"ResultFlags":null} // <endcallsites> // <endfuncpreamble> func T_callsexit(x int) { if x < 0 { os.Exit(1) } os.Exit(2) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 20:15:01 UTC 2023 - 6.5K bytes - Viewed (0) -
src/cmd/compile/internal/inline/inlheur/testdata/props/calls.go
// <endcallsites> // <endfuncpreamble> func T_calls_on_panic_paths(x int, q []string) { if x+G == 101 { callee(x) panic("ouch") } if x < G-101 { callee(x) if len(q) == 0 { G++ } callsexit(x) } } // calls.go T_calls_not_on_panic_paths 93 0 1 // ParamFlags // 0 ParamFeedsIfOrSwitch|ParamMayFeedIfOrSwitch // 1 ParamNoInfo // <endpropsdump>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 20:15:25 UTC 2023 - 7.1K bytes - Viewed (0) -
src/runtime/ehooks_test.go
expected: "blub blix", }, { mode: "panics", musthave: []string{ "fatal error: exit hook invoked panic", "main.testPanics", }, }, { mode: "callsexit", musthave: []string{ "fatal error: exit hook invoked exit", }, }, { mode: "exit2", expected: "", }, } exe, err := buildTestProg(t, "testexithooks", bmode)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 16:41:13 UTC 2024 - 2.1K bytes - Viewed (0) -
src/runtime/testdata/testexithooks/testexithooks.go
func main() { flag.Parse() switch *modeflag { case "simple": testSimple() case "goodexit": testGoodExit() case "badexit": testBadExit() case "panics": testPanics() case "callsexit": testHookCallsExit() case "exit2": testExit2() default: panic("unknown mode") } } func testSimple() { f1 := func() { println("foo") } f2 := func() { println("bar") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 16:41:13 UTC 2024 - 2.1K bytes - Viewed (0)