- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 536 for doFile (0.03 sec)
-
guava-tests/test/com/google/common/math/QuantilesTest.java
* each other or identical non-finite values. */ private static final Correspondence<Double, Double> QUANTILE_CORRESPONDENCE = Correspondence.from( new BinaryPredicate<Double, Double>() { @Override public boolean apply(@Nullable Double actual, @Nullable Double expected) { // Test for equality to allow non-finite values to match; otherwise, use the finite
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 29.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/QuantilesTest.java
* each other or identical non-finite values. */ private static final Correspondence<Double, Double> QUANTILE_CORRESPONDENCE = Correspondence.from( new BinaryPredicate<Double, Double>() { @Override public boolean apply(@Nullable Double actual, @Nullable Double expected) { // Test for equality to allow non-finite values to match; otherwise, use the finite
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 29.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java
.setExpectation(Double.POSITIVE_INFINITY, UP, CEILING) .roundUnnecessaryShouldThrow() .test(); } public void testRoundToDouble_wayTooBig() { BigDecimal bi = BigDecimal.valueOf(2).pow(2 * Double.MAX_EXPONENT); new RoundToDoubleTester(bi) .setExpectation(Double.MAX_VALUE, DOWN, FLOOR, HALF_EVEN, HALF_UP, HALF_DOWN)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Nov 19 01:35:24 UTC 2025 - 11K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractVersionsUpdateTask.kt
compatibilityDocFile: RegularFileProperty, linePrefix: String, firstVersion: String, latestVersion: String, ) { val docFile = compatibilityDocFile.get().asFile var lineFound = false docFile.writeText( docFile.readLines().joinToString(separator = "\n", postfix = "\n") { line -> if (line.startsWith(linePrefix)) { lineFound = trueRegistered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Oct 24 09:10:28 UTC 2025 - 3.4K bytes - Viewed (0) -
guava/src/com/google/common/math/PairedStats.java
.toString(); } } double sumOfProductsOfDeltas() { return sumOfProductsOfDeltas; } private static double ensurePositive(double value) { if (value > 0.0) { return value; } else { return Double.MIN_VALUE; } } private static double ensureInUnitRange(double value) { if (value >= 1.0) { return 1.0; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 12.6K bytes - Viewed (0) -
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); assertThat(pi).isEqualTo(Math.PI);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java
final double maxBurstSeconds; SmoothBursty(SleepingStopwatch stopwatch, double maxBurstSeconds) { super(stopwatch); this.maxBurstSeconds = maxBurstSeconds; } @Override void doSetRate(double permitsPerSecond, double stableIntervalMicros) { double oldMaxPermits = this.maxPermits;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 19.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Encdec.java
/** * Decodes a double value from little-endian byte order. * * @param src the source byte array * @param si the starting index in the source array * @return the decoded double value */ public static double dec_doublele(final byte[] src, final int si) { return Double.longBitsToDouble(dec_uint64le(src, si)); } /** * Decodes a double value from big-endian byte order.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.5K bytes - Viewed (0) -
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 754Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/util/SmbCircuitBreaker.java
*/ private double calculateSuccessRate() { long total = totalRequests.get(); if (total == 0) { return 100.0; } return (totalSuccesses.get() * 100.0) / total; } /** * Calculate availability * * @return availability as percentage (0-100) */ private double calculateAvailability() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 33.4K bytes - Viewed (0)