/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.modifying.operations/alg.random.shuffle/ |
random_shuffle_urng.pass.cpp | 13 // void shuffle(RandomAccessIterator first, RandomAccessIterator last, 27 std::shuffle(ia, ia+sa, g); 29 std::shuffle(ia, ia+sa, g);
|
/libcore/benchmarks/src/benchmarks/regression/ |
PriorityQueueBenchmark.java | 47 // shuffle these elements so that we get a reasonable distribution of missed elements 48 Collections.shuffle(allElements, random); 63 // shuffle again so that elements are accessed in a different pattern than they were 65 Collections.shuffle(seekElements, random);
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
lp_bld_swizzle.c | 66 /* The shuffle vector is always made of int32 elements */ 99 * Combined extract and broadcast (mere shuffle in most cases) 138 * shuffle - result can be of different length. 141 LLVMValueRef shuffle; local 142 shuffle = lp_build_broadcast(gallivm, 147 shuffle, ""); 182 * Shuffle. 290 * Shuffle. 301 unsigned shuffle; local 310 shuffle = j + swizzles[i] [all...] |
lp_bld_pack.c | 84 * Build shuffle vectors that match PUNPCKLxx and PUNPCKHxx instructions. 132 * Build shuffle vectors that match PACKxx instructions. 226 LLVMValueRef shuffle; local 228 shuffle = lp_build_const_unpack_shuffle(gallivm, type.length, lo_hi); 230 return LLVMBuildShuffleVector(gallivm->builder, a, b, shuffle, ""); 261 LLVMValueRef shuffle = lp_build_const_unpack_shuffle_half(gallivm, type.length, lo_hi); local 262 return LLVMBuildShuffleVector(gallivm->builder, a, b, shuffle, ""); 386 LLVMValueRef shuffle; local 426 /* default uses generic shuffle below */ 479 /* generic shuffle */ [all...] |
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_swizzle.c | 66 /* The shuffle vector is always made of int32 elements */ 99 * Combined extract and broadcast (mere shuffle in most cases) 138 * shuffle - result can be of different length. 141 LLVMValueRef shuffle; local 142 shuffle = lp_build_broadcast(gallivm, 147 shuffle, ""); 182 * Shuffle. 290 * Shuffle. 301 unsigned shuffle; local 310 shuffle = j + swizzles[i] [all...] |
lp_bld_pack.c | 84 * Build shuffle vectors that match PUNPCKLxx and PUNPCKHxx instructions. 132 * Build shuffle vectors that match PACKxx instructions. 226 LLVMValueRef shuffle; local 228 shuffle = lp_build_const_unpack_shuffle(gallivm, type.length, lo_hi); 230 return LLVMBuildShuffleVector(gallivm->builder, a, b, shuffle, ""); 261 LLVMValueRef shuffle = lp_build_const_unpack_shuffle_half(gallivm, type.length, lo_hi); local 262 return LLVMBuildShuffleVector(gallivm->builder, a, b, shuffle, ""); 386 LLVMValueRef shuffle; local 426 /* default uses generic shuffle below */ 479 /* generic shuffle */ [all...] |
/external/smack/src/org/xbill/DNS/ |
ExtendedResolver.java | 46 Resolver [] shuffle = new Resolver[nresolvers]; local 49 shuffle[i] = resolvers[pos]; 51 resolvers = shuffle;
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_sort.py | 91 random.shuffle(s) 108 random.shuffle(s) 149 random.shuffle(L) 177 random.shuffle(data) 253 random.shuffle(data)
|
test_collections.py | 8 from random import randrange, shuffle namespace [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_sort.py | 91 random.shuffle(s) 108 random.shuffle(s) 149 random.shuffle(L) 177 random.shuffle(data) 253 random.shuffle(data)
|
test_collections.py | 8 from random import randrange, shuffle namespace [all...] |
/external/apache-http/src/org/apache/http/conn/ |
MultihomePlainSocketFactory.java | 131 Collections.shuffle(addresses);
|
/external/guava/guava-tests/test/com/google/common/hash/ |
HashingTest.java | 150 Collections.shuffle(hashCodes, random); 199 Collections.shuffle(hashCodes);
|
/packages/apps/Music/src/com/android/music/ |
MediaPlaybackActivity.java | 144 mShuffleButton = ((ImageButton) findViewById(R.id.shuffle)); 545 int shuffle = MusicUtils.getCurrentShuffleMode(); local 546 if (shuffle == MediaPlaybackService.SHUFFLE_AUTO) { 974 int shuffle = mService.getShuffleMode(); local [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
CollectionsTest.java | 572 * @tests java.util.Collections#shuffle(java.util.List) 575 // Test for method void java.util.Collections.shuffle(java.util.List) 581 Collections.shuffle(null); 598 Collections.shuffle(list, new Random(0)); 605 Collections.shuffle(list, new Random(0)); 616 Collections.shuffle(list); 618 Collections.shuffle(list, new Random(200)); 637 * @tests java.util.Collections#shuffle(java.util.List, java.util.Random) 640 // Test for method void java.util.Collections.shuffle(java.util.List, 647 Collections.shuffle(null, new Random(200)) [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
CollectionsTest.java | 698 * java.util.Collections#shuffle(java.util.List) 701 // Test for method void java.util.Collections.shuffle(java.util.List) 707 Collections.shuffle(null); 723 Collections.shuffle(list, new Random(0)); 730 Collections.shuffle(list, new Random(0)); 741 Collections.shuffle(list); 743 Collections.shuffle(list, new Random(200)); 762 * java.util.Collections#shuffle(java.util.List, java.util.Random) 765 // Test for method void java.util.Collections.shuffle(java.util.List, 772 Collections.shuffle(null, new Random(200)) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_thread.py | 83 random.shuffle(keys) 211 random.shuffle(keys) 337 random.shuffle(keys)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
random.py | 52 "randrange","shuffle","normalvariate","lognormvariate", 152 # we use hashing to create a large n for the shuffle. 276 def shuffle(self, x, random=None, int=int): member in class:Random 277 """x, random=random.random -> shuffle list x in place; return None. 888 shuffle = _inst.shuffle variable
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_thread.py | 83 random.shuffle(keys) 211 random.shuffle(keys) 337 random.shuffle(keys)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
random.py | 52 "randrange","shuffle","normalvariate","lognormvariate", 152 # we use hashing to create a large n for the shuffle. 276 def shuffle(self, x, random=None, int=int): member in class:Random 277 """x, random=random.random -> shuffle list x in place; return None. 888 shuffle = _inst.shuffle variable
|
/external/chromium_org/tools/telemetry/telemetry/core/ |
browser_options.py | 101 group.add_option('--pageset-shuffle', action='store_true', 103 help='Shuffle the order of pages within a pageset.') 104 group.add_option('--pageset-shuffle-order-file',
|
/art/test/ThreadStress/ |
ThreadStress.java | 98 Collections.shuffle(Arrays.asList(operations));
|
/external/chromium/testing/gtest/src/ |
gtest-internal-inl.h | 94 const char kShuffleFlag[] = "shuffle"; 167 shuffle_ = GTEST_FLAG(shuffle); 188 GTEST_FLAG(shuffle) = shuffle_; 290 // Performs an in-place shuffle of a range of the vector's elements. 293 // shuffle to the end of the vector. 299 << "Invalid shuffle range start " << begin << ": must be in range [0, " 302 << "Invalid shuffle range finish " << end << ": must be in range [" 305 // Fisher-Yates shuffle, from 314 // Performs an in-place shuffle of the vector's elements. 316 inline void Shuffle(internal::Random* random, std::vector<E>* v) [all...] |
/external/chromium_org/testing/gtest/src/ |
gtest-internal-inl.h | 99 const char kShuffleFlag[] = "shuffle"; 178 shuffle_ = GTEST_FLAG(shuffle); 199 GTEST_FLAG(shuffle) = shuffle_; 306 // Performs an in-place shuffle of a range of the vector's elements. 309 // shuffle to the end of the vector. 315 << "Invalid shuffle range start " << begin << ": must be in range [0, " 318 << "Invalid shuffle range finish " << end << ": must be in range [" 321 // Fisher-Yates shuffle, from 330 // Performs an in-place shuffle of the vector's elements. 332 inline void Shuffle(internal::Random* random, std::vector<E>* v) [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/ |
manager.py | 116 random.shuffle(tests_to_run) 120 rnd.shuffle(tests_to_run)
|