Searched refs:permutations (Results 1 - 21 of 21) 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...]
H A DMinMaxPriorityQueueTest.java566 for (Collection<Integer> perm : Collections2.permutations(expected)) {
694 for (Collection<Integer> perm : Collections2.permutations(expected)) {
/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,
106 static OPJ_BOOL opj_lupDecompose(OPJ_FLOAT32 * matrix,OPJ_UINT32 * permutations, argument
110 OPJ_UINT32 * tmpPermutations = permutations;
123 /*initialize permutations */
129 tmpPermutations = permutations;
/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/icu/icu4c/source/common/
H A Dcaniter.cpp264 * @param source the string to find permutations for
312 // see what the permutations of the characters before and after this one are
346 Hashtable permutations(status);
352 permutations.setValueDeleter(uprv_deleteUObject);
359 // now get all the permutations
372 permutations.removeAll();
373 permute(item, CANITER_SKIP_ZEROES, &permutations, status);
376 //Iterator it2 = permutations.iterator();
377 ne2 = permutations.nextElement(el2);
395 ne2 = permutations
[all...]
/external/deqp/modules/gles2/scripts/
H A Dgen-qualification_order.py203 for p in itertools.permutations(f):
210 for p in itertools.permutations(f):
/external/deqp/modules/gles3/scripts/
H A Dgen-qualification_order.py224 for p in itertools.permutations(f):
234 for p in itertools.permutations(f):
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DCanonicalIterator.java156 * @param source the string to find permutations for
189 // see what the permutations of the characters before and after this one are
249 Set<String> permutations = new HashSet<String>();
251 // now get all the permutations
257 permutations.clear();
258 permute(item, SKIP_ZEROS, permutations);
259 Iterator<String> it2 = permutations.iterator();
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DCanonicalIterator.java160 * @param source the string to find permutations for
193 // see what the permutations of the characters before and after this one are
253 Set<String> permutations = new HashSet<String>();
255 // now get all the permutations
261 permutations.clear();
262 permute(item, SKIP_ZEROS, permutations);
263 Iterator<String> it2 = permutations.iterator();
/external/skia/experimental/SkPerlinNoiseShader2/
H A DSkPerlinNoiseShader2.cpp216 // Perform the permutations now
227 // Do permutations on noise data
520 uint8_t* permutations = improved_noise_permutations;
521 int A = permutations[X] + Y;
522 int AA = permutations[A] + Z;
523 int AB = permutations[A + 1] + Z;
524 int B = permutations[X + 1] + Y;
525 int BA = permutations[B] + Z;
526 int BB = permutations[B + 1] + Z;
527 result += lerp(w, lerp(v, lerp(u, grad(permutations[A
[all...]
/external/Microsoft-GSL/
H A DCONTRIBUTING.md26 * Tests should include reasonable permutations of the target fix/change
/external/deqp/modules/gles31/scripts/
H A Dgen-implicit-conversions.py803 for pair in itertools.permutations(types, 2):
/external/libvpx/libvpx/third_party/x86inc/
H A Dx86inc.asm1071 ; I would like to not have to manually keep track of the permutations:
1074 ; implementations, e.g. the SSE2 and SSSE3 versions may have different permutations.
/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.0.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/guice/lib/
H A Dguava-16.0.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META-INF/maven/com. ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/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 483 milliseconds