Home
last modified time | relevance | path

Searched refs:row_count (Results 1 – 25 of 38) sorted by relevance

12

/third_party/mindspore/tests/ut/cpp/dataset/
Dvoc_op_test.cc54 int row_count = 0; in TEST_F() local
61 row_count++; in TEST_F()
63 ASSERT_EQ(row_count, 9); in TEST_F()
77 int row_count = 0; in TEST_F() local
84 row_count++; in TEST_F()
86 ASSERT_EQ(row_count, 10); in TEST_F()
104 int row_count = 0; in TEST_F() local
111 row_count++; in TEST_F()
113 ASSERT_EQ(row_count, 6); in TEST_F()
DtfReader_op_test.cc76 int row_count = 0; in TEST_F() local
87 row_count++; in TEST_F()
90 ASSERT_EQ(row_count, 12); in TEST_F()
133 int row_count = 0; in TEST_F() local
144 row_count++; in TEST_F()
147 ASSERT_EQ(row_count, 12); in TEST_F()
190 int row_count = 0; in TEST_F() local
201 row_count++; in TEST_F()
204 ASSERT_EQ(row_count, 12); in TEST_F()
247 int row_count = 0; in TEST_F() local
[all …]
Dshuffle_op_test.cc89 int row_count = 0; in TEST_F() local
91 MS_LOG(INFO) << "Row display for row #: " << row_count << "."; in TEST_F()
101 row_count++; in TEST_F()
103 ASSERT_EQ(row_count, 10); in TEST_F()
159 int row_count = 0; in TEST_F() local
161 MS_LOG(INFO) << "Row display for row #: " << row_count << "."; in TEST_F()
171 row_count++; in TEST_F()
173 ASSERT_EQ(row_count, 10); in TEST_F()
228 int row_count = 0; in TEST_F() local
230 MS_LOG(INFO) << "Row display for row #: " << row_count << "."; in TEST_F()
[all …]
Dmind_record_op_test.cc109 int row_count = 0; in TEST_F() local
111 MS_LOG(INFO) << "Row display for row #: " << row_count; in TEST_F()
122 row_count++; in TEST_F()
173 int row_count = 0; in TEST_F() local
175 MS_LOG(INFO) << "Row display for row #: " << row_count; in TEST_F()
186 row_count++; in TEST_F()
238 int row_count = 0; in TEST_F() local
240 MS_LOG(INFO) << "Row display for row #: " << row_count; in TEST_F()
251 row_count++; in TEST_F()
306 int row_count = 0; in TEST_F() local
[all …]
Dzip_op_test.cc104 int row_count = 0; in TEST_F() local
106 MS_LOG(INFO) << "Row display for row #: " << row_count << "."; in TEST_F()
116 row_count++; in TEST_F()
118 ASSERT_EQ(row_count, 3); // Should be 3 rows fetched in TEST_F()
199 int row_count = 0; in TEST_F() local
201 MS_LOG(INFO) << "Row display for row #: " << row_count << "."; in TEST_F()
211 row_count++; in TEST_F()
213 ASSERT_EQ(row_count, 9); // Should be 9 rows fetched in TEST_F()
Dtake_op_test.cc84 int row_count = 0; in TEST_F() local
86 MS_LOG(DEBUG) << "Row display for row #: " << row_count << "."; in TEST_F()
97 row_count++; in TEST_F()
100 ASSERT_EQ(row_count, 5); in TEST_F()
Dskip_op_test.cc78 int row_count = 0; in TEST_F() local
80 MS_LOG(INFO) << "Row display for row #: " << row_count << "."; in TEST_F()
91 row_count++; in TEST_F()
94 ASSERT_EQ(row_count, 7); in TEST_F()
Dproject_op_test.cc83 int row_count = 0; in TEST_F() local
85 MS_LOG(INFO) << "Row display for row #: " << row_count << "."; in TEST_F()
98 row_count++; in TEST_F()
101 ASSERT_EQ(row_count, 12); in TEST_F()
Drename_op_test.cc96 int row_count = 0; in TEST_F() local
98 MS_LOG(INFO) << "Row display for row #: " << row_count << "."; in TEST_F()
108 row_count++; in TEST_F()
110 ASSERT_EQ(row_count, 3); // Should be 3 rows fetched in TEST_F()
Dconcat_op_test.cc112 int row_count = 0; in TEST_F() local
114 MS_LOG(INFO) << "Row display for row #: " << row_count << "."; in TEST_F()
124 row_count++; in TEST_F()
126 ASSERT_EQ(row_count, 2); // Should be 2 rows fetched in TEST_F()
Dclient_config_test.cc114 int row_count = 0; in TEST_F() local
118 row_count++; in TEST_F()
120 ASSERT_EQ(row_count, 10); // Should be 10 rows fetched in TEST_F()
Dtext_file_op_test.cc82 int row_count = 0; in TEST_F() local
93 row_count++; in TEST_F()
96 ASSERT_EQ(row_count, 3); in TEST_F()
Dclue_op_test.cc97 int row_count = 0; in TEST_F() local
108 row_count++; in TEST_F()
111 ASSERT_EQ(row_count, 3); in TEST_F()
Dmap_op_test.cc437 uint32_t row_count = 0; in TEST_F() local
439 row_count++; in TEST_F()
440 MS_LOG(INFO) << "row_count: " << row_count << "."; in TEST_F()
444 ASSERT_EQ(row_count, 10 * num_repeats); in TEST_F()
499 uint32_t row_count = 0; in TEST_F() local
501 row_count++; in TEST_F()
502 MS_LOG(INFO) << "row_count: " << row_count << "."; in TEST_F()
506 ASSERT_EQ(row_count, 10 * num_repeats); in TEST_F()
575 uint32_t row_count = 0; in TEST_F() local
577 row_count++; in TEST_F()
[all …]
/third_party/mindspore/tests/ut/python/dataset/
Dtest_num_samples.py26 row_count = 0
28 row_count += 1
29 assert row_count == 1
Dtest_cache_nomap.py1278 row_count = 0
1280 row_count += 1
1281 logger.info("Number of data in ds1: {} ".format(row_count))
1282 assert row_count == 3
1319 row_count = 0
1321 row_count += 1
1322 logger.info("Number of data in ds1: {} ".format(row_count))
1323 assert row_count == 3
1366 row_count = 0
1368 row_count += 1
[all …]
Dtest_epoch_ctrl.py58 row_count = 0
61 row_count += 1
62 assert row_count == int(limit_dataset * num_repeat / batch_size)
63 logger.debug("row_count: ", row_count)
65 sample_count += row_count
Dtest_cache_map.py1370 row_count = 0
1372 row_count += 1
1373 logger.info("Number of data in ds1: {} ".format(row_count))
1374 assert row_count == 2
1411 row_count = 0
1413 row_count += 1
1414 logger.info("Number of data in ds1: {} ".format(row_count))
1415 assert row_count == 2
1458 row_count = 0
1460 row_count += 1
[all …]
/third_party/gstreamer/gstplugins_bad/ext/closedcaption/
Dgstcea708decoder.c782 guint8 row_count = 0; in gst_cea708dec_define_window() local
833 row_count = (dtvcc_buffer[index + 3] & 0xF) + 1; in gst_cea708dec_define_window()
869 window->row_count = row_count; in gst_cea708dec_define_window()
876 if (window->row_count > WINDOW_MAX_ROWS) { in gst_cea708dec_define_window()
877 GST_WARNING ("window row count %d is too large", window->row_count); in gst_cea708dec_define_window()
878 window->row_count = WINDOW_MAX_ROWS; in gst_cea708dec_define_window()
905 window->row_count, in gst_cea708dec_define_window()
1012 for (row = 0; row < window->row_count; row++) { in gst_cea708dec_show_pango_window()
1028 for (row = 0; row < window->row_count; row++) { in gst_cea708dec_show_pango_window()
1246 if (row != window->row_count - 1) { in gst_cea708dec_show_pango_window()
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/io/
Dshard_writer.cc519 int *row_count) { in WriteRawDataPreCheck() argument
546 *row_count = (*count_ptr).second; in WriteRawDataPreCheck()
594 int row_count = 0; in WriteRawData() local
597 RETURN_IF_NOT_OK(WriteRawDataPreCheck(raw_data, blob_data, sign, &schema_count, &row_count)); in WriteRawData()
598 …CHECK_FAIL_RETURN_UNEXPECTED(row_count >= kInt0, "Invalid data, waw data size should be positive."… in WriteRawData()
599 if (row_count == kInt0) { in WriteRawData()
602 std::vector<std::vector<uint8_t>> bin_raw_data(row_count * schema_count); in WriteRawData()
604 RETURN_IF_NOT_OK(SerializeRawData(raw_data, bin_raw_data, row_count)); in WriteRawData()
646 auto row_count = blob_data_iter->second.size(); in WriteRawData() local
648 std::vector<std::vector<uint8_t>> bin_blob_data(row_count * schema_count); in WriteRawData()
[all …]
/third_party/icu/icu4c/source/test/intltest/
Drestsnew.cpp869 int32_t row_count = kERROR_COUNT, column_count = kERROR_COUNT; in testTag() local
882 row_count=array2d.getSize(); in testTag()
883 CONFIRM_GE(row_count,1); in testTag()
885 for(row=0; row<row_count; ++row){ in testTag()
906 CONFIRM_EQ(row_count,kERROR_COUNT); in testTag()
908 row_count=column_count=0; in testTag()
918 row = row_count ? (randi(row_count * 3) - row_count) : (randi(200) - 100); in testTag()
932 expected_status = (row >= 0 && row < row_count && col >= 0 && col < column_count) ? in testTag()
/third_party/spirv-tools/source/fuzz/
Dfuzzer_pass.cpp257 uint32_t row_count) { in FindOrCreateMatrixType() argument
260 assert(row_count >= 2 && row_count <= 4 && in FindOrCreateMatrixType()
263 FindOrCreateVectorType(FindOrCreateFloatType(32), row_count); in FindOrCreateMatrixType()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer_pass.cpp301 uint32_t row_count) { in FindOrCreateMatrixType() argument
304 assert(row_count >= 2 && row_count <= 4 && in FindOrCreateMatrixType()
307 FindOrCreateVectorType(FindOrCreateFloatType(32), row_count); in FindOrCreateMatrixType()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dfuzzer_pass.cpp301 uint32_t row_count) { in FindOrCreateMatrixType() argument
304 assert(row_count >= 2 && row_count <= 4 && in FindOrCreateMatrixType()
307 FindOrCreateVectorType(FindOrCreateFloatType(32), row_count); in FindOrCreateMatrixType()
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/include/
Dshard_writer.h133 uint32_t row_count);
212 bool sign, int *schema_count, int *row_count);

12