Lines Matching refs:part
55 PartRecord part; in Download() local
61 part = partsToDownload.front(); in Download()
68 uint64_t pos = partSize_ * (part.partNumber - 1); in Download()
69 uint64_t start = part.offset; in Download()
70 uint64_t end = start + part.size - 1; in Download()
98 if (!!(request_.Flags() & 0x40000000) && part.partNumber == 2) { in Download()
109 …part.crc64 = std::strtoull(outcome.result().Metadata().HttpMetaData().at("x-oss-hash-crc64ecma-by-… in Download()
110 downloadedParts.push_back(part); in Download()
303 for (PartRecord& part : record.parts) { in validateRecord()
304 root["parts"][index]["partNumber"] = part.partNumber; in validateRecord()
305 root["parts"][index]["size"] = part.size; in validateRecord()
306 root["parts"][index]["crc64"] = part.crc64; in validateRecord()
345 PartRecord part; in loadRecord() local
348 part.partNumber = partValue["partNumber"].asInt(); in loadRecord()
349 part.size = partValue["size"].asInt64(); in loadRecord()
350 part.crc64 = partValue["crc64"].asUInt64(); in loadRecord()
351 record_.parts.push_back(part); in loadRecord()
405 for (PartRecord &part : record_.parts) { in getPartsToDownload()
406 partNumbersDownloaded.insert(part.partNumber); in getPartsToDownload()
407 consumedSize_ += part.size; in getPartsToDownload()
425 PartRecord part; in getPartsToDownload() local
426 part.partNumber = index; in getPartsToDownload()
427 part.offset = offset; in getPartsToDownload()
429 part.size = end - offset + 1; in getPartsToDownload()
432 part.size = partSize_; in getPartsToDownload()
435 auto iterNum = partNumbersDownloaded.find(part.partNumber); in getPartsToDownload()
437 partsToDownload.push_back(part); in getPartsToDownload()