- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 473 for Doubles (0.43 seconds)
-
android/guava/src/com/google/common/primitives/UnsignedLong.java
} /** * Returns the value of this {@code UnsignedLong} as a {@code double}, analogous to a widening * primitive conversion from {@code long} to {@code double}, and correctly rounded. */ @Override public double doubleValue() { if (value >= 0) { return (double) value; } // The top bit is set, which means that the double value is going to come from the top 53 bits.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 8.8K bytes - Click Count (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() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 33.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/convert/NumberConversionUtil.java
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 5.6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/RateLimiter.java
public static RateLimiter create(double permitsPerSecond, long warmupPeriod, TimeUnit unit) { checkArgument(warmupPeriod >= 0, "warmupPeriod must not be negative: %s", warmupPeriod); return create( permitsPerSecond, warmupPeriod, unit, 3.0, SleepingStopwatch.createFromSystemTimer()); } @VisibleForTesting static RateLimiter create( double permitsPerSecond, long warmupPeriod,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:05:27 GMT 2025 - 21.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java
return newDoubler(1, 2); } }.test(); } public void testDoubler() { Iterable<Integer> doubled = new Iterable<Integer>() { @Override public Iterator<Integer> iterator() { return newDoubler(2, 32); } }; assertThat(doubled).containsExactly(2, 4, 8, 16, 32).inOrder(); } public void testSampleCode() { Iterable<Integer> actual =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 4.7K bytes - Click Count (0) -
android/guava/src/com/google/common/math/MathPreconditions.java
if (x.signum() < 0) { throw new IllegalArgumentException(role + " (" + x + ") must be >= 0"); } return x; } @CanIgnoreReturnValue static double checkNonNegative(String role, double x) { if (!(x >= 0)) { // not x < 0, to work with NaN. throw new IllegalArgumentException(role + " (" + x + ") must be >= 0"); } return x; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3.2K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java
* than lower ones. */ return (int) Math.pow(a, 1.0 / concentration); } @AfterExperiment void tearDown() { double req = requests.get(); double hit = req - misses.get(); // Currently, this is going into /dev/null, but I'll fix that System.out.println("hit rate: " + hit / req); } // for proper distributions later:Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/OptionalUtilTest.java
// Test with special numeric values OptionalEntity<Double> nanOpt = OptionalUtil.ofNullable(Double.NaN); assertTrue(nanOpt.isPresent()); assertTrue(Double.isNaN(nanOpt.get())); OptionalEntity<Double> infinityOpt = OptionalUtil.ofNullable(Double.POSITIVE_INFINITY); assertTrue(infinityOpt.isPresent()); assertTrue(Double.isInfinite(infinityOpt.get()));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.3K bytes - Click Count (0) -
okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt
035D..035F ; valid # 4.0 COMBINING DOUBLE BREVE..COMBINING DOUBLE MACRON BELOW 0360..0361 ; valid # 1.1 COMBINING DOUBLE TILDE..COMBINING DOUBLE INVERTED BREVE 0362 ; valid # 3.0 COMBINING DOUBLE RIGHTWARDS ARROW BELOW
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Feb 10 11:25:47 GMT 2024 - 854.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java
PairedStatsAccumulator accumulatorByAddAllPartitionedPairedStats = createPartitionedFilledPairedStatsAccumulator(values.asIterable(), OTHER_MANY_VALUES, 2); double populationCovariance = accumulator.populationCovariance(); double populationCovarianceByAddAllPartitionedPairedStats = accumulatorByAddAllPartitionedPairedStats.populationCovariance(); if (values.hasAnyNonFinite()) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 23.5K bytes - Click Count (0)