Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isPositive (0.1 sec)

  1. src/runtime/mgcscavenge_test.go

    		// or will be other otherwise immediately visible.
    		//
    		// We just want to make sure that given a non-Inf, non-NaN input,
    		// we always get a non-Inf, non-NaN output.
    		if !isPositive(kp) || !isPositive(ti) || !isPositive(tt) {
    			return
    		}
    		if !isNormal(min) || !isNormal(max) || min > max {
    			return
    		}
    		// Use a random source, but make it deterministic.
    		rs := rand.New(rand.NewSource(800))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

      duration: Duration,
    ): Int {
      check(!duration.isNegative()) { "$name < 0" }
      val millis = duration.inWholeMilliseconds
      require(millis <= Integer.MAX_VALUE) { "$name too large" }
      require(millis != 0L || !duration.isPositive()) { "$name too small" }
      return millis.toInt()
    }
    
    internal fun List<Header>.toHeaders(): Headers {
      val builder = Headers.Builder()
      for ((name, value) in this) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top