Home
last modified time | relevance | path

Searched refs:shuffled (Results 1 – 25 of 1699) sorted by relevance

12345678910>>...68

/dports/www/firefox-esr/firefox-91.8.0/mobile/android/geckoview/src/thirdparty/java/org/mozilla/thirdparty/com/google/android/exoplayer2/source/
H A DShuffleOrder.java35 private final int[] shuffled; field in ShuffleOrder.DefaultShuffleOrder
74 this.shuffled = shuffled; in DefaultShuffleOrder()
84 return shuffled.length; in getLength()
90 return ++shuffledIndex < shuffled.length ? shuffled[shuffledIndex] : C.INDEX_UNSET; in getNextIndex()
101 return shuffled.length > 0 ? shuffled[shuffled.length - 1] : C.INDEX_UNSET; in getLastIndex()
106 return shuffled.length > 0 ? shuffled[0] : C.INDEX_UNSET; in getFirstIndex()
143 if (shuffled[i] >= indexFrom && shuffled[i] < indexToExclusive) { in cloneAndRemove()
147 shuffled[i] >= indexFrom ? shuffled[i] - numberOfElementsToRemove : shuffled[i]; in cloneAndRemove()
162 shuffled[i] = shuffled[swapIndex]; in createShuffledList()
163 shuffled[swapIndex] = i; in createShuffledList()
[all …]
/dports/www/firefox/firefox-99.0/mobile/android/exoplayer2/src/main/java/org/mozilla/thirdparty/com/google/android/exoplayer2/source/
H A DShuffleOrder.java35 private final int[] shuffled; field in ShuffleOrder.DefaultShuffleOrder
74 this.shuffled = shuffled; in DefaultShuffleOrder()
84 return shuffled.length; in getLength()
90 return ++shuffledIndex < shuffled.length ? shuffled[shuffledIndex] : C.INDEX_UNSET; in getNextIndex()
101 return shuffled.length > 0 ? shuffled[shuffled.length - 1] : C.INDEX_UNSET; in getLastIndex()
106 return shuffled.length > 0 ? shuffled[0] : C.INDEX_UNSET; in getFirstIndex()
143 if (shuffled[i] >= indexFrom && shuffled[i] < indexToExclusive) { in cloneAndRemove()
147 shuffled[i] >= indexFrom ? shuffled[i] - numberOfElementsToRemove : shuffled[i]; in cloneAndRemove()
162 shuffled[i] = shuffled[swapIndex]; in createShuffledList()
163 shuffled[swapIndex] = i; in createShuffledList()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/mobile/android/geckoview/src/thirdparty/java/org/mozilla/thirdparty/com/google/android/exoplayer2/source/
H A DShuffleOrder.java35 private final int[] shuffled; field in ShuffleOrder.DefaultShuffleOrder
74 this.shuffled = shuffled; in DefaultShuffleOrder()
84 return shuffled.length; in getLength()
90 return ++shuffledIndex < shuffled.length ? shuffled[shuffledIndex] : C.INDEX_UNSET; in getNextIndex()
101 return shuffled.length > 0 ? shuffled[shuffled.length - 1] : C.INDEX_UNSET; in getLastIndex()
106 return shuffled.length > 0 ? shuffled[0] : C.INDEX_UNSET; in getFirstIndex()
143 if (shuffled[i] >= indexFrom && shuffled[i] < indexToExclusive) { in cloneAndRemove()
147 shuffled[i] >= indexFrom ? shuffled[i] - numberOfElementsToRemove : shuffled[i]; in cloneAndRemove()
162 shuffled[i] = shuffled[swapIndex]; in createShuffledList()
163 shuffled[swapIndex] = i; in createShuffledList()
[all …]
/dports/devel/fatal/fatal-2021.12.27.00/fatal/type/test/
H A Dtrie_test.cpp68 using shuffled = list< typedef
96 using shuffled = list< typedef
239 TEST_TRIE_FIND(true, seq::fast, seq::shuffled); in FATAL_TEST()
242 TEST_TRIE_FIND(true, seq::fart, seq::shuffled); in FATAL_TEST()
243 TEST_TRIE_FIND(true, seq::far, seq::shuffled); in FATAL_TEST()
244 TEST_TRIE_FIND(true, seq::good, seq::shuffled); in FATAL_TEST()
252 TEST_TRIE_FIND(true, seq::fat, seq::shuffled); in FATAL_TEST()
255 TEST_TRIE_FIND(false, seq::x, seq::shuffled); in FATAL_TEST()
282 TEST_TRIE_FIND(true, lst::far, lst::shuffled); in FATAL_TEST()
291 TEST_TRIE_FIND(true, lst::fat, lst::shuffled); in FATAL_TEST()
[all …]
/dports/math/apache-commons-math/commons-math3-3.6.1-src/src/test/java/org/apache/commons/math3/stat/descriptive/
H A DDescriptiveStatisticsTest.java151 UnivariateStatistic tmp = shuffled.getGeometricMeanImpl(); in testShuffledStatistics()
152 shuffled.setGeometricMeanImpl(shuffled.getMeanImpl()); in testShuffledStatistics()
153 shuffled.setMeanImpl(shuffled.getKurtosisImpl()); in testShuffledStatistics()
154 shuffled.setKurtosisImpl(shuffled.getSkewnessImpl()); in testShuffledStatistics()
155 shuffled.setSkewnessImpl(shuffled.getVarianceImpl()); in testShuffledStatistics()
156 shuffled.setVarianceImpl(shuffled.getMaxImpl()); in testShuffledStatistics()
157 shuffled.setMaxImpl(shuffled.getMinImpl()); in testShuffledStatistics()
158 shuffled.setMinImpl(shuffled.getSumImpl()); in testShuffledStatistics()
159 shuffled.setSumImpl(shuffled.getSumsqImpl()); in testShuffledStatistics()
160 shuffled.setSumsqImpl(tmp); in testShuffledStatistics()
[all …]
H A DMultivariateSummaryStatisticsTest.java111 MultivariateSummaryStatistics shuffled = createMultivariateSummaryStatistics(2, true); in testShuffledStatistics() local
113 StorelessUnivariateStatistic[] tmp = shuffled.getGeoMeanImpl(); in testShuffledStatistics()
114 shuffled.setGeoMeanImpl(shuffled.getMeanImpl()); in testShuffledStatistics()
115 shuffled.setMeanImpl(shuffled.getMaxImpl()); in testShuffledStatistics()
116 shuffled.setMaxImpl(shuffled.getMinImpl()); in testShuffledStatistics()
117 shuffled.setMinImpl(shuffled.getSumImpl()); in testShuffledStatistics()
118 shuffled.setSumImpl(shuffled.getSumsqImpl()); in testShuffledStatistics()
119 shuffled.setSumsqImpl(shuffled.getSumLogImpl()); in testShuffledStatistics()
120 shuffled.setSumLogImpl(tmp); in testShuffledStatistics()
124 shuffled.addValue(new double[] {i, i}); in testShuffledStatistics()
[all …]
/dports/archivers/snappy-java/snappy-java-1.1.7.5/src/main/java/org/xerial/snappy/
H A DBitShuffle.java58 …public static int shuffle(ByteBuffer input, BitShuffleType type, ByteBuffer shuffled) throws IOExc… in shuffle() argument
62 if (!shuffled.isDirect()) { in shuffle()
74 if (shuffled.remaining() < uLen) { in shuffle()
77 …int numProcessed = impl.shuffleDirectBuffer(input, uPos, typeSize, uLen, shuffled, shuffled.positi… in shuffle()
82 shuffled.limit(shuffled.position() + numProcessed); in shuffle()
168 …public static int unshuffle(ByteBuffer shuffled, BitShuffleType type, ByteBuffer output) throws IO… in unshuffle() argument
169 if (!shuffled.isDirect()) { in unshuffle()
178 int uPos = shuffled.position(); in unshuffle()
179 int uLen = shuffled.remaining(); in unshuffle()
187 …int numProcessed = impl.unshuffleDirectBuffer(shuffled, uPos, typeSize, uLen, output, shuffled.pos… in unshuffle()
[all …]
/dports/devel/spark/spark-2.1.1/core/src/test/scala/org/apache/spark/scheduler/
H A DAdaptiveSchedulingSuite.scala39 val shuffled = new CustomShuffledRDD[Int, Int, Int](dep) constant
42 assert(shuffled.collect().toSet == Set((1, 1), (2, 2), (3, 3)))
53 val shuffled = new CustomShuffledRDD[Int, Int, Int](dep, Array(0, 2)) constant
54 assert(shuffled.partitions.length === 2)
55 assert(shuffled.glom().map(_.toSet).collect().toSet == Set(Set((0, 0), (1, 1)), Set((2, 2))))
63 val shuffled = new CustomShuffledRDD[Int, Int, Int](dep, Array(0)) constant
64 assert(shuffled.partitions.length === 1)
65 assert(shuffled.collect().toSet == Set((0, 0), (1, 1), (2, 2)))
72 val shuffled = new CustomShuffledRDD[Int, Int, Int](dep, Array(0, 0, 0, 1, 1, 1, 2)) constant
73 assert(shuffled.partitions.length === 7)
[all …]
/dports/games/tomatoes/tomatoes-1.55/src/
H A Dlevels.cpp122 vector<int> shuffled; in shuffle_level_list() local
123 shuffled.clear(); in shuffle_level_list()
125 shuffled.push_back(f); in shuffle_level_list()
130 int swap = shuffled[i]; in shuffle_level_list()
131 shuffled[i] = shuffled[pos]; in shuffle_level_list()
132 shuffled[pos] = swap; in shuffle_level_list()
144 vector<int> shuffled; in shuffle_bground_list() local
145 shuffled.clear(); in shuffle_bground_list()
147 shuffled.push_back(f); in shuffle_bground_list()
153 shuffled[i] = shuffled[pos]; in shuffle_bground_list()
[all …]
/dports/devel/hyperscan/hyperscan-5.4.0/src/nfa/
H A Dlimex_shuffle.h47 m128 shuffled = pshufb_m128(s, permute); in packedExtract128() local
48 m128 compared = and128(shuffled, compare); in packedExtract128()
49 u16 rv = ~movemask128(eq128(compared, shuffled)); in packedExtract128()
57 m256 shuffled = pshufb_m256(s, permute); in packedExtract256() local
58 m256 compared = and256(shuffled, compare); in packedExtract256()
59 u32 rv = ~movemask256(eq256(compared, shuffled)); in packedExtract256()
69 m512 shuffled = pshufb_m512(s, permute); in packedExtract512() local
70 m512 compared = and512(shuffled, compare); in packedExtract512()
71 u64a rv = ~eq512mask(compared, shuffled); in packedExtract512()
/dports/www/chromium-legacy/chromium-88.0.4324.182/buildtools/third_party/libc++/trunk/test/std/algorithms/alg.modifying.operations/alg.random.shuffle/
H A Drandom_shuffle.pass.cpp33 int shuffled[] = {1, 2, 3, 4}; in test_with_iterator() local
36 std::random_shuffle(Iter(shuffled), Iter(shuffled+size)); in test_with_iterator()
37 assert(std::is_permutation(shuffled, shuffled+size, all_elements)); in test_with_iterator()
39 std::random_shuffle(Iter(shuffled), Iter(shuffled+size)); in test_with_iterator()
40 assert(std::is_permutation(shuffled, shuffled+size, all_elements)); in test_with_iterator()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/libcxx/test/std/algorithms/alg.modifying.operations/alg.random.shuffle/
H A Drandom_shuffle.pass.cpp33 int shuffled[] = {1, 2, 3, 4}; in test_with_iterator() local
36 std::random_shuffle(Iter(shuffled), Iter(shuffled+size)); in test_with_iterator()
37 assert(std::is_permutation(shuffled, shuffled+size, all_elements)); in test_with_iterator()
39 std::random_shuffle(Iter(shuffled), Iter(shuffled+size)); in test_with_iterator()
40 assert(std::is_permutation(shuffled, shuffled+size, all_elements)); in test_with_iterator()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/libcxx/test/std/algorithms/alg.modifying.operations/alg.random.shuffle/
H A Drandom_shuffle.pass.cpp33 int shuffled[] = {1, 2, 3, 4}; in test_with_iterator() local
36 std::random_shuffle(Iter(shuffled), Iter(shuffled+size)); in test_with_iterator()
37 assert(std::is_permutation(shuffled, shuffled+size, all_elements)); in test_with_iterator()
39 std::random_shuffle(Iter(shuffled), Iter(shuffled+size)); in test_with_iterator()
40 assert(std::is_permutation(shuffled, shuffled+size, all_elements)); in test_with_iterator()
/dports/devel/llvm12/llvm-project-12.0.1.src/libcxx/test/std/algorithms/alg.modifying.operations/alg.random.shuffle/
H A Drandom_shuffle.pass.cpp33 int shuffled[] = {1, 2, 3, 4}; in test_with_iterator() local
36 std::random_shuffle(Iter(shuffled), Iter(shuffled+size)); in test_with_iterator()
37 assert(std::is_permutation(shuffled, shuffled+size, all_elements)); in test_with_iterator()
39 std::random_shuffle(Iter(shuffled), Iter(shuffled+size)); in test_with_iterator()
40 assert(std::is_permutation(shuffled, shuffled+size, all_elements)); in test_with_iterator()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/libcxx/test/std/algorithms/alg.modifying.operations/alg.random.shuffle/
H A Drandom_shuffle.pass.cpp33 int shuffled[] = {1, 2, 3, 4}; in test_with_iterator() local
36 std::random_shuffle(Iter(shuffled), Iter(shuffled+size)); in test_with_iterator()
37 assert(std::is_permutation(shuffled, shuffled+size, all_elements)); in test_with_iterator()
39 std::random_shuffle(Iter(shuffled), Iter(shuffled+size)); in test_with_iterator()
40 assert(std::is_permutation(shuffled, shuffled+size, all_elements)); in test_with_iterator()
/dports/devel/libc++/libcxx-10.0.1.src/test/std/algorithms/alg.modifying.operations/alg.random.shuffle/
H A Drandom_shuffle.pass.cpp33 int shuffled[] = {1, 2, 3, 4}; in test_with_iterator() local
36 std::random_shuffle(Iter(shuffled), Iter(shuffled+size)); in test_with_iterator()
37 assert(std::is_permutation(shuffled, shuffled+size, all_elements)); in test_with_iterator()
39 std::random_shuffle(Iter(shuffled), Iter(shuffled+size)); in test_with_iterator()
40 assert(std::is_permutation(shuffled, shuffled+size, all_elements)); in test_with_iterator()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/libcxx/test/std/algorithms/alg.modifying.operations/alg.random.shuffle/
H A Drandom_shuffle.pass.cpp33 int shuffled[] = {1, 2, 3, 4}; in test_with_iterator() local
36 std::random_shuffle(Iter(shuffled), Iter(shuffled+size)); in test_with_iterator()
37 assert(std::is_permutation(shuffled, shuffled+size, all_elements)); in test_with_iterator()
39 std::random_shuffle(Iter(shuffled), Iter(shuffled+size)); in test_with_iterator()
40 assert(std::is_permutation(shuffled, shuffled+size, all_elements)); in test_with_iterator()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/libcxx/test/std/algorithms/alg.modifying.operations/alg.random.shuffle/
H A Drandom_shuffle.pass.cpp33 int shuffled[] = {1, 2, 3, 4}; in test_with_iterator() local
36 std::random_shuffle(Iter(shuffled), Iter(shuffled+size)); in test_with_iterator()
37 assert(std::is_permutation(shuffled, shuffled+size, all_elements)); in test_with_iterator()
39 std::random_shuffle(Iter(shuffled), Iter(shuffled+size)); in test_with_iterator()
40 assert(std::is_permutation(shuffled, shuffled+size, all_elements)); in test_with_iterator()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/libcxx/test/std/algorithms/alg.modifying.operations/alg.random.shuffle/
H A Drandom_shuffle.pass.cpp33 int shuffled[] = {1, 2, 3, 4}; in test_with_iterator() local
36 std::random_shuffle(Iter(shuffled), Iter(shuffled+size)); in test_with_iterator()
37 assert(std::is_permutation(shuffled, shuffled+size, all_elements)); in test_with_iterator()
39 std::random_shuffle(Iter(shuffled), Iter(shuffled+size)); in test_with_iterator()
40 assert(std::is_permutation(shuffled, shuffled+size, all_elements)); in test_with_iterator()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/libcxx/test/std/algorithms/alg.modifying.operations/alg.random.shuffle/
H A Drandom_shuffle.pass.cpp33 int shuffled[] = {1, 2, 3, 4}; in test_with_iterator() local
36 std::random_shuffle(Iter(shuffled), Iter(shuffled+size)); in test_with_iterator()
37 assert(std::is_permutation(shuffled, shuffled+size, all_elements)); in test_with_iterator()
39 std::random_shuffle(Iter(shuffled), Iter(shuffled+size)); in test_with_iterator()
40 assert(std::is_permutation(shuffled, shuffled+size, all_elements)); in test_with_iterator()
/dports/devel/llvm13/llvm-project-13.0.1.src/libcxx/test/std/algorithms/alg.modifying.operations/alg.random.shuffle/
H A Drandom_shuffle.pass.cpp33 int shuffled[] = {1, 2, 3, 4}; in test_with_iterator() local
36 std::random_shuffle(Iter(shuffled), Iter(shuffled+size)); in test_with_iterator()
37 assert(std::is_permutation(shuffled, shuffled+size, all_elements)); in test_with_iterator()
39 std::random_shuffle(Iter(shuffled), Iter(shuffled+size)); in test_with_iterator()
40 assert(std::is_permutation(shuffled, shuffled+size, all_elements)); in test_with_iterator()
/dports/chinese/libime/libime-1.0.9/src/libime/core/kenlm/util/stream/
H A Dsort_test.cc21 Putter(std::vector<uint64_t> &shuffled) : shuffled_(shuffled) {} in Putter()
34 std::vector<uint64_t> shuffled; in BOOST_AUTO_TEST_CASE() local
35 shuffled.reserve(kSize); in BOOST_AUTO_TEST_CASE()
37 shuffled.push_back(i); in BOOST_AUTO_TEST_CASE()
39 std::random_shuffle(shuffled.begin(), shuffled.end()); in BOOST_AUTO_TEST_CASE()
52 chain >> Putter(shuffled); in BOOST_AUTO_TEST_CASE()
/dports/archivers/c-blosc/c-blosc-1.21.0/tests/
H A Dtest_shuffle_roundtrip_avx2.c33 void* shuffled = blosc_test_malloc(buffer_alignment, buffer_size); in test_shuffle_roundtrip_avx2() local
44 blosc_internal_shuffle_avx2(type_size, buffer_size, original, shuffled); in test_shuffle_roundtrip_avx2()
45 blosc_internal_unshuffle_avx2(type_size, buffer_size, shuffled, unshuffled); in test_shuffle_roundtrip_avx2()
49 blosc_internal_shuffle_generic(type_size, buffer_size, original, shuffled); in test_shuffle_roundtrip_avx2()
50 blosc_internal_unshuffle_avx2(type_size, buffer_size, shuffled, unshuffled); in test_shuffle_roundtrip_avx2()
54 blosc_internal_shuffle_avx2(type_size, buffer_size, original, shuffled); in test_shuffle_roundtrip_avx2()
55 blosc_internal_unshuffle_generic(type_size, buffer_size, shuffled, unshuffled); in test_shuffle_roundtrip_avx2()
69 blosc_test_free(shuffled); in test_shuffle_roundtrip_avx2()
H A Dtest_shuffle_roundtrip_sse2.c40 void* shuffled = blosc_test_malloc(buffer_alignment, buffer_size); in test_shuffle_roundtrip_sse2() local
51 blosc_internal_shuffle_sse2(type_size, buffer_size, original, shuffled); in test_shuffle_roundtrip_sse2()
52 blosc_internal_unshuffle_sse2(type_size, buffer_size, shuffled, unshuffled); in test_shuffle_roundtrip_sse2()
56 blosc_internal_shuffle_generic(type_size, buffer_size, original, shuffled); in test_shuffle_roundtrip_sse2()
57 blosc_internal_unshuffle_sse2(type_size, buffer_size, shuffled, unshuffled); in test_shuffle_roundtrip_sse2()
61 blosc_internal_shuffle_sse2(type_size, buffer_size, original, shuffled); in test_shuffle_roundtrip_sse2()
62 blosc_internal_unshuffle_generic(type_size, buffer_size, shuffled, unshuffled); in test_shuffle_roundtrip_sse2()
76 blosc_test_free(shuffled); in test_shuffle_roundtrip_sse2()
/dports/archivers/c-blosc2/c-blosc2-2.0.4/tests/
H A Dtest_shuffle_roundtrip_avx2.c39 void* shuffled = blosc_test_malloc(buffer_alignment, (size_t)buffer_size); in test_shuffle_roundtrip_avx2() local
50 shuffle_avx2(type_size, buffer_size, original, shuffled); in test_shuffle_roundtrip_avx2()
51 unshuffle_avx2(type_size, buffer_size, shuffled, unshuffled); in test_shuffle_roundtrip_avx2()
55 shuffle_generic(type_size, buffer_size, original, shuffled); in test_shuffle_roundtrip_avx2()
56 unshuffle_avx2(type_size, buffer_size, shuffled, unshuffled); in test_shuffle_roundtrip_avx2()
60 shuffle_avx2(type_size, buffer_size, original, shuffled); in test_shuffle_roundtrip_avx2()
61 unshuffle_generic(type_size, buffer_size, shuffled, unshuffled); in test_shuffle_roundtrip_avx2()
75 blosc_test_free(shuffled); in test_shuffle_roundtrip_avx2()

12345678910>>...68