Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isPositive (0.33 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)
  3. tensorflow/cc/gradients/math_grad.cc

                                        /*axis=*/0);
      is_positive = Reshape(scope, is_positive, broadcastable_shape);
      is_positive = LogicalAnd(scope, is_positive, OnesLike(scope, is_positive));
      return is_positive;
    }
    
    // Helper function for unsorted segment ops.
    // Gathers params for positive segment ids and gathers 0 for inputs with
    // negative segment id.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 50.7K bytes
    - Viewed (0)
Back to top