- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for permutations (0.12 sec)
-
guava-tests/test/com/google/common/collect/Collections2Test.java
assertNextPermutation(newArrayList("a", "c", "b"), permutations); assertNextPermutation(newArrayList("b", "a", "c"), permutations); assertNextPermutation(newArrayList("b", "c", "a"), permutations); assertNextPermutation(newArrayList("c", "a", "b"), permutations); assertNextPermutation(newArrayList("c", "b", "a"), permutations); assertNoMorePermutations(permutations); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/Utf8Test.java
} /** Tests that round tripping of all three byte permutations work. */ @GwtIncompatible // java.nio.charset.Charset public void testIsWellFormed_3Bytes() { testBytes(3, EXPECTED_THREE_BYTE_ROUNDTRIPPABLE_COUNT); } /** * Tests that round tripping of a sample of four byte permutations work. All permutations are
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
/** Non-NPE RuntimeException. */ public static class FooException extends RuntimeException { private static final long serialVersionUID = 1L; } /** * Class for testing all permutations of static/non-static one-argument methods using * methodParameter(). */ @SuppressWarnings("unused") // used by reflection public static class OneArg {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 47.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
} } public void testRemoveAt_exhaustive() { int size = reduceExponentIfGwt(8); List<Integer> expected = createOrderedList(size); for (Collection<Integer> perm : Collections2.permutations(expected)) { for (int i = 0; i < perm.size(); i++) { MinMaxPriorityQueue<Integer> q = MinMaxPriorityQueue.create(perm); q.removeAt(i); assertIntactUsingStartedWith(perm, q); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 36K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt
// In practice, wildcards are always in the leftmost position. For now, this implementation // cheats and does not attempt every possible permutation. Instead, it only considers wildcards // in the leftmost position. We assert this fact when we generate the public suffix file. If // this assertion ever fails we'll need to refactor this implementation.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 8.5K bytes - Viewed (0)