Searched refs:GetPageID (Results 1 – 7 of 7) sorted by relevance
/third_party/mindspore/tests/ut/cpp/mindrecord/ |
D | ut_shard_page_test.cc | 60 EXPECT_EQ(kGoldenPageId, page.GetPageID()); in TEST_F() 89 EXPECT_EQ(kGoldenPageId, page.GetPageID()); in TEST_F() 105 EXPECT_EQ(kGoldenPageId, page.GetPageID()); in TEST_F() 116 EXPECT_EQ(kGoldenPageId, page.GetPageID()); in TEST_F()
|
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/include/ |
D | shard_page.h | 56 int GetPageID() const { return page_id_; } in GetPageID() function
|
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/io/ |
D | shard_index_generator.cc | 368 row_data.emplace_back(":PAGE_ID_BLOB", "INTEGER", std::to_string(cur_blob_page->GetPageID())); in AddBlobPageInfo() 373 …in.seekg(page_size_ * cur_blob_page->GetPageID() + header_size_ + cur_blob_page_offset, std::ios::… in AddBlobPageInfo() 428 row_data.emplace_back(":PAGE_ID_RAW", "INTEGER", std::to_string(page_ptr->GetPageID())); in GenerateRowData() 435 …in.seekg(page_size_ * (page_ptr->GetPageID()) + header_size_ + cur_raw_page_offset, std::ios::beg); in GenerateRowData()
|
D | shard_reader.cc | 561 uint64_t page_offset = page_size_ * page_ptr->GetPageID() + header_size_; in ReadRowGroupBrief() 562 std::vector<std::vector<uint64_t>> image_offset = GetImageOffset(page_ptr->GetPageID(), shard_id); in ReadRowGroupBrief() 564 RETURN_IF_NOT_OK(GetLabels(page_ptr->GetPageID(), shard_id, columns, {"", ""}, &labels_ptr)); in ReadRowGroupBrief() 581 uint64_t page_offset = page_size_ * page_ptr->GetPageID() + header_size_; in ReadRowGroupCriteria() 582 …std::vector<std::vector<uint64_t>> image_offset = GetImageOffset(page_ptr->GetPageID(), shard_id, … in ReadRowGroupCriteria() 587 RETURN_IF_NOT_OK(GetLabels(page_ptr->GetPageID(), shard_id, columns, criteria, &labels_ptr)); in ReadRowGroupCriteria() 1284 auto file_offset = header_size_ + page_size_ * (page_ptr->GetPageID()) + blob_start; in ConsumerOneTask()
|
D | shard_writer.cc | 758 auto page_id = last_blob_page->GetPageID(); in AppendBlobPage() 822 auto last_raw_page_id = last_raw_page->GetPageID(); in ShiftRawPage() 864 int page_type_id = last_raw_page->GetPageID(); in ShiftRawPage() 899 auto page_type_id = last_raw_page ? last_raw_page->GetPageID() : -1; in EmptyRawPage() 910 auto last_raw_page_id = last_raw_page->GetPageID(); in AppendRawPage()
|
D | shard_segment.cc | 208 auto file_offset = header_size_ + page_size_ * page_ptr->GetPageID() + offset[0]; in PackImages()
|
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/meta/ |
D | shard_header.cc | 381 int page_id = new_page->GetPageID(); in SetPage() 391 int page_id = new_page->GetPageID(); in AddPage() 413 last_page_id = pages_[shard_id][i - 1]->GetPageID(); in GetLastPageIdByType()
|