- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 131 for doFile (0.58 sec)
-
android/guava-tests/benchmark/com/google/common/math/DoubleMathRoundingBenchmark.java
* * @author Louis Wasserman */ @NullUnmarked public class DoubleMathRoundingBenchmark { private static final double[] doubleInIntRange = new double[ARRAY_SIZE]; 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;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.7K bytes - Viewed (0) -
guava/src/com/google/common/math/DoubleUtils.java
import static com.google.common.base.Preconditions.checkArgument; import static java.lang.Double.MAX_EXPONENT; import static java.lang.Double.MIN_EXPONENT; import static java.lang.Double.POSITIVE_INFINITY; import static java.lang.Double.doubleToRawLongBits; import static java.lang.Double.isNaN; import static java.lang.Double.longBitsToDouble; import static java.lang.Math.getExponent; import static java.lang.Math.max;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 5.1K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java
@Param QuantilesAlgorithm algorithm; private final double[][] datasets = new double[0x100][]; @BeforeExperiment void setUp() { Random rng = new Random(); for (int i = 0; i < 0x100; i++) { datasets[i] = new double[datasetSize]; for (int j = 0; j < datasetSize; j++) { datasets[i][j] = rng.nextDouble(); } } } private double[] dataset(int i) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 3.2K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/StatsBenchmark.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 4.7K bytes - Viewed (0) -
android/guava/src/com/google/common/math/BigDecimalMath.java
* infinite {@code double} values are considered infinitely far away. For example, 2^2000 is not * representable as a double, but {@code roundToDouble(BigDecimal.valueOf(2).pow(2000), HALF_UP)} * will return {@code Double.MAX_VALUE}, not {@code Double.POSITIVE_INFINITY}. * * <p>For the case of {@link RoundingMode#HALF_EVEN}, this implementation uses the IEEE 754
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/DoubleConversionUtil.java
} private static Double toDouble(final String s) { if (StringUtil.isEmpty(s)) { return null; } return Double.valueOf(DecimalFormatUtil.normalize(s)); } /** * Converts to {@literal double}. * * @param o * The object to convert * @return The converted {@literal double} */ public static double toPrimitiveDouble(final Object o) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.6K bytes - Viewed (0) -
android/guava/src/com/google/common/math/DoubleUtils.java
import static com.google.common.base.Preconditions.checkArgument; import static java.lang.Double.MAX_EXPONENT; import static java.lang.Double.MIN_EXPONENT; import static java.lang.Double.POSITIVE_INFINITY; import static java.lang.Double.doubleToRawLongBits; import static java.lang.Double.isNaN; import static java.lang.Double.longBitsToDouble; import static java.lang.Math.getExponent; import static java.lang.Math.max;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 5.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/LinearTransformationTest.java
} public void testMappingAnd_horizontal() { double x1 = 1.2; double xDelta = 3.4; double y = 5.6; LinearTransformation transformation = LinearTransformation.mapping(x1, y).and(x1 + xDelta, y); assertHorizontalLinearTransformation(transformation, y); } public void testMappingAnd_vertical() { double x = 1.2; double y1 = 3.4; double yDelta = 5.6;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 7.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LinearTransformationTest.java
} public void testMappingAnd_horizontal() { double x1 = 1.2; double xDelta = 3.4; double y = 5.6; LinearTransformation transformation = LinearTransformation.mapping(x1, y).and(x1 + xDelta, y); assertHorizontalLinearTransformation(transformation, y); } public void testMappingAnd_vertical() { double x = 1.2; double y1 = 3.4; double yDelta = 5.6;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 7.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/GeoInfo.java
} try { final double lat = Double.parseDouble(values[0]); final double lon = Double.parseDouble(values[1]); list.add(QueryBuilders.geoDistanceQuery(geoField).distance(distance).point(lat, lon));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.7K bytes - Viewed (0)