- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for nextDouble (0.06 sec)
-
android/guava/src/com/google/common/hash/Hashing.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 19 16:02:36 UTC 2024 - 29.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/BloomFilterTest.java
} } // some random values Random random = new Random(0); for (int repeats = 0; repeats < 10000; repeats++) { assertTrue(BloomFilter.optimalNumOfBits(random.nextInt(1 << 16), random.nextDouble()) >= 0); } // and some crazy values (this used to be capped to Integer.MAX_VALUE, now it can go bigger assertEquals(3327428144502L, BloomFilter.optimalNumOfBits(Integer.MAX_VALUE, Double.MIN_VALUE));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 21.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
sink.putFloat(value); } } }, PUT_DOUBLE() { @Override void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) { double value = random.nextDouble(); for (PrimitiveSink sink : sinks) { sink.putDouble(value); } } }, PUT_BYTES() { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 25.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Streams.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 37.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/Streams.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 36.8K bytes - Viewed (0)