HomeSort by relevance Sort by last modified time
    Searched refs:permutations (Results 1 - 25 of 169) sorted by null

1 2 3 4 5 6 7

  /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
Collections2Test.java 84 Iterator<List<Integer>> permutations = permutationSet.iterator(); local
86 assertNextPermutation(Lists.<Integer>newArrayList(), permutations); local
87 assertNoMorePermutations(permutations);
92 Iterator<List<Integer>> permutations = local
95 assertNextPermutation(newArrayList(1), permutations);
96 assertNoMorePermutations(permutations);
101 Iterator<List<String>> permutations = local
104 assertNextPermutation(newArrayList("a", "b", "c"), permutations);
105 assertNextPermutation(newArrayList("a", "c", "b"), permutations);
106 assertNextPermutation(newArrayList("b", "a", "c"), permutations);
115 Iterator<List<Integer>> permutations = local
129 Collection<List<Integer>> permutations = local
175 Iterator<List<Integer>> permutations = permutationSet.iterator(); local
176 assertNextPermutation(Collections.<Integer> emptyList(), permutations); local
181 Iterator<List<Integer>> permutations = local
189 Iterator<List<Integer>> permutations = Collections2.permutations( local
197 Iterator<List<Integer>> permutations = Collections2.permutations( local
210 Iterator<List<Integer>> permutations = Collections2.permutations( local
223 Iterator<List<Integer>> permutations = Collections2.permutations( local
235 Iterator<List<Integer>> permutations = Collections2.permutations( local
328 Iterator<List<T>> permutations = permutationSet.iterator(); local
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
Collections2Test.java 242 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...]
  /toolchain/binutils/binutils-2.27/gas/testsuite/gas/m68k/
mcf-movsr.s 3 | Test all permutations of movew sr and movew ccr
mcf-mov3q.s 3 | Test all permutations of mov3q
  /frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
BasicDependantBindingTest.java 36 public List<NotBindableVo> permutations(String value) { method in class:BasicDependantBindingTest
46 List<NotBindableVo> obj1s = permutations("a");
47 List<NotBindableVo> obj2s = permutations("b");
  /toolchain/binutils/binutils-2.27/gas/testsuite/gas/tic54x/
address.s 1 ;; test all addressing permutations
  /external/icu/icu4c/source/test/intltest/
canittst.cpp 133 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/
invert.c 38 OPJ_UINT32 * permutations,
108 OPJ_UINT32 * permutations,
112 OPJ_UINT32 * tmpPermutations = permutations;
125 /*initialize permutations */
130 tmpPermutations = permutations;
  /toolchain/binutils/binutils-2.27/gas/testsuite/gas/mach-o/
symbols-4.s 1 # Reference & dead strip permutations.
  /external/guava/guava/src/com/google/common/collect/
Collections2.java 326 * Returns a {@link Collection} of all the permutations of the specified
330 * Lexicographical Permutations Generation, described in Knuth's "The Art of
347 * permutations of the original iterable.
358 * Returns a {@link Collection} of all the permutations of the specified
385 * Lexicographical Permutations Generation, described in Knuth's "The Art of
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 local
557 @Beta public static <E> Collection<List<E>> permutations( method in class:Collections2
    [all...]
  /external/icu/icu4c/source/common/
caniter.cpp 264 * @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.nextElement(el2)
    [all...]
  /prebuilts/go/darwin-x86/test/
torture.go 33 // over all index permutations.
62 // over all index permutations.
91 // over all index permutations.
  /prebuilts/go/linux-x86/test/
torture.go 33 // over all index permutations.
62 // over all index permutations.
91 // over all index permutations.
  /external/deqp/modules/gles2/scripts/
gen-qualification_order.py 203 for p in itertools.permutations(f):
210 for p in itertools.permutations(f):
  /external/deqp/modules/gles3/scripts/
gen-qualification_order.py 224 for p in itertools.permutations(f):
234 for p in itertools.permutations(f):
  /external/icu/android_icu4j/src/main/java/android/icu/text/
CanonicalIterator.java 156 * @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>(); local
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/
CanonicalIterator.java 160 * @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>(); local
255 // now get all the permutations
261 permutations.clear();
262 permute(item, SKIP_ZEROS, permutations);
263 Iterator<String> it2 = permutations.iterator();
  /external/skia/src/shaders/
SkPerlinNoiseShader.cpp 220 // Perform the permutations now
231 // Do permutations on noise data
601 uint8_t* permutations = improved_noise_permutations;
602 int A = permutations[X] + Y;
603 int AA = permutations[A] + Z;
604 int AB = permutations[A + 1] + Z;
605 int B = permutations[X + 1] + Y;
606 int BA = permutations[B] + Z;
607 int BB = permutations[B + 1] + Z;
608 result += lerp(w, lerp(v, lerp(u, grad(permutations[AA ], px , py , pz )
    [all...]
  /external/skqp/src/shaders/
SkPerlinNoiseShader.cpp 215 // Perform the permutations now
226 // Do permutations on noise data
594 uint8_t* permutations = improved_noise_permutations;
595 int A = permutations[X] + Y;
596 int AA = permutations[A] + Z;
597 int AB = permutations[A + 1] + Z;
598 int B = permutations[X + 1] + Y;
599 int BA = permutations[B] + Z;
600 int BB = permutations[B + 1] + Z;
601 result += lerp(w, lerp(v, lerp(u, grad(permutations[AA ], px , py , pz )
    [all...]
  /external/Microsoft-GSL/
CONTRIBUTING.md 26 * Tests should include reasonable permutations of the target fix/change
  /kernel/tests/net/test/
forwarding_test.py 31 for iif, oif in itertools.permutations([iface1, iface2]):
156 for netids in itertools.permutations(self.tuns):
  /prebuilts/go/darwin-x86/test/chan/
perm.go 7 // Test various correct and incorrect permutations of send-only,
  /prebuilts/go/linux-x86/test/chan/
perm.go 7 // Test various correct and incorrect permutations of send-only,
  /external/python/cpython2/Lib/test/
test_itertools.py 110 for indices in permutations(range(n), r):
228 self.assertRaises(TypeError, permutations) # too few arguments
229 self.assertRaises(TypeError, permutations, 'abc', 2, 1) # too many arguments
230 self.assertRaises(TypeError, permutations, None) # pool is not iterable
231 self.assertRaises(ValueError, permutations, 'abc', -2) # r is negative
232 self.assertEqual(list(permutations('abc', 32)), []) # r > n
233 self.assertRaises(TypeError, permutations, 'abc', 's') # r is not an int or None
234 self.assertEqual(list(permutations(range(3), 2)),
273 result = list(permutations(values, r))
278 self.assertEqual(len(p), r) # r-length permutations
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_itertools.py 110 for indices in permutations(range(n), r):
215 self.assertRaises(TypeError, permutations) # too few arguments
216 self.assertRaises(TypeError, permutations, 'abc', 2, 1) # too many arguments
217 self.assertRaises(TypeError, permutations, None) # pool is not iterable
218 self.assertRaises(ValueError, permutations, 'abc', -2) # r is negative
219 self.assertEqual(list(permutations('abc', 32)), []) # r > n
220 self.assertRaises(TypeError, permutations, 'abc', 's') # r is not an int or None
221 self.assertEqual(list(permutations(range(3), 2)),
260 result = list(permutations(values, r))
265 self.assertEqual(len(p), r) # r-length permutations
    [all...]

Completed in 640 milliseconds

1 2 3 4 5 6 7