- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for testCallbackGC (0.21 sec)
-
src/cmd/cgo/internal/test/cgo_test.go
func TestCallback(t *testing.T) { testCallback(t) } func TestCallbackCallers(t *testing.T) { testCallbackCallers(t) } func TestCallbackGC(t *testing.T) { testCallbackGC(t) } func TestCallbackPanic(t *testing.T) { testCallbackPanic(t) } func TestCallbackPanicLocked(t *testing.T) { testCallbackPanicLocked(t) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 17 21:53:11 UTC 2023 - 6.4K bytes - Viewed (0) -
src/runtime/syscall_windows_test.go
} func TestCallback(t *testing.T) { var x = false nestedCall(t, func() { x = true }) if !x { t.Fatal("nestedCall did not call func") } } func TestCallbackGC(t *testing.T) { nestedCall(t, runtime.GC) } func TestCallbackPanicLocked(t *testing.T) { runtime.LockOSThread() defer runtime.UnlockOSThread() if !runtime.LockedOSThread() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 31 16:31:35 UTC 2023 - 32.5K bytes - Viewed (0) -
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)