Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 391 for mathml (0.21 sec)

  1. android/guava-tests/test/com/google/common/math/DoubleUtilsTest.java

     */
    
    package com.google.common.math;
    
    import static com.google.common.math.MathTesting.ALL_BIGINTEGER_CANDIDATES;
    import static com.google.common.math.MathTesting.FINITE_DOUBLE_CANDIDATES;
    import static com.google.common.math.MathTesting.POSITIVE_FINITE_DOUBLE_CANDIDATES;
    import static org.junit.Assert.assertThrows;
    
    import java.lang.reflect.Method;
    import java.math.BigInteger;
    import junit.framework.TestCase;
    
    /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  2. cmd/metrics-v3-system-cpu.go

    		m.Set(sysCPULoadPerc, math.Round(perc*100)/100)
    	}
    
    	ts := cpuMetrics.TimesStat
    	tot := ts.User + ts.System + ts.Idle + ts.Iowait + ts.Nice + ts.Steal
    	cpuUserVal := math.Round(ts.User/tot*100*100) / 100
    	m.Set(sysCPUUser, cpuUserVal)
    	cpuSystemVal := math.Round(ts.System/tot*100*100) / 100
    	m.Set(sysCPUSystem, cpuSystemVal)
    	cpuNiceVal := math.Round(ts.Nice/tot*100*100) / 100
    	m.Set(sysCPUNice, cpuNiceVal)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/ToDoubleRounder.java

     * the License.
     */
    
    package com.google.common.math;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.math.MathPreconditions.checkRoundingUnnecessary;
    
    import com.google.common.annotations.GwtIncompatible;
    import java.math.RoundingMode;
    
    /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

    import static com.google.common.math.StatsTesting.LONG_MANY_VALUES_SUM_OF_SQUARES_OF_DELTAS;
    import static com.google.common.math.StatsTesting.MANY_VALUES;
    import static com.google.common.math.StatsTesting.MANY_VALUES_COUNT;
    import static com.google.common.math.StatsTesting.MANY_VALUES_MAX;
    import static com.google.common.math.StatsTesting.MANY_VALUES_MEAN;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 34K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

    import static com.google.common.math.StatsTesting.OTHER_ONE_VALUE_STATS;
    import static com.google.common.math.StatsTesting.OTHER_TWO_VALUES;
    import static com.google.common.math.StatsTesting.OTHER_TWO_VALUES_STATS;
    import static com.google.common.math.StatsTesting.TWO_VALUES;
    import static com.google.common.math.StatsTesting.TWO_VALUES_STATS;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 23.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

    import static com.google.common.math.StatsTesting.OTHER_ONE_VALUE_STATS;
    import static com.google.common.math.StatsTesting.OTHER_TWO_VALUES;
    import static com.google.common.math.StatsTesting.OTHER_TWO_VALUES_STATS;
    import static com.google.common.math.StatsTesting.TWO_VALUES;
    import static com.google.common.math.StatsTesting.TWO_VALUES_STATS;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 23.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/MathTesting.java

     */
    
    package com.google.common.math;
    
    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;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java

        in.put(Number.class, 0);
        in.put(Double.class, Math.PI);
        ClassToInstanceMap<Number> map = ImmutableClassToInstanceMap.copyOf(in);
        assertEquals(2, map.size());
    
        Number zero = map.getInstance(Number.class);
        assertEquals(0, zero);
    
        Double pi = map.getInstance(Double.class);
        assertEquals(Math.PI, pi, 0.0);
    
        assertSame(map, ImmutableClassToInstanceMap.copyOf(map));
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/LongMathTest.java

     * limitations under the License.
     */
    
    package com.google.common.math;
    
    import static com.google.common.math.MathTesting.ALL_LONG_CANDIDATES;
    import static com.google.common.math.MathTesting.ALL_ROUNDING_MODES;
    import static com.google.common.math.MathTesting.ALL_SAFE_ROUNDING_MODES;
    import static com.google.common.math.MathTesting.EXPONENTS;
    import static com.google.common.math.MathTesting.NEGATIVE_INTEGER_CANDIDATES;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/BloomFilter.java

       */
      @VisibleForTesting
      static int optimalNumOfHashFunctions(long n, long m) {
        // (m / n) * log(2), but avoid truncation due to division!
        return Math.max(1, (int) Math.round((double) m / n * Math.log(2)));
      }
    
      /**
       * Computes m (total bits of Bloom filter) which is expected to achieve, for the specified
       * expected insertions, the required false positive probability.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
Back to top