- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 373 for doubles (3.33 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
Random random = new Random(); int warmupPermits = 10; double[] coldFactorsToTest = {2.0, 3.0, 10.0}; double[] qpsToTest = {4.0, 2.0, 1.0, 0.5, 0.1}; for (int trial = 0; trial < 100; trial++) { for (double coldFactor : coldFactorsToTest) { for (double qps : qpsToTest) { // If warmupPermits = maxPermits - thresholdPermits then
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 21.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
Random random = new Random(); int warmupPermits = 10; double[] coldFactorsToTest = {2.0, 3.0, 10.0}; double[] qpsToTest = {4.0, 2.0, 1.0, 0.5, 0.1}; for (int trial = 0; trial < 100; trial++) { for (double coldFactor : coldFactorsToTest) { for (double qps : qpsToTest) { // If warmupPermits = maxPermits - thresholdPermits then
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 21.8K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/math/DoubleMathRoundingBenchmark.java
* * @author Louis Wasserman */ 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.6K bytes - Viewed (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:
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.4K bytes - Viewed (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,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:51:36 UTC 2024 - 21.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/SplitterTest.java
public void testCharacterSplitWithDoubleDelimiter() { String doubled = "a,,b,c"; Iterable<String> letters = COMMA_SPLITTER.split(doubled); assertThat(letters).containsExactly("a", "", "b", "c").inOrder(); } public void testCharacterSplitWithDoubleDelimiterAndSpace() { String doubled = "a,, b,c"; Iterable<String> letters = COMMA_SPLITTER.split(doubled); assertThat(letters).containsExactly("a", "", " b", "c").inOrder();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 29.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsWebConfigCA.java
public void setAvailable_PercentileRanks(double[] values) { setAvailable_PercentileRanks(values, null); } public void setAvailable_PercentileRanks(double[] values, ConditionOptionCall<PercentileRanksAggregationBuilder> opLambda) { setAvailable_PercentileRanks("available", values, opLambda); } public void setAvailable_PercentileRanks(String name, double[] values,
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 149K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/PairedStatsTest.java
assertThat(ONE_VALUE_PAIRED_STATS.populationCovariance()).isEqualTo(0.0); assertThat(createSingleStats(Double.POSITIVE_INFINITY, 1.23).populationCovariance()).isNaN(); assertThat(createSingleStats(Double.NEGATIVE_INFINITY, 1.23).populationCovariance()).isNaN(); assertThat(createSingleStats(Double.NaN, 1.23).populationCovariance()).isNaN(); assertThat(TWO_VALUES_PAIRED_STATS.populationCovariance())
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 03 21:17:33 UTC 2024 - 14K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/BloomFilterTest.java
double expectedReportedFpp = (double) knownNumberOfFalsePositives / numInsertions; double actualReportedFpp = bf.expectedFpp(); assertThat(actualReportedFpp).isWithin(0.00033).of(expectedReportedFpp); } /** Sanity checking with many combinations of false positive rates and expected insertions */ public void testBasic() { for (double fpr = 0.0000001; fpr < 0.1; fpr *= 10) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 21.2K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Jul 04 08:05:22 UTC 2024 - 11.2K bytes - Viewed (0)