Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for timeoutUpperBound (0.3 sec)

  1. src/os/timeout_test.go

    	// would increase the timeout beyond this value, the test fails.
    	maxDynamicTimeout = 4 * time.Second
    )
    
    // timeoutUpperBound returns the maximum time that we expect a timeout of
    // duration d to take to return the caller.
    func timeoutUpperBound(d time.Duration) time.Duration {
    	switch runtime.GOOS {
    	case "openbsd", "netbsd":
    		// NetBSD and OpenBSD seem to be unable to reliably hit deadlines even when
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  2. src/net/timeout_test.go

    	// would increase the timeout beyond this value, the test fails.
    	maxDynamicTimeout = 4 * time.Second
    )
    
    // timeoutUpperBound returns the maximum time that we expect a timeout of
    // duration d to take to return the caller.
    func timeoutUpperBound(d time.Duration) time.Duration {
    	switch runtime.GOOS {
    	case "openbsd", "netbsd":
    		// NetBSD and OpenBSD seem to be unable to reliably hit deadlines even when
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 18:06:55 UTC 2024
    - 30K bytes
    - Viewed (0)
Back to top