- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Shuffle (0.25 sec)
-
guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java
builder.appendCodePoint(cp); } return builder.toString(); } // Use a shuffled index array to ensure constant percentage of matching // characters List<Integer> list = Lists.newArrayList(); for (int i = 0; i < length; i++) { list.add(i); } Collections.shuffle(list, rand); if (forceSlow) { // Move zero index to front to force a matching character (if percent > 0)
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 194.8K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java
builder.appendCodePoint(cp); } return builder.toString(); } // Use a shuffled index array to ensure constant percentage of matching // characters List<Integer> list = Lists.newArrayList(); for (int i = 0; i < length; i++) { list.add(i); } Collections.shuffle(list, rand); if (forceSlow) { // Move zero index to front to force a matching character (if percent > 0)
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 194.8K bytes - Viewed (0)