Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testPresentTimeout (0.25 sec)

  1. src/vendor/golang.org/x/net/nettest/conntest.go

    		t.Errorf("unexpected Read count: got %d, want 0", n)
    	}
    	checkForTimeoutError(t, err)
    
    	testRoundtrip(t, c1)
    }
    
    // testPresentTimeout tests that a past deadline set while there are pending
    // Read and Write operations immediately times out those operations.
    func testPresentTimeout(t *testing.T, c1, c2 net.Conn) {
    	var wg sync.WaitGroup
    	defer wg.Wait()
    	wg.Add(3)
    
    	deadlineSet := make(chan bool, 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top