- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NetpollDeadlock (0.12 sec)
-
src/runtime/testdata/testprognet/net.go
import ( "fmt" "net" ) func init() { registerInit("NetpollDeadlock", NetpollDeadlockInit) register("NetpollDeadlock", NetpollDeadlock) } func NetpollDeadlockInit() { fmt.Println("dialing") c, err := net.Dial("tcp", "localhost:14356") if err == nil { c.Close() } else { fmt.Println("error: ", err) } } func NetpollDeadlock() { fmt.Println("done")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 23:34:33 UTC 2016 - 539 bytes - Viewed (0) -
src/runtime/crash_test.go
if !strings.HasPrefix(output, want) { t.Fatalf("output does not start with %q:\n%s", want, output) } } func TestNetpollDeadlock(t *testing.T) { t.Parallel() output := runTestProg(t, "testprognet", "NetpollDeadlock") want := "done\n" if !strings.HasSuffix(output, want) { t.Fatalf("output does not start with %q:\n%s", want, output) } } func TestPanicTraceback(t *testing.T) { t.Parallel()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 19:46:10 UTC 2024 - 27K bytes - Viewed (0)