Home
last modified time | relevance | path

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/
DCollections2Test.java84 Iterator<List<Integer>> permutations = permutationSet.iterator(); in testOrderedPermutationSetEmpty() local
86 assertNextPermutation(Lists.<Integer>newArrayList(), permutations); in testOrderedPermutationSetEmpty() local
87 assertNoMorePermutations(permutations); in testOrderedPermutationSetEmpty()
92 Iterator<List<Integer>> permutations = in testOrderedPermutationSetOneElement() local
95 assertNextPermutation(newArrayList(1), permutations); in testOrderedPermutationSetOneElement()
96 assertNoMorePermutations(permutations); in testOrderedPermutationSetOneElement()
101 Iterator<List<String>> permutations = in testOrderedPermutationSetThreeElements() local
104 assertNextPermutation(newArrayList("a", "b", "c"), permutations); in testOrderedPermutationSetThreeElements()
105 assertNextPermutation(newArrayList("a", "c", "b"), permutations); in testOrderedPermutationSetThreeElements()
106 assertNextPermutation(newArrayList("b", "a", "c"), permutations); in testOrderedPermutationSetThreeElements()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
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);
[all …]
DMinMaxPriorityQueueTest.java566 for (Collection<Integer> perm : Collections2.permutations(expected)) { in testRemoveAt_exhaustive()
694 for (Collection<Integer> perm : Collections2.permutations(expected)) { in testExhaustive_pollAndPush()
/external/icu/icu4c/source/test/intltest/
Dcanittst.cpp132 Hashtable *permutations = new Hashtable(FALSE, status); in TestBasic() local
133 permutations->setValueDeleter(uprv_deleteUObject); in TestBasic()
136 CanonicalIterator::permute(toPermute, FALSE, permutations, status); in TestBasic()
140 …expectEqual("Simple permutation ", "", collectionToString(permutations), "ABC, ACB, BAC, BCA, CAB,… in TestBasic()
142 delete permutations; in TestBasic()
/external/guava/guava/src/com/google/common/collect/
DCollections2.java433 long permutations = 1; in calculateSize() local
441 permutations *= binomial(n, r); in calculateSize()
443 if (!isPositiveInt(permutations)) { in calculateSize()
450 permutations *= binomial(n, r); in calculateSize()
451 if (!isPositiveInt(permutations)) { in calculateSize()
454 return (int) permutations; in calculateSize()
557 @Beta public static <E> Collection<List<E>> permutations( in permutations() method in Collections2
/external/icu/icu4c/source/common/
Dcaniter.cpp344 Hashtable permutations(status); in getEquivalents() local
350 permutations.setValueDeleter(uprv_deleteUObject); in getEquivalents()
370 permutations.removeAll(); in getEquivalents()
371 permute(item, CANITER_SKIP_ZEROES, &permutations, status); in getEquivalents()
375 ne2 = permutations.nextElement(el2); in getEquivalents()
393 ne2 = permutations.nextElement(el2); in getEquivalents()
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
Dinvert.c38 OPJ_UINT32 * permutations,
106 OPJ_BOOL opj_lupDecompose(OPJ_FLOAT32 * matrix,OPJ_UINT32 * permutations, in opj_lupDecompose() argument
110 OPJ_UINT32 * tmpPermutations = permutations; in opj_lupDecompose()
129 tmpPermutations = permutations; in opj_lupDecompose()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCanonicalIterator.java251 Set<String> permutations = new HashSet<String>(); in getEquivalents() local
259 permutations.clear(); in getEquivalents()
260 permute(item, SKIP_ZEROS, permutations); in getEquivalents()
261 Iterator<String> it2 = permutations.iterator(); in getEquivalents()
/external/deqp/modules/gles2/scripts/
Dgen-qualification_order.py181 for p in itertools.permutations(f):
188 for p in itertools.permutations(f):
/external/deqp/modules/gles3/scripts/
Dgen-qualification_order.py202 for p in itertools.permutations(f):
212 for p in itertools.permutations(f):
/external/llvm/test/CodeGen/X86/
Dconstant-combines.ll9 ; The DAG combiner at one point contained bugs that given enough permutations
/external/google-breakpad/src/testing/scripts/generator/
DREADME34 Not all permutations of using multiple pointers/references will be rendered
/external/libvpx/libvpx/third_party/libyuv/source/
Dx86inc.asm706 ; I would like to not have to manually keep track of the permutations:
709 ; implementations, e.g. the SSE2 and SSSE3 versions may have different permutations.
/external/eigen/doc/
DTutorialSparse.dox301 - \b permutations. Finally, permutations can be applied to sparse matrices too:
330 - application of symmetric permutations:
/external/deqp/modules/gles31/scripts/
Dgen-implicit-conversions.py781 for pair in itertools.permutations(types, 2):
/external/llvm/test/Transforms/InstCombine/
Dbit-checks.ll270 ; test parameter permutations
/external/libvpx/libvpx/vp8/common/ppc/
Dloopfilter_filters_altivec.asm32 ;# when we think of them as permutations of address bits: Concatenate a
/external/llvm/lib/Target/Sparc/
DSparcInstrInfo.td343 // permutations of selection between i32/f32/f64 on ICC and FCC.
/external/llvm/test/Transforms/SROA/
Dbasictest.ll1188 ; trigger a mixture in several permutations as we resolve each alloca
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/libxml2/
DChangeLog13288 permutations in the output