- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 18 for nextLong (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
} public void testIteratorTesterLarger() throws Exception { runIterator(Lists.newArrayList(1, 2, 3, 4, 5, 6, 7, 8, 9, 10), 5); } public void testRemoveAt() { long seed = new Random().nextLong(); Random random = new Random(seed); int heapSize = 999; int numberOfModifications = reduceIterationsIfGwt(500); MinMaxPriorityQueue<Integer> mmHeap =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 36.2K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/info/GlobalBuildInfoPlugin.java
String testSeedProperty = System.getProperty("tests.seed"); final String testSeed; if (testSeedProperty == null) { long seed = new Random(System.currentTimeMillis()).nextLong(); testSeed = Long.toUnsignedString(seed, 16).toUpperCase(Locale.ROOT); } else { testSeed = testSeedProperty; } return testSeed; }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Aug 17 10:02:58 GMT 2021 - 18.1K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java
tmp += UnsignedLongs.toString(x, 16).length(); tmp += UnsignedLongs.toString(x, 2).length(); } return tmp; } private static long random() { return randomSource.nextLong(); } // A random value that cannot be 0 and that is unsigned-less-than or equal // to the given dividend, so that we don't have half of our divisions being
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 4.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/HashingTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 26.7K bytes - Click Count (2) -
guava-tests/benchmark/com/google/common/math/LongMathRoundingBenchmark.java
for (int i = 0; i < ARRAY_SIZE; i++) { positive[i] = randomPositiveBigInteger(Long.SIZE - 2).longValue(); nonzero[i] = randomNonZeroBigInteger(Long.SIZE - 2).longValue(); longs[i] = RANDOM_SOURCE.nextLong(); } } @Benchmark int log2(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) { int j = i & ARRAY_MASK; tmp += LongMath.log2(positive[j], mode); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.6K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/math/LessThanBenchmark.java
for (int i = 0; i < SAMPLE_SIZE; i++) { xInts[i] = random.nextInt(Integer.MAX_VALUE); yInts[i] = random.nextInt(Integer.MAX_VALUE); xLongs[i] = random.nextLong() & NONNEGATIVE_LONG_MASK; yLongs[i] = random.nextLong() & NONNEGATIVE_LONG_MASK; constant[i] = random.nextInt(); } } @Benchmark int branchFreeLtIntInlined(int reps) { int tmp = 0;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.1K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java
tmp += UnsignedLongs.toString(x, 16).length(); tmp += UnsignedLongs.toString(x, 2).length(); } return tmp; } private static long random() { return randomSource.nextLong(); } // A random value that cannot be 0 and that is unsigned-less-than or equal // to the given dividend, so that we don't have half of our divisions being
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 4.4K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/math/LessThanBenchmark.java
for (int i = 0; i < SAMPLE_SIZE; i++) { xInts[i] = random.nextInt(Integer.MAX_VALUE); yInts[i] = random.nextInt(Integer.MAX_VALUE); xLongs[i] = random.nextLong() & NONNEGATIVE_LONG_MASK; yLongs[i] = random.nextLong() & NONNEGATIVE_LONG_MASK; constant[i] = random.nextInt(); } } @Benchmark int branchFreeLtIntInlined(int reps) { int tmp = 0;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java
public void testDivideRemainderEuclideanProperty() { // Use a seed so that the test is deterministic: Random r = new Random(0L); for (int i = 0; i < 1000000; i++) { long dividend = r.nextLong(); long divisor = r.nextLong(); // Test that the Euclidean property is preserved: assertThat( dividend - (divisor * UnsignedLongs.divide(dividend, divisor)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/exbhv/ScheduledJobBhv.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 2.2K bytes - Click Count (0)