MCPcopy Create free account
hub / github.com/aria2/aria2 / decreaseNumCommand

Method decreaseNumCommand

src/RequestGroup.cc:979–986  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

977void RequestGroup::increaseNumCommand() { ++numCommand_; }
978
979void RequestGroup::decreaseNumCommand()
980{
981 --numCommand_;
982 if (!numCommand_ && requestGroupMan_) {
983 A2_LOG_DEBUG(fmt("GID#%s - Request queue check", gid_->toHex().c_str()));
984 requestGroupMan_->requestQueueCheck();
985 }
986}
987
988TransferStat RequestGroup::calculateStat() const
989{

Callers 11

~DHTGetPeersCommandMethod · 0.80
~RealtimeCommandMethod · 0.80
~RequestGroupEntryMethod · 0.80
~AbstractCommandMethod · 0.80
~SeedCheckCommandMethod · 0.80

Calls 3

fmtFunction · 0.85
toHexMethod · 0.80
requestQueueCheckMethod · 0.80

Tested by

no test coverage detected