Home
last modified time | relevance | path

Searched refs:page_size_ (Results 1 – 15 of 15) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/include/
Dshard_page.h48 page_size_(page_size) {} in Page()
64 uint64_t GetPageSize() const { return page_size_; } in GetPageSize()
72 void SetPageSize(const uint64_t &page_size) { page_size_ = page_size; } in SetPageSize()
92 uint64_t page_size_; variable
Dshard_header.h122 uint64_t GetPageSize() const { return page_size_; } in GetPageSize()
128 void SetPageSize(const uint64_t &page_size) { page_size_ = page_size; } in SetPageSize()
188 uint64_t page_size_; variable
Dshard_index_generator.h113 uint64_t page_size_; variable
Dshard_writer.h234 uint64_t page_size_; // page size variable
Dshard_reader.h297 uint64_t page_size_; // page size variable
/third_party/skia/third_party/externals/libwebp/src/enc/
Dtoken_enc.c50 b->page_size_ = (page_size < MIN_PAGE_SIZE) ? MIN_PAGE_SIZE : page_size; in VP8TBufferInit()
62 VP8TBufferInit(b, b->page_size_); in VP8TBufferClear()
69 const size_t size = sizeof(*page) + b->page_size_ * sizeof(token_t); in TBufferNewPage()
80 b->left_ = b->page_size_; in TBufferNewPage()
207 int n = b->page_size_; in VP8EmitTokens()
233 int n = b->page_size_; in VP8EstimateTokenSize()
Dvp8i_enc.h318 int page_size_; // number of tokens per page member
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/
Dtoken_enc.c50 b->page_size_ = (page_size < MIN_PAGE_SIZE) ? MIN_PAGE_SIZE : page_size; in VP8TBufferInit()
62 VP8TBufferInit(b, b->page_size_); in VP8TBufferClear()
69 const size_t size = sizeof(*page) + b->page_size_ * sizeof(token_t); in TBufferNewPage()
80 b->left_ = b->page_size_; in TBufferNewPage()
207 int n = b->page_size_; in VP8EmitTokens()
233 int n = b->page_size_; in VP8EstimateTokenSize()
Dvp8i_enc.h319 int page_size_; // number of tokens per page member
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/meta/
Dshard_page.cc43 str_page["page_size"] = page_size_; in GetPage()
49 page_size_ = row_group_ids_.back().second; in DeleteLastGroupId()
Dshard_header.cc37 ShardHeader::ShardHeader() : shard_count_(0), header_size_(0), page_size_(0), compression_size_(0) { in ShardHeader()
53 page_size_ = header["page_size"].get<uint64_t>(); in InitializeHeader()
310 s += "\"page_size\":" + std::to_string(page_size_) + ","; in SerializeHeader()
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/io/
Dshard_writer.cc33 …: shard_count_(1), header_size_(kDefaultHeaderSize), page_size_(kDefaultPageSize), row_count_(0), … in ShardWriter()
208 shard_header_->SetPageSize(page_size_); in SetShardHeader()
231 page_size_ = page_size; in SetPageSize()
733 if (n_byte_blob == 0 || n_byte_blob + blob_data_size_[i] > page_size_ || in CutRowGroup()
734 n_byte_raw + raw_data_size_[i] > page_size_) { in CutRowGroup()
760 …auto &io_seekp = file_streams_[shard_id]->seekp(page_size_ * page_id + header_size_ + bytes_page, … in AppendBlobPage()
788 …auto &io_seekp = file_streams_[shard_id]->seekp(page_size_ * (page_id + 1) + header_size_, std::io… in NewBlobPage()
817 page_size_) { in ShiftRawPage()
833 page_size_ * last_raw_page_id + header_size_ + last_row_group_id_offset, std::ios::beg); in ShiftRawPage()
846 …auto &io_seekp = file_streams_[shard_id]->seekp(page_size_ * (page_id + 1) + header_size_, std::io… in ShiftRawPage()
[all …]
Dshard_index_generator.cc32 page_size_(0), in ShardIndexGenerator()
373 …in.seekg(page_size_ * cur_blob_page->GetPageID() + header_size_ + cur_blob_page_offset, std::ios::… in AddBlobPageInfo()
435 …in.seekg(page_size_ * (page_ptr->GetPageID()) + header_size_ + cur_raw_page_offset, std::ios::beg); in GenerateRowData()
524 page_size_ = shard_header_.GetPageSize(); in WriteToDatabase()
Dshard_reader.cc45 page_size_(0), in ShardReader()
98 page_size_ = shard_header_->GetPageSize(); in Init()
125 auto disk_size = page_size_ * row_group_summary.size(); in Init()
346 … auto &io_seekg = fs->seekg(page_size_ * raw_page_id + header_size_ + label_start, std::ios::beg); in ConvertLabelToJson()
561 uint64_t page_offset = page_size_ * page_ptr->GetPageID() + header_size_; in ReadRowGroupBrief()
581 uint64_t page_offset = page_size_ * page_ptr->GetPageID() + header_size_; in ReadRowGroupCriteria()
765 … auto &io_seekg = fs->seekg(page_size_ * raw_page_id + header_size_ + label_start, std::ios::beg); in GetLabelsFromBinaryFile()
1284 auto file_offset = header_size_ + page_size_ * (page_ptr->GetPageID()) + blob_start; in ConsumerOneTask()
Dshard_segment.cc208 auto file_offset = header_size_ + page_size_ * page_ptr->GetPageID() + offset[0]; in PackImages()