/dports/www/aria2/aria2-1.36.0/test/ |
H A D | DefaultPieceStorageTest.cc | 236 CPPUNIT_ASSERT_EQUAL((int64_t)0LL, pss.getCompletedLength()); in testCompletePiece() 240 CPPUNIT_ASSERT_EQUAL((int64_t)128LL, pss.getCompletedLength()); in testCompletePiece() 244 CPPUNIT_ASSERT_EQUAL((int64_t)256LL, pss.getCompletedLength()); in testCompletePiece() 324 ps.getCompletedLength()); in testMarkPiecesDone() 333 CPPUNIT_ASSERT_EQUAL((int64_t)0, ps.getCompletedLength()); in testMarkPiecesDone() 342 CPPUNIT_ASSERT_EQUAL((int64_t)0, ps.getCompletedLength()); in testGetCompletedLength() 345 CPPUNIT_ASSERT_EQUAL((int64_t)250_m, ps.getCompletedLength()); in testGetCompletedLength() 354 CPPUNIT_ASSERT_EQUAL((int64_t)512_k, p->getCompletedLength()); in testGetCompletedLength() 358 CPPUNIT_ASSERT_EQUAL((int64_t)251_m, ps.getCompletedLength()); in testGetCompletedLength() 362 CPPUNIT_ASSERT_EQUAL((int64_t)256_m, ps.getCompletedLength()); in testGetCompletedLength()
|
H A D | PieceTest.cc | 72 p.getCompletedLength()); in testGetCompletedLength()
|
/dports/www/aria2/aria2-1.36.0/src/ |
H A D | ConsoleStatCalc.cc | 110 if (rg->getCompletedLength() > 0) { in printSizeProgress() 113 << ((stat.allTimeUploadLength * 10) / rg->getCompletedLength()) / 10.0 in printSizeProgress() 124 o << sizeFormatter(rg->getCompletedLength()) << "B/" in printSizeProgress() 128 << 100 * rg->getCompletedLength() / rg->getTotalLength() << "%)"; in printSizeProgress() 177 (rg->getTotalLength() - rg->getCompletedLength()) / stat.downloadSpeed; in printProgress()
|
H A D | PeerSessionResource.cc | 220 int64_t PeerSessionResource::getCompletedLength() const in getCompletedLength() function in aria2::PeerSessionResource 222 return bitfieldMan_->getCompletedLength(); in getCompletedLength()
|
H A D | BitfieldMan.h | 70 int64_t getCompletedLength(bool useFilter) const; 249 int64_t getCompletedLength() const { return cachedCompletedLength_; } in getCompletedLength() function
|
H A D | ShareRatioSeedCriteria.cc | 54 int64_t completedLength = pieceStorage_->getCompletedLength(); in evaluate()
|
H A D | DefaultPieceStorage.cc | 530 if (piece->getCompletedLength() == 0) { in cancelPiece() 556 int64_t DefaultPieceStorage::getCompletedLength() in getCompletedLength() function in aria2::DefaultPieceStorage 559 bitfieldMan_->getCompletedLength() + getInFlightPieceCompletedLength(); in getCompletedLength() 577 len += elem->getCompletedLength(); in getInFlightPieceCompletedLength() 587 len += elem->getCompletedLength(); in getInFlightPieceFilteredCompletedLength()
|
H A D | UnknownLengthPieceStorage.h | 165 virtual int64_t getCompletedLength() CXX11_OVERRIDE; 169 return getCompletedLength(); in getFilteredCompletedLength()
|
H A D | Peer.cc | 374 int64_t Peer::getCompletedLength() const in getCompletedLength() function in aria2::Peer 377 return res_->getCompletedLength(); in getCompletedLength()
|
H A D | RequestGroup.h | 254 int64_t getCompletedLength() const; 258 return getTotalLength() - getCompletedLength(); in getPendingLength()
|
H A D | PeerSessionResource.h | 197 int64_t getCompletedLength() const;
|
H A D | Piece.cc | 190 int64_t Piece::getCompletedLength() { return bitfield_->getCompletedLength(); } in getCompletedLength() function in aria2::Piece
|
H A D | DefaultBtAnnounce.cc | 159 pieceStorage_->getTotalLength() - pieceStorage_->getCompletedLength(); in getAnnounceUrl() 218 pieceStorage_->getTotalLength() - pieceStorage_->getCompletedLength(); in createUDPTrackerRequest()
|
H A D | Peer.h | 252 int64_t getCompletedLength() const;
|
H A D | Piece.h | 142 int64_t getCompletedLength();
|
H A D | RequestGroup.cc | 908 int64_t RequestGroup::getCompletedLength() const in getCompletedLength() function in aria2::RequestGroup 918 return pieceStorage_->getCompletedLength(); in getCompletedLength() 1193 res->completedLength = getCompletedLength(); in createDownloadResult() 1222 int64_t completedLength = getCompletedLength(); in reportDownloadFinished()
|
H A D | UnknownLengthPieceStorage.cc | 213 int64_t UnknownLengthPieceStorage::getCompletedLength() in getCompletedLength() function in aria2::UnknownLengthPieceStorage
|
H A D | PieceStorage.h | 182 virtual int64_t getCompletedLength() = 0;
|
H A D | BitfieldMan.cc | 823 int64_t BitfieldMan::getCompletedLength(bool useFilter) const in getCompletedLength() function in aria2::BitfieldMan 837 return getCompletedLength(false); in getCompletedLengthNow() 842 return getCompletedLength(true); in getFilteredCompletedLengthNow()
|
H A D | aria2api.cc | 682 virtual int64_t getCompletedLength() CXX11_OVERRIDE in getCompletedLength() function 684 return group->getCompletedLength(); in getCompletedLength() 815 virtual int64_t getCompletedLength() CXX11_OVERRIDE in getCompletedLength() function
|
H A D | DefaultBtInteractive.cc | 219 else if (pieceStorage_->getCompletedLength() > 0) { in addBitfieldMessageToQueue() 227 if (pieceStorage_->getCompletedLength() > 0) { in addBitfieldMessageToQueue()
|
/dports/www/aria2/aria2-1.36.0/examples/ |
H A D | libaria2ex.cc | 130 << dh->getCompletedLength() << "/" << dh->getTotalLength() in main() 133 ? (100 * dh->getCompletedLength() / in main()
|
/dports/devel/kiwix-lib/kiwix-lib-9.4.1/include/ |
H A D | downloader.h | 65 uint64_t getCompletedLength() { return m_completedLength; } in getCompletedLength() function
|
/dports/www/aria2/aria2-1.36.0/src/includes/aria2/ |
H A D | aria2.h | 756 virtual int64_t getCompletedLength() = 0;
|
/dports/www/aria2/aria2-1.36.0/doc/manual-src/en/ |
H A D | libaria2.rst | 166 << dh->getCompletedLength() << "/" 169 (100*dh->getCompletedLength()/dh->getTotalLength())
|