- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 334 for rels (0.02 seconds)
-
guava-tests/benchmark/com/google/common/collect/ComparatorDelegationOverheadBenchmark.java
} } @Benchmark int arraysSortNoComparator(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) { Integer[] copy = inputArrays[i & 0xFF].clone(); sort(copy); tmp += copy[0]; } return tmp; } @Benchmark int arraysSortOrderingNatural(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) { Integer[] copy = inputArrays[i & 0xFF].clone();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.6K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/collect/HashMultisetAddPresentBenchmark.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.7K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java
@SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8 void setUp() { originalString = Strings.repeat("x", length); } @Benchmark void oldRepeat(long reps) { for (int i = 0; i < reps; i++) { String x = oldRepeat(originalString, count); if (x.length() != (originalString.length() * count)) { throw new RuntimeException("Wrong length: " + x); } } }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3.4K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java
} @Benchmark int slowFactorial(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) { int j = i & ARRAY_MASK; tmp += oldSlowFactorial(slowFactorials[j]).intValue(); } return tmp; } @Benchmark int factorial(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) { int j = i & ARRAY_MASK;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.5K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java
return striped; } @Benchmark long timeConstruct(long reps) { long rvalue = 0; int numStripesLocal = numStripes; Impl implLocal = impl; for (long i = 0; i < reps; i++) { rvalue += implLocal.get(numStripesLocal).hashCode(); } return rvalue; } @Benchmark long timeGetAt(long reps) { long rvalue = 0; int[] stripesLocal = stripes;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java
return striped; } @Benchmark long timeConstruct(long reps) { long rvalue = 0; int numStripesLocal = numStripes; Impl implLocal = impl; for (long i = 0; i < reps; i++) { rvalue += implLocal.get(numStripesLocal).hashCode(); } return rvalue; } @Benchmark long timeGetAt(long reps) { long rvalue = 0; int[] stripesLocal = stripes;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/collect/SetIterationBenchmark.java
new CollectionBenchmarkSampleData(true, random, 0.8, size); setToTest = (Set<Element>) impl.create(sampleData.getValuesInSet()); } @Benchmark int iteration(int reps) { int x = 0; for (int i = 0; i < reps; i++) { for (Element y : setToTest) { x ^= System.identityHashCode(y); } } return x; }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java
@Benchmark long stopwatch(int reps) { long total = 0; for (int i = 0; i < reps; i++) { Stopwatch s = Stopwatch.createStarted(); // here is where you would do something total += s.elapsed(NANOSECONDS); } return total; } @Benchmark long manual(int reps) { long total = 0; for (int i = 0; i < reps; i++) { long start = System.nanoTime();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 1.5K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java
@Benchmark long stopwatch(int reps) { long total = 0; for (int i = 0; i < reps; i++) { Stopwatch s = Stopwatch.createStarted(); // here is where you would do something total += s.elapsed(NANOSECONDS); } return total; } @Benchmark long manual(int reps) { long total = 0; for (int i = 0; i < reps; i++) { long start = System.nanoTime();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 1.5K bytes - Click Count (0) -
.github/workflows/contributor-pr.yml
- master pull_request: branches: - master concurrency: # On master/release, we don't want any jobs cancelled so the sha is used to name the group group: ${{ (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/release' ) && format('contributor-pr-base-{0}', github.sha) || format('contributor-pr-{0}', github.ref) }} cancel-in-progress: false env:Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Sun Dec 14 14:03:48 GMT 2025 - 5K bytes - Click Count (0)