/third_party/mindspore/tests/ut/python/dataset/ |
D | test_shuffle.py | 35 data1 = ds.TFRecordDataset(DATA_DIR, shuffle=ds.Shuffle.FILES) 37 data1 = data1.shuffle(buffer_size=buffer_size) 53 data1 = ds.TFRecordDataset(DATA_DIR, shuffle=ds.Shuffle.FILES) 55 data1 = data1.shuffle(buffer_size=buffer_size) 71 data1 = ds.TFRecordDataset(DATA_DIR, shuffle=ds.Shuffle.FILES) 73 data1 = data1.shuffle(buffer_size) 91 data1 = data1.shuffle(buffer_size=buffer_size) 107 data1 = ds.TFRecordDataset(DATA_DIR, shuffle=ds.Shuffle.FILES) 109 data1 = data1.shuffle(buffer_size=buffer_size) 125 data1 = ds.TFRecordDataset(DATA_DIR, shuffle=ds.Shuffle.FILES) [all …]
|
D | test_datasets_sharding.py | 22 def sharding_config(num_shards, shard_id, num_samples, shuffle, class_index, repeat_cnt=1): argument 25 shuffle=shuffle, class_indexing=class_index, decode=True) 59 shuffle=ds.Shuffle.FILES, num_parallel_workers=1) 97 shuffle=ds.Shuffle.FILES, num_parallel_workers=4) 139 def sharding_config(num_shards, shard_id, num_samples, shuffle, repeat_cnt=1): argument 141 shuffle=shuffle, decode=True) 164 def sharding_config(num_shards, shard_id, num_samples, shuffle, repeat_cnt=1): argument 165 … sampler = ds.DistributedSampler(num_shards, shard_id, shuffle=shuffle, num_samples=num_samples) 192 def sharding_config(num_shards, shard_id, num_samples, shuffle, repeat_cnt=1): argument 194 shuffle=shuffle) [all …]
|
D | test_datasets_csv.py | 34 shuffle=False) 47 shuffle=False) 60 shuffle=False) 72 shuffle=False, num_samples=2) 85 shuffle=False, num_shards=2, shard_id=0) 98 shuffle=False) 115 shuffle=False) 131 shuffle=False) 147 shuffle=False) 163 shuffle=False) [all …]
|
D | test_dataset_numpy_slices.py | 28 ds = de.NumpySlicesDataset(np_data, shuffle=False) 38 ds = de.NumpySlicesDataset(np_data, column_names=["col1"], shuffle=False) 48 ds = de.NumpySlicesDataset(np_data, column_names=["col1"], shuffle=False) 58 ds = de.NumpySlicesDataset(np_data, column_names=["col1"], shuffle=False) 78 ds = de.NumpySlicesDataset(res, column_names=["col1"], shuffle=False) 88 ds = de.NumpySlicesDataset(np_data, shuffle=False) 100 ds = de.NumpySlicesDataset(np_data, shuffle=False) 113 ds = de.NumpySlicesDataset(np_data, shuffle=False) 126 ds = de.NumpySlicesDataset(data, column_names=["col1", "col2"], shuffle=False) 142 ds = de.NumpySlicesDataset(np_data, column_names=["col1", "col2"], shuffle=False) [all …]
|
D | test_2ops.py | 35 data1 = ds.TFRecordDataset(DATA_DIR, SCHEMA_DIR, shuffle=False) 38 data1 = data1.shuffle(buffer_size=buffer_size) 55 data1 = ds.TFRecordDataset(DATA_DIR, SCHEMA_DIR, shuffle=False) 57 data1 = data1.shuffle(buffer_size=buffer_size) 74 data1 = ds.TFRecordDataset(DATA_DIR, SCHEMA_DIR, shuffle=False) 92 data1 = ds.TFRecordDataset(DATA_DIR, SCHEMA_DIR, shuffle=False) 111 data1 = ds.TFRecordDataset(DATA_DIR, SCHEMA_DIR, shuffle=False) 114 data1 = data1.shuffle(buffer_size=buffer_size) 131 data1 = ds.TFRecordDataset(DATA_DIR, SCHEMA_DIR, shuffle=False) 133 data1 = data1.shuffle(buffer_size=buffer_size)
|
D | test_batch.py | 34 data1 = ds.TFRecordDataset(DATA_DIR, shuffle=ds.Shuffle.FILES) 52 data1 = ds.TFRecordDataset(DATA_DIR, shuffle=ds.Shuffle.FILES) 70 data1 = ds.TFRecordDataset(DATA_DIR, shuffle=ds.Shuffle.FILES) 88 data1 = ds.TFRecordDataset(DATA_DIR, shuffle=ds.Shuffle.FILES) 105 data1 = ds.TFRecordDataset(DATA_DIR, shuffle=ds.Shuffle.FILES) 123 data1 = ds.TFRecordDataset(DATA_DIR, shuffle=ds.Shuffle.FILES) 142 data1 = ds.TFRecordDataset(DATA_DIR, shuffle=ds.Shuffle.FILES) 161 data1 = ds.TFRecordDataset(DATA_DIR, shuffle=ds.Shuffle.FILES) 179 data1 = ds.TFRecordDataset(DATA_DIR, shuffle=ds.Shuffle.FILES) 197 data1 = ds.TFRecordDataset(DATA_DIR, shuffle=ds.Shuffle.FILES) [all …]
|
D | test_random_crop_with_bbox.py | 42 …dataVoc1 = ds.VOCDataset(DATA_DIR_VOC, task="Detection", usage="train", shuffle=False, decode=True) 43 …dataVoc2 = ds.VOCDataset(DATA_DIR_VOC, task="Detection", usage="train", shuffle=False, decode=True) 72 decode=True, shuffle=False) 75 decode=True, shuffle=False) 104 …dataVoc1 = ds.VOCDataset(DATA_DIR_VOC, task="Detection", usage="train", shuffle=False, decode=True) 105 …dataVoc2 = ds.VOCDataset(DATA_DIR_VOC, task="Detection", usage="train", shuffle=False, decode=True) 141 …dataVoc1 = ds.VOCDataset(DATA_DIR_VOC, task="Detection", usage="train", shuffle=False, decode=True) 142 …dataVoc2 = ds.VOCDataset(DATA_DIR_VOC, task="Detection", usage="train", shuffle=False, decode=True) 171 …dataVoc1 = ds.VOCDataset(DATA_DIR_VOC, task="Detection", usage="train", shuffle=False, decode=True) 172 …dataVoc2 = ds.VOCDataset(DATA_DIR_VOC, task="Detection", usage="train", shuffle=False, decode=True) [all …]
|
D | test_datasets_tfrecord.py | 92 data = ds.TFRecordDataset(FILES, SCHEMA_FILE, shuffle=ds.Shuffle.FILES) 100 data = ds.TFRecordDataset(FILES, shuffle=ds.Shuffle.FILES) 109 data = ds.TFRecordDataset(FILES, schema_file, shuffle=ds.Shuffle.FILES) 117 data = ds.TFRecordDataset(pattern, SCHEMA_FILE, shuffle=ds.Shuffle.FILES) 121 data = ds.TFRecordDataset(pattern, SCHEMA_FILE, shuffle=ds.Shuffle.FILES) 125 data = ds.TFRecordDataset(pattern, SCHEMA_FILE, num_samples=24, shuffle=ds.Shuffle.FILES) 129 data = ds.TFRecordDataset(pattern, SCHEMA_FILE, num_samples=3, shuffle=ds.Shuffle.FILES) 133 SCHEMA_FILE, num_samples=24, shuffle=ds.Shuffle.FILES) 139 data1 = ds.TFRecordDataset(DATA_FILES2, SCHEMA_FILE2, shuffle=False) 159 data1 = ds.TFRecordDataset(FILES, schema=schema, shuffle=ds.Shuffle.FILES) [all …]
|
D | test_bounding_box_augment.py | 45 dataVoc1 = ds.VOCDataset(DATA_DIR, task="Detection", usage="train", shuffle=False, decode=True) 46 dataVoc2 = ds.VOCDataset(DATA_DIR, task="Detection", usage="train", shuffle=False, decode=True) 84 dataVoc1 = ds.VOCDataset(DATA_DIR, task="Detection", usage="train", shuffle=False, decode=True) 85 dataVoc2 = ds.VOCDataset(DATA_DIR, task="Detection", usage="train", shuffle=False, decode=True) 123 dataVoc1 = ds.VOCDataset(DATA_DIR, task="Detection", usage="train", shuffle=False, decode=True) 124 dataVoc2 = ds.VOCDataset(DATA_DIR, task="Detection", usage="train", shuffle=False, decode=True) 159 decode=True, shuffle=False) 162 decode=True, shuffle=False) 191 dataVoc1 = ds.VOCDataset(DATA_DIR, task="Detection", usage="train", shuffle=False, decode=True) 192 dataVoc2 = ds.VOCDataset(DATA_DIR, task="Detection", usage="train", shuffle=False, decode=True) [all …]
|
D | test_random_horizontal_flip_with_bbox.py | 40 dataVoc1 = ds.VOCDataset(DATA_DIR, task="Detection", usage="train", shuffle=False, decode=True) 42 dataVoc2 = ds.VOCDataset(DATA_DIR, task="Detection", usage="train", shuffle=False, decode=True) 69 decode=True, shuffle=False) 72 decode=True, shuffle=False) 103 dataVoc1 = ds.VOCDataset(DATA_DIR, task="Detection", usage="train", shuffle=False, decode=True) 105 dataVoc2 = ds.VOCDataset(DATA_DIR, task="Detection", usage="train", shuffle=False, decode=True) 139 dataVoc1 = ds.VOCDataset(DATA_DIR, task="Detection", usage="train", shuffle=False, decode=True) 140 dataVoc2 = ds.VOCDataset(DATA_DIR, task="Detection", usage="train", shuffle=False, decode=True) 177 dataVoc2 = ds.VOCDataset(DATA_DIR, task="Detection", usage="train", shuffle=False, decode=True) 199 dataVoc2 = ds.VOCDataset(DATA_DIR, task="Detection", usage="train", shuffle=False, decode=True) [all …]
|
D | test_random_vertical_flip_with_bbox.py | 40 …dataVoc1 = ds.VOCDataset(DATA_DIR_VOC, task="Detection", usage="train", shuffle=False, decode=True) 42 …dataVoc2 = ds.VOCDataset(DATA_DIR_VOC, task="Detection", usage="train", shuffle=False, decode=True) 70 decode=True, shuffle=False) 73 decode=True, shuffle=False) 104 …dataVoc1 = ds.VOCDataset(DATA_DIR_VOC, task="Detection", usage="train", shuffle=False, decode=True) 106 …dataVoc2 = ds.VOCDataset(DATA_DIR_VOC, task="Detection", usage="train", shuffle=False, decode=True) 139 …dataVoc1 = ds.VOCDataset(DATA_DIR_VOC, task="Detection", usage="train", shuffle=False, decode=True) 141 …dataVoc2 = ds.VOCDataset(DATA_DIR_VOC, task="Detection", usage="train", shuffle=False, decode=True) 175 …dataVoc2 = ds.VOCDataset(DATA_DIR_VOC, task="Detection", usage="train", shuffle=False, decode=True) 200 …data_voc2 = ds.VOCDataset(DATA_DIR_VOC, task="Detection", usage="train", shuffle=False, decode=Tru… [all …]
|
D | test_datasets_clue.py | 27 data = ds.CLUEDataset(TRAIN_FILE, task='AFQMC', usage='train', shuffle=False) 90 data = ds.CLUEDataset(TRAIN_FILE, task='AFQMC', usage='train', shuffle=False) 101 data = ds.CLUEDataset(TEST_FILE, task='AFQMC', usage='test', shuffle=False) 112 data = ds.CLUEDataset(EVAL_FILE, task='AFQMC', usage='eval', shuffle=False) 132 data = ds.CLUEDataset(TRAIN_FILE, task='CMNLI', usage='train', shuffle=False) 143 data = ds.CLUEDataset(TEST_FILE, task='CMNLI', usage='test', shuffle=False) 154 data = ds.CLUEDataset(EVAL_FILE, task='CMNLI', usage='eval', shuffle=False) 174 data = ds.CLUEDataset(TRAIN_FILE, task='CSL', usage='train', shuffle=False) 186 data = ds.CLUEDataset(TEST_FILE, task='CSL', usage='test', shuffle=False) 197 data = ds.CLUEDataset(EVAL_FILE, task='CSL', usage='eval', shuffle=False) [all …]
|
D | test_random_crop_and_resize_with_bbox.py | 45 …dataVoc1 = ds.VOCDataset(DATA_DIR_VOC, task="Detection", usage="train", shuffle=False, decode=True) 46 …dataVoc2 = ds.VOCDataset(DATA_DIR_VOC, task="Detection", usage="train", shuffle=False, decode=True) 81 decode=True, shuffle=False) 84 decode=True, shuffle=False) 111 …dataVoc1 = ds.VOCDataset(DATA_DIR_VOC, task="Detection", usage="train", shuffle=False, decode=True) 112 …dataVoc2 = ds.VOCDataset(DATA_DIR_VOC, task="Detection", usage="train", shuffle=False, decode=True) 148 …dataVoc2 = ds.VOCDataset(DATA_DIR_VOC, task="Detection", usage="train", shuffle=False, decode=True) 173 …dataVoc2 = ds.VOCDataset(DATA_DIR_VOC, task="Detection", usage="train", shuffle=False, decode=True) 199 …data_voc2 = ds.VOCDataset(DATA_DIR_VOC, task="Detection", usage="train", shuffle=False, decode=Tru… 201 …data_voc2 = ds.VOCDataset(DATA_DIR_VOC, task="Detection", usage="train", shuffle=False, decode=Tru… [all …]
|
D | test_opt_pass.py | 66 data1 = ds.TFRecordDataset(FILES, schema=SCHEMA_FILE, shuffle=ds.Shuffle.GLOBAL) 67 data2 = ds.TFRecordDataset(FILES, schema=SCHEMA_FILE, shuffle=ds.Shuffle.FILES) 68 data2 = data2.shuffle(10000) 76 data1 = ds.TextFileDataset(DATA_ALL_FILE, shuffle=ds.Shuffle.GLOBAL) 77 data2 = ds.TextFileDataset(DATA_ALL_FILE, shuffle=ds.Shuffle.FILES) 78 data2 = data2.shuffle(10000) 86 data1 = ds.CLUEDataset(TRAIN_FILE, task='AFQMC', usage='train', shuffle=ds.Shuffle.GLOBAL) 87 data2 = ds.CLUEDataset(TRAIN_FILE, task='AFQMC', usage='train', shuffle=ds.Shuffle.FILES) 88 data2 = data2.shuffle(10000)
|
/third_party/mindspore/mindspore/dataset/engine/ |
D | samplers.py | 29 def select_sampler(num_samples, input_sampler, shuffle, num_shards, shard_id): argument 54 (any(arg is not None for arg in [num_shards, shard_id, shuffle, num_samples]))): 57 ' shard_id: {}, shuffle: {}.'.format(num_samples, num_shards, shard_id, shuffle)) 68 if shuffle is None: 71 shuffle = True 72 … return DistributedSampler(num_shards, shard_id, shuffle=shuffle, num_samples=num_samples) 77 if shuffle is True: 80 … return DistributedSampler(num_shards, shard_id, shuffle=shuffle, num_samples=num_samples) 87 return DistributedSampler(num_shards, shard_id, shuffle=shuffle, num_samples=num_samples) 354 def __init__(self, num_shards, shard_id, shuffle=True, num_samples=None, offset=-1): argument [all …]
|
/third_party/skia/third_party/externals/libwebp/src/dsp/ |
D | lossless_enc_neon.c | 40 const uint8x16_t shuffle) { in DoGreenShuffle_NEON() argument 41 return vcombine_u8(vtbl1q_u8(argb, vget_low_u8(shuffle)), in DoGreenShuffle_NEON() 42 vtbl1q_u8(argb, vget_high_u8(shuffle))); in DoGreenShuffle_NEON() 49 const uint8x8_t shuffle) { in DoGreenShuffle_NEON() argument 50 return vcombine_u8(vtbl1_u8(vget_low_u8(argb), shuffle), in DoGreenShuffle_NEON() 51 vtbl1_u8(vget_high_u8(argb), shuffle)); in DoGreenShuffle_NEON() 59 const uint8x16_t shuffle = vld1q_u8(kGreenShuffle); in SubtractGreenFromBlueAndRed_NEON() local 61 const uint8x8_t shuffle = vld1_u8(kGreenShuffle); in SubtractGreenFromBlueAndRed_NEON() local 65 const uint8x16_t greens = DoGreenShuffle_NEON(argb, shuffle); in SubtractGreenFromBlueAndRed_NEON() 96 const uint8x16_t shuffle = vld1q_u8(kg0g0); in TransformColor_NEON() local [all …]
|
/third_party/flutter/skia/third_party/externals/libwebp/src/dsp/ |
D | lossless_enc_neon.c | 40 const uint8x16_t shuffle) { in DoGreenShuffle_NEON() argument 41 return vcombine_u8(vtbl1q_u8(argb, vget_low_u8(shuffle)), in DoGreenShuffle_NEON() 42 vtbl1q_u8(argb, vget_high_u8(shuffle))); in DoGreenShuffle_NEON() 49 const uint8x8_t shuffle) { in DoGreenShuffle_NEON() argument 50 return vcombine_u8(vtbl1_u8(vget_low_u8(argb), shuffle), in DoGreenShuffle_NEON() 51 vtbl1_u8(vget_high_u8(argb), shuffle)); in DoGreenShuffle_NEON() 59 const uint8x16_t shuffle = vld1q_u8(kGreenShuffle); in SubtractGreenFromBlueAndRed_NEON() local 61 const uint8x8_t shuffle = vld1_u8(kGreenShuffle); in SubtractGreenFromBlueAndRed_NEON() local 65 const uint8x16_t greens = DoGreenShuffle_NEON(argb, shuffle); in SubtractGreenFromBlueAndRed_NEON() 96 const uint8x16_t shuffle = vld1q_u8(kg0g0); in TransformColor_NEON() local [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
D | randen_slow.cc | 309 constexpr size_t shuffle[RandenTraits::kFeistelBlocks] = { in BlockShuffle() local 318 const absl::uint128 v0 = source[shuffle[i]]; in BlockShuffle() 324 const absl::uint128 v0 = state[shuffle[0]]; in BlockShuffle() 325 const absl::uint128 v1 = state[shuffle[1]]; in BlockShuffle() 326 const absl::uint128 v2 = state[shuffle[2]]; in BlockShuffle() 327 const absl::uint128 v3 = state[shuffle[3]]; in BlockShuffle() 328 const absl::uint128 v4 = state[shuffle[4]]; in BlockShuffle() 329 const absl::uint128 v5 = state[shuffle[5]]; in BlockShuffle() 330 const absl::uint128 v6 = state[shuffle[6]]; in BlockShuffle() 331 const absl::uint128 v7 = state[shuffle[7]]; in BlockShuffle() [all …]
|
/third_party/abseil-cpp/absl/random/internal/ |
D | randen_slow.cc | 320 constexpr size_t shuffle[RandenTraits::kFeistelBlocks] = { in BlockShuffle() local 329 const u64x2 v0 = source[shuffle[i]]; in BlockShuffle() 335 const u64x2 v0 = state[shuffle[0]]; in BlockShuffle() 336 const u64x2 v1 = state[shuffle[1]]; in BlockShuffle() 337 const u64x2 v2 = state[shuffle[2]]; in BlockShuffle() 338 const u64x2 v3 = state[shuffle[3]]; in BlockShuffle() 339 const u64x2 v4 = state[shuffle[4]]; in BlockShuffle() 340 const u64x2 v5 = state[shuffle[5]]; in BlockShuffle() 341 const u64x2 v6 = state[shuffle[6]]; in BlockShuffle() 342 const u64x2 v7 = state[shuffle[7]]; in BlockShuffle() [all …]
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_opt_intrinsics.c | 34 nir_intrinsic_instr *shuffle = nir_src_as_intrinsic(src); in src_is_single_use_shuffle() local 35 if (shuffle == NULL || shuffle->intrinsic != nir_intrinsic_shuffle) in src_is_single_use_shuffle() 42 if (!list_is_empty(&shuffle->dest.ssa.if_uses) || in src_is_single_use_shuffle() 43 !list_is_singular(&shuffle->dest.ssa.uses)) in src_is_single_use_shuffle() 46 assert(shuffle->src[0].is_ssa); in src_is_single_use_shuffle() 47 assert(shuffle->src[1].is_ssa); in src_is_single_use_shuffle() 49 *data = shuffle->src[0].ssa; in src_is_single_use_shuffle() 50 *index = shuffle->src[1].ssa; in src_is_single_use_shuffle() 88 nir_ssa_def *shuffle = nir_shuffle(b, data1, index); in try_opt_bcsel_of_shuffle() local 90 return shuffle; in try_opt_bcsel_of_shuffle()
|
/third_party/skia/src/gpu/geometry/ |
D | GrQuadUtils.cpp | 32 return skvx::shuffle<2, 0, 3, 1>(v); in next_cw() 37 return skvx::shuffle<1, 3, 0, 2>(v); in next_ccw() 42 return skvx::shuffle<3, 2, 1, 0>(v); in next_diag() 738 V4f d = min(x2d * skvx::shuffle<1,2,1,2>(fA) + y2d * skvx::shuffle<1,2,1,2>(fB) in isSubpixel() 739 + skvx::shuffle<1,2,1,2>(fC), in isSubpixel() 740 x2d * skvx::shuffle<3,3,0,0>(fA) + y2d * skvx::shuffle<3,3,0,0>(fB) in isSubpixel() 741 + skvx::shuffle<3,3,0,0>(fC)); in isSubpixel() 773 V4f dists1 = px * skvx::shuffle<3, 3, 0, 0>(fA) + in computeDegenerateQuad() 774 py * skvx::shuffle<3, 3, 0, 0>(fB) + in computeDegenerateQuad() 775 skvx::shuffle<3, 3, 0, 0>(oc); in computeDegenerateQuad() [all …]
|
/third_party/mindspore/tests/st/model_zoo_tests/DeepFM/src/ |
D | dataset.py | 87 np.random.shuffle(parts) 93 def _generator(self, X, y, batch_size, shuffle=True): argument 106 if shuffle: 107 for _ in range(int(shuffle)): 108 np.random.shuffle(sample_index) 137 shuffle=random_sample) 199 shuffle = train_mode 204 num_shards=rank_size, shard_id=rank_id, shuffle=shuffle, 209 shuffle=shuffle, num_parallel_workers=8) 240 shuffle = train_mode [all …]
|
/third_party/mindspore/tests/st/model_zoo_tests/wide_and_deep/python_file_for_ci/ |
D | datasets.py | 40 shuffle = train_mode 50 data_set = ds.TFRecordDataset(dataset_files=dataset_files, shuffle=shuffle, schema=schema, 54 data_set = ds.TFRecordDataset(dataset_files=dataset_files, shuffle=shuffle, schema=schema, 88 shuffle = train_mode 93 num_shards=rank_size, shard_id=rank_id, shuffle=shuffle, 98 shuffle=shuffle, num_parallel_workers=8)
|
/third_party/flutter/skia/src/gpu/ops/ |
D | GrQuadPerEdgeAA.cpp | 66 return skvx::shuffle<2, 0, 3, 1>(v); in nextCW() 70 return skvx::shuffle<1, 3, 0, 2>(v); in nextCCW() 78 *e1 = if_then_else(bad, -skvx::shuffle<3, 2, 1, 0>(*e1), *e1); in correct_bad_edges() 79 *e2 = if_then_else(bad, -skvx::shuffle<3, 2, 1, 0>(*e2), *e2); in correct_bad_edges() 81 *e3 = if_then_else(bad, -skvx::shuffle<3, 2, 1, 0>(*e3), *e3); in correct_bad_edges() 193 V4f e1x = skvx::shuffle<2, 3, 2, 3>(quad->fX) - skvx::shuffle<0, 1, 0, 1>(quad->fX); in outset_projected_vertices() 194 V4f e1y = skvx::shuffle<2, 3, 2, 3>(quad->fY) - skvx::shuffle<0, 1, 0, 1>(quad->fY); in outset_projected_vertices() 195 V4f e1w = skvx::shuffle<2, 3, 2, 3>(quad->fW) - skvx::shuffle<0, 1, 0, 1>(quad->fW); in outset_projected_vertices() 199 V4f e2x = skvx::shuffle<1, 1, 3, 3>(quad->fX) - skvx::shuffle<0, 0, 2, 2>(quad->fX); in outset_projected_vertices() 200 V4f e2y = skvx::shuffle<1, 1, 3, 3>(quad->fY) - skvx::shuffle<0, 0, 2, 2>(quad->fY); in outset_projected_vertices() [all …]
|
/third_party/skia/docs/examples/ |
D | subset_example.cpp | 8 int shuffle[N * N]; in draw() local 10 shuffle[i] = i; in draw() 14 std::swap(shuffle[i], shuffle[rand() % (N * N - i) + i]); in draw() 20 int x = shuffle[(N * i) + j] % N; in draw() 21 int y = shuffle[(N * i) + j] / N; in draw()
|