Classes | |
class | Exception |
class | BadFragment |
class | BadRange |
class | Fragment |
struct | CompareFragments |
class | List |
struct | PayloadTraits< EmptyType > |
class | Queue |
Functions | |
template<class ListType, class AvailableType> | |
ListType::FragmentType | selectBlock (const ListType &src, typename ListType::FSizeType blockSize, const AvailableType *available) |
void | SerializeOut (CArchive &ar, const SimpleFragment &out) |
SimpleFragment | SerializeIn (CArchive &ar, int version) |
void | SerializeOut1 (CArchive &ar, const SimpleFragmentList &out) |
void | SerializeIn1 (CArchive &ar, SimpleFragmentList &in, int version) |
void | SerializeOut2 (CArchive &ar, const SimpleFragmentList &out) |
void | SerializeIn2 (CArchive &ar, SimpleFragmentList &in, int version) |
template<class Payload, typename OffsetType> | |
bool | operator== (const Fragment< Payload, OffsetType > &lhs, const Fragment< Payload, OffsetType > &rhs) |
template<class ListType> | |
ListType | inverse (const ListType &src) |
template<class ListType> | |
ListType::Iterator | largestFragment (ListType &src) |
template<class ListType> | |
ListType::ConstIterator | largestFragment (const ListType &src) |
template<class ListType> | |
ListType::Iterator | randomFragment (ListType &src) |
template<class ListType> | |
ListType::ConstIterator | randomFragment (const ListType &src) |
template<class ListType> | |
bool | hasPosition (const ListType &src, typename ListType::FSizeType pos) |
template<class ListType> | |
bool | overlaps (const ListType &src, const typename ListType::FragmentType &match) |
template<class ListType> | |
bool | overlaps (const ListType &src, const ListType &match) |
template<class ListType> | |
ListType::FSizeType | overlappingSum (const ListType &src, const typename ListType::FragmentType &match) |
Queue | extractRange (Queue &src, const Queue::FragmentType &match) |
|
Definition at line 166 of file Queue.hpp. References detail::Fragment< Payload, OffsetType >::begin(), detail::Queue::begin(), detail::Fragment< Payload, OffsetType >::end(), detail::Queue::end(), detail::Queue::erase(), and detail::Queue::pushBack(). Referenced by CDownloadTransferBT::UnrequestRange(). |
|
Definition at line 466 of file List.hpp. Referenced by CFragmentedFile::IsPositionRemaining(). |
|
Definition at line 406 of file List.hpp. Referenced by CDownloadWithFile::GetAvailableRanges(), CDownloadWithFile::GetPossibleFragments(), CDownloadWithFile::GetRandomRange(), and CFilePreviewDlg::SetDownload(). |
|
|
|
Definition at line 430 of file List.hpp. Referenced by CDownloadWithFile::GetPossibleFragments(). |
|
Definition at line 112 of file Fragment.hpp. References detail::Fragment< Payload, OffsetType >::begin(), and detail::Fragment< Payload, OffsetType >::end(). |
|
Definition at line 499 of file List.hpp. Referenced by CFragmentedFile::GetRangeOverlap(). |
|
|
|
Definition at line 475 of file List.hpp. Referenced by CDownloadWithFile::AreRangesUseful(), CFragmentedFile::DoesRangeOverlap(), CDownloadWithFile::IsRangeUseful(), CDownloadWithFile::IsRangeUsefulEnough(), and CDownloadSource::TouchedRange(). |
|
|
|
Definition at line 449 of file List.hpp. Referenced by CDownloadWithFile::GetFragment(), and CDownloadWithFile::GetRandomRange(). |
|
Definition at line 33 of file Compatibility.hpp. Referenced by CDownloadTransferED2K::SelectFragment(), and CDownloadTransferBT::SelectFragment(). |
|
Definition at line 98 of file Compatibility.hpp. Referenced by SerializeIn1(), and SerializeIn2(). |
|
Definition at line 138 of file Compatibility.hpp. References SerializeIn(). Referenced by CFragmentedFile::Serialize(). |
|
Definition at line 204 of file Compatibility.hpp. References SerializeIn(). Referenced by CDownloadSource::Serialize(). |
|
Definition at line 92 of file Compatibility.hpp. Referenced by SerializeOut1(), and SerializeOut2(). |
|
Definition at line 124 of file Compatibility.hpp. References SerializeOut(). Referenced by CFragmentedFile::Serialize(). |
|
Definition at line 193 of file Compatibility.hpp. References SerializeOut(). Referenced by CDownloadSource::Serialize(). |