• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/

Lines Matching defs:part

2 // This file is part of the aMule Project.
278 m_partmetfilename = CPath(CFormat(wxT("%03i.part.met")) % i);
332 // readfile data form part.met file
343 AddLogLineN(CFormat( _("ERROR: Failed to open part.met file: %s ==> %s") )
349 AddLogLineN(CFormat( _("ERROR: part.met file is 0 size: %s ==> %s") )
360 AddLogLineN(CFormat( _("ERROR: Invalid part.met file version: %s ==> %s") )
376 isnewstyle=true; // edonkeys so called "old part style"
674 // SLUGFILLER: SafeHash - final safety, make sure any missing part of the file is gap
756 throw wxString(wxT(".part file not found"));
768 throw wxString(wxT("Failed to open part.met file"));
809 // 0 (unicoded part file name)
843 // currupt part infos
994 AddLogLineN(CFormat( _("Failed to save part.met.seeds file for %s") )
1131 "Found corrupted part (%d) in %d part file %s - FileResultHash |%s| FileHash |%s|",
1132 "Found corrupted part (%d) in %d parts file %s - FileResultHash |%s| FileHash |%s|",
1148 // Very nice feature, if a file is completed but .part.met don't believe it,
1160 "Found corrupted part (%d) in %d part file %s - FileResultHash |%s| FileHash |%s|",
1161 "Found corrupted part (%d) in %d parts file %s - FileResultHash |%s| FileHash |%s|",
1175 AddLogLineN(CFormat( _("Found completed part (%i) in %s") )
1227 void CPartFile::AddGap(uint16 part)
1229 m_gaplist.AddGap(part);
1248 // Find start of this part
1252 // What is the end limit of this block, i.e. can't go outside part (or filesize)
1282 // Find end, keeping within the max block size and the part limit
1321 void CPartFile::FillGap(uint16 part)
1323 m_gaplist.FillGap(part);
1592 // MOD Note: Do not change this part - Merkur
1708 // Cache part count
1764 //When still a part file, adjust your guesses by 20% to what you see..
1830 // chunk (=> part ~9MB).
1909 // Indentify the locally missing part(s) that this source has
1914 newEntry.part = i;
1951 const uint64 uStart = cur_chunk.part * PARTSIZE;
1952 const uint64 uEnd = uStart + GetPartSize(cur_chunk.part) - 1;
1954 // Remark: - We need to download the first part and the last part(s).
1955 // - When the last part is very small, it's necessary to
1959 if(cur_chunk.part == 0) {
1961 } else if(cur_chunk.part == partCount-1) {
1963 } else if(cur_chunk.part == partCount-2) {
1980 uint32 partSize = PARTSIZE - m_gaplist.GetGapSize(cur_chunk.part);
2046 sender->SetLastPartAsked(cur_chunk.part);
2253 AddDebugLogLineN(logPartFile, wxT("\tRemoved .part.met"));
2259 AddDebugLogLineN(logPartFile, wxT("\tRemoved .part"));
2287 AddLogLineC(CFormat( _("WARNING: Unable to hash downloaded part - hashset incomplete for '%s'") )
2292 AddLogLineC(CFormat( _("ERROR: Unable to hash downloaded part - hashset incomplete (%s). This should never happen")) % GetFileName() );
2302 AddLogLineC(CFormat( _("EOF while hashing downloaded part %u with length %u (max %u) of partfile '%s' with length %u: %s"))
2307 AddLogLineC(CFormat( _("EOF while hashing downloaded part %u with length %u (max %u) of partfile '%s' with length %u: %s"))
2315 AddDebugLogLineN(logPartFile, CFormat( wxT("%s: Expected hash of part %d: %s")) % GetFileName() % partnumber % GetPartHash(partnumber).Encode() );
2316 AddDebugLogLineN(logPartFile, CFormat( wxT("%s: Actual hash of part %d: %s")) % GetFileName() % partnumber % hashresult.Encode() );
2543 // Yuck. Same file but different part count? Seriously fucked up.
2608 // file status only after it has at least one complete part
2984 // SLUGFILLER: SafeHash - could be more than one part
2997 AddDebugLogLineC(logPartFile, wxT("Error while saving part-file: ") + e.what());
3018 CFormat(wxT("Error while truncating part-file (%s): %s"))
3025 // Check each part of the file
3033 // Is this 9MB part complete
3035 // Is part corrupt
3038 _("Downloaded part %i is corrupt in file: %s") ) % partNumber % GetFileName() );
3040 // add part to corrupted list, if not already there
3054 wxT("Finished part %u of '%s'")) % partNumber % GetFileName());
3060 // if this part was successfully completed (although ICH is active), remove from corrupted list
3066 // Successfully completed part, make it available for sharing
3073 } else if ( IsCorruptedPart(partNumber) && // corrupted part:
3090 AddLogLineC(CFormat( _("ICH: Recovered corrupted part %i for %s -> Saved bytes: %s") )
3097 // Successfully recovered part, make it available for sharing
3269 AddDebugLogLineN( logAICHRecovery, wxT("RequestAICHRecovery: Already a request for this part pending"));
3349 // if the part was already ok, it would now be complete
3351 AddDebugLogLineN(logAICHRecovery, CFormat(wxT("Processing AICH Recovery data: The part (%u) is already complete, canceling")) % nPart);
3368 CFormat(wxT("IO failure while hashing part-file '%s': %s"))
3375 AddDebugLogLineN( logAICHRecovery, wxT("Processing AICH Recovery data: Failed to retrieve AICH Hashset of corrupt part") );
3409 CFormat(wxT("Processing AICH Recovery data: The part (%u) got completed while recovering - but MD4 says it corrupt! Setting hashset to error state, deleting part")) % nPart);
3417 CFormat(wxT("Processing AICH Recovery data: The part (%u) got completed while recovering and MD4 agrees")) % nPart);
3420 // Successfully recovered part, make it available for sharing
3442 wxT("AICH successfully recovered %s of %s from part %u for %s") )