ewmscp
..
|
Public Member Functions | |
hashCalculator (blockQueue &blocksToHash, blockQueue &hashedBlocks, base *request, bool mayParallelize, exceptionList &exceptions) | |
~hashCalculator () noexcept(false) | |
bool | joinable () const |
bool | parallelized () const |
Private Attributes | |
std::vector< std::thread > | workers |
checksum::parallel * | parallelSum |
blockQueue & | outputQueue |
Definition at line 186 of file copyRequest.h.
copyRequest::base::hashCalculator::hashCalculator | ( | blockQueue & | blocksToHash, |
blockQueue & | hashedBlocks, | ||
base * | request, | ||
bool | mayParallelize, | ||
exceptionList & | exceptions | ||
) |
Definition at line 669 of file copyRequest.cpp.
References copyRequest::append, copyRequest::base::checkSums, options::single< T >::fGetValue(), copyRequest::base::hash_worker(), copyRequest::base::hasher(), copyRequest::base::memoryBlockSize, copyRequest::base::nSumThreads, outputQueue, parallelSum, copyRequest::base::readInitialStat, copyRequest::base::state, and workers.
|
noexcept |
Definition at line 701 of file copyRequest.cpp.
bool copyRequest::base::hashCalculator::joinable | ( | ) | const |
Definition at line 713 of file copyRequest.cpp.
Referenced by copyRequest::base::doThreadedCopy().
bool copyRequest::base::hashCalculator::parallelized | ( | ) | const |
Definition at line 716 of file copyRequest.cpp.
Referenced by copyRequest::base::doThreadedCopy().
|
private |
Definition at line 189 of file copyRequest.h.
Referenced by hashCalculator().
|
private |
Definition at line 188 of file copyRequest.h.
Referenced by hashCalculator().
|
private |
Definition at line 187 of file copyRequest.h.
Referenced by hashCalculator().