Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 176 for Floor (0.2 sec)

  1. test/fixedbugs/issue9110.go

    		go func() {
    			mu2.Lock()
    			cond2.Wait()
    			mu2.Unlock()
    		}()
    		time.Sleep(1 * time.Millisecond)
    
    		// put top sudog back
    		cond1.Broadcast()
    		time.Sleep(1 * time.Millisecond)
    
    		// drop cache on floor
    		runtime.GC()
    
    		// release cond2 after select has gotten to run
    		release = func() {
    			cond2.Broadcast()
    			time.Sleep(1 * time.Millisecond)
    		}
    	}
    
    	runtime.GC()
    
    	runtime.ReadMemStats(&stats2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/tests/optimize.mlir

      %10 = "tf.Mul"(%9, %cst_5) : (tensor<1x98x98x1xf32>, tensor<1xf32>) -> tensor<1x98x98x1xf32>
      %11 = "tf.AddV2"(%10, %cst_8) : (tensor<1x98x98x1xf32>, tensor<f32>) -> tensor<1x98x98x1xf32>
      %12 = "tf.Floor"(%11) : (tensor<1x98x98x1xf32>) -> tensor<1x98x98x1xf32>
      %13 = "tf.Cast"(%12) {Truncate = false} : (tensor<1x98x98x1xf32>) -> tensor<1x98x98x1xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/math/DoubleMathRoundingBenchmark.java

      private static final double[] doubleInLongRange = new double[ARRAY_SIZE];
      private static final double[] positiveDoubles = new double[ARRAY_SIZE];
    
      @Param({"DOWN", "UP", "FLOOR", "CEILING", "HALF_EVEN", "HALF_UP", "HALF_DOWN"})
      RoundingMode mode;
    
      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
          doubleInIntRange[i] = randomDouble(Integer.SIZE - 2);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.6K bytes
    - Viewed (0)
  4. src/math/rand/zipf.go

    func (z *Zipf) Uint64() uint64 {
    	if z == nil {
    		panic("rand: nil Zipf")
    	}
    	k := 0.0
    
    	for {
    		r := z.r.Float64() // r on [0,1]
    		ur := z.hxm + r*z.hx0minusHxm
    		x := z.hinv(ur)
    		k = math.Floor(x + 0.5)
    		if k-x <= z.s {
    			break
    		}
    		if ur >= z.h(k+0.5)-math.Exp(-math.Log(k+z.v)*z.q) {
    			break
    		}
    	}
    	return uint64(k)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. src/math/floor_386.s

    	MOVW    -2(SP), AX
    	ANDW    $0xf3ff, AX
    	ORW     $0x0400, AX  // Rounding Control set to -Inf
    	MOVW    AX, -4(SP)   // store new Control Word
    	FLDCW   -4(SP)       // load new Control Word
    	FRNDINT              // F0=Floor(x)
    	FLDCW   -2(SP)       // load old Control Word
    	FMOVDP  F0, ret+8(FP)
    	RET
    
    // func archTrunc(x float64) float64
    TEXT ·archTrunc(SB),NOSPLIT,$0
    	FMOVD   x+0(FP), F0  // F0=x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 15 15:48:19 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/math/BigIntegerMathRoundingBenchmark.java

      private static final BigInteger[] nonzero2 = new BigInteger[ARRAY_SIZE];
      private static final BigInteger[] positive = new BigInteger[ARRAY_SIZE];
    
      @Param({"DOWN", "UP", "FLOOR", "CEILING", "HALF_EVEN", "HALF_UP", "HALF_DOWN"})
      RoundingMode mode;
    
      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
          positive[i] = randomPositiveBigInteger(1024);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 30 13:06:20 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/math/LongMathRoundingBenchmark.java

    import java.math.RoundingMode;
    
    /**
     * Benchmarks for the rounding methods of {@code LongMath}.
     *
     * @author Louis Wasserman
     */
    public class LongMathRoundingBenchmark {
      @Param({"DOWN", "UP", "FLOOR", "CEILING", "HALF_EVEN", "HALF_UP", "HALF_DOWN"})
      RoundingMode mode;
    
      private static final long[] positive = new long[ARRAY_SIZE];
      private static final long[] nonzero = new long[ARRAY_SIZE];
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.6K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/math/IntMathRoundingBenchmark.java

          nonzero[i] = randomNonZeroBigInteger(Integer.SIZE - 2).intValue();
          ints[i] = RANDOM_SOURCE.nextInt();
        }
      }
    
      @Param({"DOWN", "UP", "FLOOR", "CEILING", "HALF_EVEN", "HALF_UP", "HALF_DOWN"})
      RoundingMode mode;
    
      @Benchmark
      int log2(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/MathTesting.java

    import static java.math.BigInteger.ONE;
    import static java.math.BigInteger.ZERO;
    import static java.math.RoundingMode.CEILING;
    import static java.math.RoundingMode.DOWN;
    import static java.math.RoundingMode.FLOOR;
    import static java.math.RoundingMode.HALF_DOWN;
    import static java.math.RoundingMode.HALF_EVEN;
    import static java.math.RoundingMode.HALF_UP;
    import static java.math.RoundingMode.UP;
    import static java.util.Arrays.asList;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 11.2K bytes
    - Viewed (0)
  10. cmd/kube-proxy/app/server_linux.go

    	if config.MaxPerCore != nil && *config.MaxPerCore > 0 {
    		floor := 0
    		if config.Min != nil {
    			floor = int(*config.Min)
    		}
    		scaled := int(*config.MaxPerCore) * detectNumCPU()
    		if scaled > floor {
    			logger.V(3).Info("GetConntrackMax: using scaled conntrack-max-per-core")
    			return scaled, nil
    		}
    		logger.V(3).Info("GetConntrackMax: using conntrack-min")
    		return floor, nil
    	}
    	return 0, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
Back to top