- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testCallbackGC (0.1 sec)
-
src/cmd/cgo/internal/test/callback.go
} f() } func testCallback(t *testing.T) { var x = false nestedCall(func() { x = true }) if !x { t.Fatal("nestedCall did not call func") } } func testCallbackGC(t *testing.T) { nestedCall(runtime.GC) } func testCallbackPanic(t *testing.T) { // Make sure panic during callback unwinds properly. if lockedOSThread() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 111.5K bytes - Viewed (0)