/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/ |
D | ShuffleOrder.java | 35 private final int[] shuffled; field in ShuffleOrder.DefaultShuffleOrder 73 private DefaultShuffleOrder(int[] shuffled, Random random) { in DefaultShuffleOrder() argument 74 this.shuffled = shuffled; in DefaultShuffleOrder() 76 this.indexInShuffled = new int[shuffled.length]; in DefaultShuffleOrder() 77 for (int i = 0; i < shuffled.length; i++) { in DefaultShuffleOrder() 78 indexInShuffled[shuffled[i]] = i; in DefaultShuffleOrder() 84 return shuffled.length; in getLength() 90 return ++shuffledIndex < shuffled.length ? shuffled[shuffledIndex] : C.INDEX_UNSET; in getNextIndex() 96 return --shuffledIndex >= 0 ? shuffled[shuffledIndex] : C.INDEX_UNSET; in getPreviousIndex() 101 return shuffled.length > 0 ? shuffled[shuffled.length - 1] : C.INDEX_UNSET; in getLastIndex() [all …]
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/source/ |
D | LoopingMediaSourceTest.java | 54 for (boolean shuffled : new boolean[] {false, true}) { in singleLoopTimeline() 56 timeline, Player.REPEAT_MODE_OFF, shuffled, C.INDEX_UNSET, 0, 1); in singleLoopTimeline() 58 timeline, Player.REPEAT_MODE_ONE, shuffled, 0, 1, 2); in singleLoopTimeline() 60 timeline, Player.REPEAT_MODE_ALL, shuffled, 2, 0, 1); in singleLoopTimeline() 62 timeline, Player.REPEAT_MODE_OFF, shuffled, 1, 2, C.INDEX_UNSET); in singleLoopTimeline() 63 TimelineAsserts.assertNextWindowIndices(timeline, Player.REPEAT_MODE_ONE, shuffled, 0, 1, 2); in singleLoopTimeline() 64 TimelineAsserts.assertNextWindowIndices(timeline, Player.REPEAT_MODE_ALL, shuffled, 1, 2, 0); in singleLoopTimeline() 73 for (boolean shuffled : new boolean[] {false, true}) { in multiLoopTimeline() 75 timeline, Player.REPEAT_MODE_OFF, shuffled, C.INDEX_UNSET, 0, 1, 2, 3, 4, 5, 6, 7, 8); in multiLoopTimeline() 77 timeline, Player.REPEAT_MODE_ONE, shuffled, 0, 1, 2, 3, 4, 5, 6, 7, 8); in multiLoopTimeline() [all …]
|
/external/llvm-project/libcxx/test/std/algorithms/alg.modifying.operations/alg.random.shuffle/ |
D | random_shuffle.pass.cpp | 33 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()
|
/external/rust/crates/ahash/src/ |
D | operations.rs | 44 let shuffled: [u64; 2] = shuffle(base).convert(); in shuffle_and_add() localVariable 45 add_by_64s(shuffled, to_add.convert()).convert() in shuffle_and_add() 203 let shuffled: [u8; 16] = shuffle(value.convert()).convert(); in test_shuffle_contains_each_value() localVariable 205 assert!(shuffled.contains(&index), "Value is missing {}", index); in test_shuffle_contains_each_value() 214 let shuffled: [u8; 16] = shuffle(value.convert()).convert(); in test_shuffle_moves_every_value() localVariable 215 assert_eq!(0, shuffled[index], "Value is not moved {}", index); in test_shuffle_moves_every_value() 270 let mut shuffled = shuffle(numbered); in test_shuffle_does_not_loop() localVariable 273 assert_ne!(numbered, shuffled, "Equal after {} vs {:x}", count, shuffled); in test_shuffle_does_not_loop() 274 shuffled = shuffle(shuffled); in test_shuffle_does_not_loop()
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_RandomShuffle.pbtxt | 6 The tensor to be shuffled. 12 A tensor of same shape and type as `value`, shuffled along its first 32 The tensor is shuffled along dimension 0, such that each `value[j]` is mapped
|
D | api_def_RecordInput.pbtxt | 25 shuffled.
|
/external/junit/src/main/java/org/junit/runner/manipulation/ |
D | Ordering.java | 40 List<Description> shuffled = new ArrayList<Description>(descriptions); in shuffledBy() local 41 Collections.shuffle(shuffled, random); in shuffledBy() 42 return shuffled; in shuffledBy()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | reduction_ops_common.h | 224 Tensor shuffled; 227 &shuffled, alloc_attr)); 229 &shuffled)); 231 const int64 reduced = shuffled.NumElements() / unreduced; 232 const Tensor& const_shuffled = shuffled;
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | TimelineAsserts.java | 41 for (boolean shuffled : new boolean[] {false, true}) { in assertEmpty() 42 assertThat(timeline.getFirstWindowIndex(shuffled)).isEqualTo(C.INDEX_UNSET); in assertEmpty() 43 assertThat(timeline.getLastWindowIndex(shuffled)).isEqualTo(C.INDEX_UNSET); in assertEmpty()
|
/external/boringssl/src/util/ |
D | all_tests.go | 360 shuffled := make([]string, len(tests)) 363 shuffled[i] = tests[j] 367 for i := 0; i < len(shuffled); i += testsPerShard { 368 n := len(shuffled) - i 373 shard.Cmd = []string{shard.Cmd[0], "--gtest_filter=" + strings.Join(shuffled[i:i+n], ":")}
|
/external/kotlinx.coroutines/benchmarks/src/jmh/kotlin/benchmarks/scheduler/actors/ |
D | ConcurrentStatefulActorBenchmark.kt | 94 computations.shuffled() in requestorActorUnfair() 122 computations.shuffled() in requestorActorFair()
|
/external/llvm/test/MC/Hexagon/ |
D | dcfetch.s | 3 # Check that DCFETCH is correctly shuffled.
|
/external/llvm-project/llvm/test/MC/Hexagon/ |
D | dcfetch.s | 3 # Check that DCFETCH is correctly shuffled.
|
/external/swiftshader/tests/regres/deqp/ |
D | deqp.go | 207 shuffled := make([]string, len(list.Tests)) 209 shuffled[i] = list.Tests[j] 213 for _, t := range shuffled {
|
/external/deqp/modules/gles2/scripts/ |
D | gen-conversions.py | 277 return [shuffled(inner) for inner in outer] 287 comps = [shuffled(values) for values in comps]
|
/external/mesa3d/src/intel/compiler/ |
D | brw_vec4_visitor.cpp | 1396 dst_reg shuffled = dst_reg(this, glsl_type::dvec4_type); in emit_scratch_read() local 1397 dst_reg shuffled_float = retype(shuffled, BRW_REGISTER_TYPE_F); in emit_scratch_read() 1403 shuffle_64bit_data(temp, src_reg(shuffled), false, block, last_read); in emit_scratch_read() 1446 dst_reg shuffled = dst_reg(this, alloc_type); in emit_scratch_write() local 1448 shuffle_64bit_data(shuffled, temp, true, block, inst); in emit_scratch_write() 1449 src_reg shuffled_float = src_reg(retype(shuffled, BRW_REGISTER_TYPE_F)); in emit_scratch_write()
|
/external/deqp/modules/gles3/scripts/ |
D | gen-conversions.py | 303 return [shuffled(inner) for inner in outer] 313 comps = [shuffled(values) for values in comps]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64Schedule.td | 92 // Store a shuffled vector.
|
/external/llvm-project/llvm/lib/Target/AArch64/ |
D | AArch64Schedule.td | 92 // Store a shuffled vector.
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64Schedule.td | 104 // Store a shuffled vector.
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | training_utils_v1_test.py | 189 shuffled = training_utils_v1.verify_dataset_shuffled(dataset) 192 self.assertFalse(shuffled)
|
/external/llvm/test/CodeGen/X86/ |
D | extractelement-load.ll | 80 ; Case where a load is unary shuffled, then bitcast (to a type with the same
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/ |
D | tf_ops_helpers.inc | 317 SmallVector<Attribute, 8> shuffled(values.size()); 321 shuffled[i * inner_size + j] = values[permutation[i] * inner_size + j]; 325 return ArrayAttr::get(attr.getContext(), shuffled);
|
/external/llvm-project/llvm/test/CodeGen/X86/ |
D | extractelement-load.ll | 79 ; Case where a load is unary shuffled, then bitcast (to a type with the same
|
/external/ltp/doc/ |
D | style-guide.txt | 232 headers get shuffled around a lot more than their +sys/+ counterparts it
|