- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for causal (0.14 sec)
-
src/cmd/cgo/internal/test/callback.go
} if r.(string) != "panic from C" { t.Fatal("wrong panic:", r) } }() C.callPanic() } // Test that C code can return a value if it calls a Go function that // causes a stack copy. func testReturnAfterGrow(t *testing.T) { // Use a new goroutine so that we get a small stack. c := make(chan int) go func() { c <- int(C.returnAfterGrow()) }()
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 111.5K bytes - Viewed (0)