Home
last modified time | relevance | path

Searched refs:permutations (Results 1 – 25 of 38) sorted by relevance

12

/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.cpp133 Hashtable *permutations = new Hashtable(FALSE, status); in TestBasic() local
134 permutations->setValueDeleter(uprv_deleteUObject); in TestBasic()
137 CanonicalIterator::permute(toPermute, FALSE, permutations, status); in TestBasic()
141 …expectEqual("Simple permutation ", "", collectionToString(permutations), "ABC, ACB, BAC, BCA, CAB,… in TestBasic()
143 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.cpp346 Hashtable permutations(status); in getEquivalents() local
352 permutations.setValueDeleter(uprv_deleteUObject); in getEquivalents()
372 permutations.removeAll(); in getEquivalents()
373 permute(item, CANITER_SKIP_ZEROES, &permutations, status); in getEquivalents()
377 ne2 = permutations.nextElement(el2); in getEquivalents()
395 ne2 = permutations.nextElement(el2); in getEquivalents()
/external/pdfium/third_party/libopenjpeg20/
Dinvert.c38 OPJ_UINT32 * permutations,
106 static 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.java253 Set<String> permutations = new HashSet<String>(); in getEquivalents() local
261 permutations.clear(); in getEquivalents()
262 permute(item, SKIP_ZEROS, permutations); in getEquivalents()
263 Iterator<String> it2 = permutations.iterator(); in getEquivalents()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCanonicalIterator.java249 Set<String> permutations = new HashSet<String>(); in getEquivalents() local
257 permutations.clear(); in getEquivalents()
258 permute(item, SKIP_ZEROS, permutations); in getEquivalents()
259 Iterator<String> it2 = permutations.iterator(); in getEquivalents()
/external/skia/experimental/SkPerlinNoiseShader2/
DSkPerlinNoiseShader2.cpp520 uint8_t* permutations = improved_noise_permutations; in calculateImprovedNoiseValueForPoint() local
521 int A = permutations[X] + Y; in calculateImprovedNoiseValueForPoint()
522 int AA = permutations[A] + Z; in calculateImprovedNoiseValueForPoint()
523 int AB = permutations[A + 1] + Z; in calculateImprovedNoiseValueForPoint()
524 int B = permutations[X + 1] + Y; in calculateImprovedNoiseValueForPoint()
525 int BA = permutations[B] + Z; in calculateImprovedNoiseValueForPoint()
526 int BB = permutations[B + 1] + Z; in calculateImprovedNoiseValueForPoint()
527 result += lerp(w, lerp(v, lerp(u, grad(permutations[AA ], px , py , pz ), in calculateImprovedNoiseValueForPoint()
528 grad(permutations[BA ], px - 1, py , pz )), in calculateImprovedNoiseValueForPoint()
529 lerp(u, grad(permutations[AB ], px , py - 1, pz ), in calculateImprovedNoiseValueForPoint()
[all …]
/external/deqp/modules/gles2/scripts/
Dgen-qualification_order.py203 for p in itertools.permutations(f):
210 for p in itertools.permutations(f):
/external/deqp/modules/gles3/scripts/
Dgen-qualification_order.py224 for p in itertools.permutations(f):
234 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/v8/testing/gmock/scripts/generator/
DREADME34 Not all permutations of using multiple pointers/references will be rendered
/external/googletest/googlemock/scripts/generator/
DREADME34 Not all permutations of using multiple pointers/references will be rendered
/external/google-breakpad/src/testing/scripts/generator/
DREADME34 Not all permutations of using multiple pointers/references will be rendered
/external/Microsoft-GSL/
DCONTRIBUTING.md26 * Tests should include reasonable permutations of the target fix/change
/external/llvm/test/CodeGen/NVPTX/
Dshfl.ll12 ; Try all four permutations of register and immediate parameters with
/external/eigen/doc/
DTutorialSparse.dox305 - \b permutations. Finally, permutations can be applied to sparse matrices too:
354 - application of symmetric permutations:
/external/selinux/secilc/docs/
Dcil_access_vector_rules.md43 These examples show a selection of possible permutations of [`allow`](cil_access_vector_rules.md#al…
275 These examples show a selection of possible permutations of [`allowx`](cil_access_vector_rules.md#a…
Dcil_reference_guide.md4 1. Not all possible alternate statement permutations are shown, however there should be enough var…
/external/deqp/modules/gles31/scripts/
Dgen-implicit-conversions.py803 for pair in itertools.permutations(types, 2):
/external/llvm/lib/Target/AMDGPU/
DAMDGPUInstructions.td604 // This matches 16 permutations of
/external/llvm/test/Transforms/InstCombine/
Dbit-checks.ll270 ; test parameter permutations
/external/swiftshader/third_party/LLVM/test/Transforms/InstCombine/
Dbit-checks.ll270 ; test parameter permutations

12