Searched refs:nPart (Results 1 - 12 of 12) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/
H A DCorruptionBlackBox.cpp86 uint16 nPart = (uint16)(nStartPos / PARTSIZE); local
87 uint32 nRelStartPos = nStartPos - nPart*PARTSIZE;
88 uint32 nRelEndPos = nEndPos - nPart*PARTSIZE;
93 TransferredData((nPart+1)*PARTSIZE, nEndPos, senderIP);
102 CRecordList & list = m_Records[nPart]; // this creates the entry if it doesn't exist yet
110 % m_partNumber % nPart % nRelStartPos % nRelEndPos % Uint32toStringIP(senderIP));
116 void CCorruptionBlackBox::VerifiedData(bool ok, uint16 nPart, uint32 nRelStartPos, uint32 nRelEndPos) { argument
122 CRecordList & list = m_Records[nPart];
180 m_Records.erase(nPart);
185 % nPart
[all...]
H A DCorruptionBlackBox.h39 void VerifiedData(bool ok, uint16 nPart, uint32 nRelStartPos, uint32 nRelEndPos);
H A DDownloadClient.cpp1600 void CUpDownClient::SendAICHRequest(CPartFile* pForFile, uint16 nPart){ argument
1602 request.m_nPart = nPart;
1609 data.WriteUInt16(nPart);
1633 uint16 nPart = data.ReadUInt16(); local
1634 if (pPartFile != NULL && request.m_pPartFile == pPartFile && request.m_pClient.GetClient() == this && nPart == request.m_nPart){
1668 uint16 nPart = data.ReadUInt16(); local
1673 && pKnownFile->GetAICHHashset()->GetMasterHash() == ahMasterHash && pKnownFile->GetPartCount() > nPart
1674 && pKnownFile->GetFileSize() > EMBLOCKSIZE && pKnownFile->GetFileSize() - PARTSIZE*nPart > EMBLOCKSIZE)
1678 fileResponse.WriteUInt16(nPart);
1680 if (pKnownFile->GetAICHHashset()->CreatePartRecoveryData(nPart*PARTSIZ
[all...]
H A DPartFile.cpp3258 void CPartFile::RequestAICHRecovery(uint16 nPart)
3266 if (GetPartSize(nPart) <= EMBLOCKSIZE)
3268 if (CAICHHashSet::IsClientRequestPending(this, nPart)){
3274 if (m_pAICHHashSet->IsPartDataAvailable(nPart*PARTSIZE)){
3276 AICHRecoveryDataAvailable(nPart);
3280 wxASSERT( nPart < GetPartCount() );
3335 pClient->SendAICHRequest(this, nPart);
3340 void CPartFile::AICHRecoveryDataAvailable(uint16 nPart)
3342 if (GetPartCount() < nPart){
3348 uint32 length = GetPartSize(nPart);
[all...]
H A Dupdownclient.h389 void SendAICHRequest(CPartFile* pForFile, uint16 nPart);
534 void SetLastPartAsked(uint16 nPart) { m_lastPartAsked = nPart; }
H A DPartFile.h213 void RequestAICHRecovery(uint16 nPart);
214 void AICHRecoveryDataAvailable(uint16 nPart);
H A DSHAHashSet.h269 static bool IsClientRequestPending(const CPartFile* pForFile, uint16 nPart);
H A DSHAHashSet.cpp944 bool CAICHHashSet::IsClientRequestPending(const CPartFile* pForFile, uint16 nPart) argument
947 if (it->m_pPartFile == pForFile && it->m_nPart == nPart) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/msw/
H A Diniconf.cpp128 for ( size_t nPart = 1; nPart < nPartsCount; nPart++ ) {
129 if ( nPart > 1 )
131 m_strPath << aParts[nPart];
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/os2/
H A Diniconf.cpp119 for ( size_t nPart = 1; nPart < nPartsCount; nPart++ )
121 if ( nPart > 1 )
123 m_strPath << aParts[nPart];
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/bzip2/
H A Dcompress.c281 Int32 nPart, remF, tFreq, aFreq; local
283 nPart = nGroups;
286 while (nPart > 0) {
287 tFreq = remF / nPart;
296 && nPart != nGroups && nPart != 1
297 && ((nGroups-nPart) % 2 == 1)) {
305 nPart, gs, ge, aFreq,
310 s->len[nPart-1][v] = BZ_LESSER_ICOST; else
311 s->len[nPart
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/src/router/rc/
H A Dusb_hotplug.c604 int nDevice, nPart; local
606 parse_target_path(target, &nDevice, &nPart);
608 sprintf(usb_part, "%d", nPart);

Completed in 116 milliseconds