func init() { … }
var dialTimeoutTests …
func TestDialTimeout(t *testing.T) { … }
func TestDialTimeoutMaxDuration(t *testing.T) { … }
func TestAcceptTimeout(t *testing.T) { … }
func TestAcceptTimeoutMustReturn(t *testing.T) { … }
func TestAcceptTimeoutMustNotReturn(t *testing.T) { … }
var readTimeoutTests …
func TestReadTimeout(t *testing.T) { … }
func TestReadTimeoutMustNotReturn(t *testing.T) { … }
var readFromTimeoutTests …
func TestReadFromTimeout(t *testing.T) { … }
var writeTimeoutTests …
func TestWriteTimeout(t *testing.T) { … }
func TestWriteTimeoutMustNotReturn(t *testing.T) { … }
func TestWriteToTimeout(t *testing.T) { … }
const minDynamicTimeout …
const maxDynamicTimeout …
func timeoutUpperBound(d time.Duration) time.Duration { … }
func nextTimeout(actual time.Duration) (next time.Duration, ok bool) { … }
func TestReadTimeoutFluctuation(t *testing.T) { … }
func TestReadFromTimeoutFluctuation(t *testing.T) { … }
func TestWriteTimeoutFluctuation(t *testing.T) { … }
func TestVariousDeadlines(t *testing.T) { … }
func TestVariousDeadlines1Proc(t *testing.T) { … }
func TestVariousDeadlines4Proc(t *testing.T) { … }
func testVariousDeadlines(t *testing.T) { … }
func TestReadWriteProlongedTimeout(t *testing.T) { … }
func TestReadWriteDeadlineRace(t *testing.T) { … }
func TestConcurrentSetDeadline(t *testing.T) { … }
func isDeadlineExceeded(err error) bool { … }