Searched defs:permutations (Results 1 - 16 of 16) sorted by relevance

/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
H A DCollections2Test.java84 Iterator<List<Integer>> permutations = permutationSet.iterator();
86 assertNextPermutation(Lists.<Integer>newArrayList(), permutations);
87 assertNoMorePermutations(permutations);
92 Iterator<List<Integer>> permutations =
95 assertNextPermutation(newArrayList(1), permutations);
96 assertNoMorePermutations(permutations);
101 Iterator<List<String>> permutations =
104 assertNextPermutation(newArrayList("a", "b", "c"), permutations);
105 assertNextPermutation(newArrayList("a", "c", "b"), permutations);
106 assertNextPermutation(newArrayList("b", "a", "c"), permutations);
308 assertNextPermutation(List<T> expectedPermutation, Iterator<List<T>> permutations) argument
315 assertNoMorePermutations( Iterator<List<T>> permutations) argument
[all...]
/external/guava/guava-tests/test/com/google/common/collect/
H A DCollections2Test.java242 Iterator<List<Integer>> permutations = permutationSet.iterator();
244 assertNextPermutation(Lists.<Integer>newArrayList(), permutations);
245 assertNoMorePermutations(permutations);
250 Iterator<List<Integer>> permutations =
253 assertNextPermutation(newArrayList(1), permutations);
254 assertNoMorePermutations(permutations);
259 Iterator<List<String>> permutations =
262 assertNextPermutation(newArrayList("a", "b", "c"), permutations);
263 assertNextPermutation(newArrayList("a", "c", "b"), permutations);
264 assertNextPermutation(newArrayList("b", "a", "c"), permutations);
466 assertNextPermutation(List<T> expectedPermutation, Iterator<List<T>> permutations) argument
473 assertNoMorePermutations( Iterator<List<T>> permutations) argument
[all...]
/external/icu/icu4c/source/test/intltest/
H A Dcanittst.cpp133 Hashtable *permutations = new Hashtable(FALSE, status); local
134 permutations->setValueDeleter(uprv_deleteUObject);
137 CanonicalIterator::permute(toPermute, FALSE, permutations, status);
141 expectEqual("Simple permutation ", "", collectionToString(permutations), "ABC, ACB, BAC, BCA, CAB, CBA");
143 delete permutations;
/external/pdfium/third_party/libopenjpeg20/
H A Dinvert.c38 OPJ_UINT32 * permutations,
108 OPJ_UINT32 * permutations,
112 OPJ_UINT32 * tmpPermutations = permutations;
125 /*initialize permutations */
130 tmpPermutations = permutations;
107 opj_lupDecompose(OPJ_FLOAT32 * matrix, OPJ_UINT32 * permutations, OPJ_FLOAT32 * p_swap_area, OPJ_UINT32 nb_compo) argument
/external/guava/guava/src/com/google/common/collect/
H A DCollections2.java326 * Returns a {@link Collection} of all the permutations of the specified
347 * permutations of the original iterable.
358 * Returns a {@link Collection} of all the permutations of the specified
391 * <p>Elements that compare equal are considered equal and no new permutations
399 * permutations of the original iterable.
423 * The number of permutations with repeated elements is calculated as
428 * permutations is increased by a factor of (n choose r).</li>
433 long permutations = 1;
441 permutations *= binomial(n, r);
443 if (!isPositiveInt(permutations)) {
557 @Beta public static <E> Collection<List<E>> permutations( method in class:Collections2
[all...]
/external/python/cpython3/Lib/test/
H A Dtest_buffer.py17 from itertools import permutations, product namespace
752 permutations = rpermutation variable
1258 for perm in permutations(range(5)):
1326 for shape in permutations(shape_t):
1538 for shape in permutations(shape_t):
1698 for shape in permutations(shape_t):
1730 for shape in permutations(shape_t):
1819 for shape in permutations(shape_t):
H A Dtest_csv.py13 from itertools import permutations namespace
1120 for keys in permutations("abcde"):
1129 # Final sanity check: were all permutations unique?
1130 self.assertEqual(len(resultset), 120, "Key ordering: some key permutations not collected (expected 120)")
H A Dtest_functools.py5 from itertools import permutations namespace
1642 for haystack in permutations(bases):
1648 for haystack in permutations(bases):
1659 for haystack in permutations(bases):
1671 for haystack in permutations(bases):
1685 for haystack in permutations(bases):
1802 for abcs in permutations([c.Sized, c.Callable, c.Container]):
/external/icu/tools/srcgen/currysrc/libs/
H A Dorg.eclipse.osgi_3.10.100.v20150529-1857.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_.RSA META ...
/external/dagger2/lib/
H A Dauto-value-1.4.1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/auto/ com/google/auto/value/ ...
H A Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/googlejavaformat/ com/google/googlejavaformat/CloseOp ...
/external/annotation-tools/annotation-file-utilities/lib/
H A Dguava-20.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META-INF/maven/com. ...
/external/guice/lib/
H A Dguava-16.0.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META-INF/maven/com. ...
/external/annotation-tools/annotation-file-utilities/
H A Dannotation-file-utilities.jarMETA-INF/ META-INF/MANIFEST.MF annotations/ annotations/el/ annotations/field/ annotations/io/ annotations/io/classfile/ ...
/external/conscrypt/benchmark-android/
H A Dvogar.jarMETA-INF/ META-INF/MANIFEST.MF vogar/ vogar/TestProperties.class TestProperties.java package vogar ...
/external/v8/src/inspector/build/closure-compiler/
H A Dclosure-compiler.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/google/debugging/ com/google/debugging/sourcemap/ ...

Completed in 378 milliseconds