Home
last modified time | relevance | path

Searched refs:io_seekg (Results 1 – 5 of 5) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/io/
Dshard_segment.cc209 auto &io_seekg = file_streams_random_[0][shard_id]->seekg(file_offset, std::ios::beg); in PackImages() local
210 if (!io_seekg.good() || io_seekg.fail() || io_seekg.bad()) { in PackImages()
Dshard_reader.cc346 … auto &io_seekg = fs->seekg(page_size_ * raw_page_id + header_size_ + label_start, std::ios::beg); in ConvertLabelToJson() local
347 if (!io_seekg.good() || io_seekg.fail() || io_seekg.bad()) { in ConvertLabelToJson()
765 … auto &io_seekg = fs->seekg(page_size_ * raw_page_id + header_size_ + label_start, std::ios::beg); in GetLabelsFromBinaryFile() local
766 if (!io_seekg.good() || io_seekg.fail() || io_seekg.bad()) { in GetLabelsFromBinaryFile()
1286 auto &io_seekg = file_streams_random_[consumer_id][shard_id]->seekg(file_offset, std::ios::beg); in ConsumerOneTask() local
1287 if (!io_seekg.good() || io_seekg.fail() || io_seekg.bad()) { in ConsumerOneTask()
Dshard_index_generator.cc434 auto &io_seekg = in GenerateRowData() local
436 if (!io_seekg.good() || io_seekg.fail() || io_seekg.bad()) { in GenerateRowData()
Dshard_writer.cc832 auto &io_seekg = file_streams_[shard_id]->seekg( in ShiftRawPage() local
834 if (!io_seekg.good() || io_seekg.fail() || io_seekg.bad()) { in ShiftRawPage()
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/meta/
Dshard_header.cc68 auto &io_seekg = fin.seekg(0, std::ios::end); in CheckFileStatus() local
69 if (!io_seekg.good() || io_seekg.fail() || io_seekg.bad()) { in CheckFileStatus()