Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for nextTimeout (0.12 sec)

  1. src/os/timeout_test.go

    	// at least when they are long enough to cover scheduling jitter.
    	return d * 11 / 10
    }
    
    // nextTimeout returns the next timeout to try after an operation took the given
    // actual duration with a timeout shorter than that duration.
    func nextTimeout(actual time.Duration) (next time.Duration, ok bool) {
    	if actual >= maxDynamicTimeout {
    		return maxDynamicTimeout, false
    	}
    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

    	// at least when they are long enough to cover scheduling jitter.
    	return d * 11 / 10
    }
    
    // nextTimeout returns the next timeout to try after an operation took the given
    // actual duration with a timeout shorter than that duration.
    func nextTimeout(actual time.Duration) (next time.Duration, ok bool) {
    	if actual >= maxDynamicTimeout {
    		return maxDynamicTimeout, false
    	}
    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