Searched refs:nHashCount (Results 1 - 2 of 2) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/
H A DSHAHashSet.cpp671 uint32 nHashCount = file.ReadUInt32(); local
672 if (file.GetPosition() + nHashCount*HASHSIZE > nExistingSize) {
677 file.Seek(nHashCount*HASHSIZE, wxFromCurrent);
682 uint32 nHashCount = (PARTSIZE/EMBLOCKSIZE + ((PARTSIZE % EMBLOCKSIZE != 0)? 1 : 0)) * (m_pHashTree.m_nDataSize/PARTSIZE); local
684 nHashCount += (m_pHashTree.m_nDataSize % PARTSIZE)/EMBLOCKSIZE + (((m_pHashTree.m_nDataSize % PARTSIZE) % EMBLOCKSIZE != 0)? 1 : 0);
686 file.WriteUInt32(nHashCount);
693 if (file.GetLength() != nExistingSize + (nHashCount+1)*HASHSIZE + 4) {
699 AddDebugLogLineN(logSHAHashSet, CFormat(wxT("Successfully saved eMuleAC Hashset, %u Hashs + 1 Masterhash written")) % nHashCount);
739 uint32 nHashCount; local
748 nHashCount
[all...]
H A DThreadTasks.cpp305 uint32 nHashCount = file.ReadUInt32(); local
306 if (file.GetPosition() + nHashCount * CAICHHash::GetHashSize() > nExistingSize){
311 nLastVerifiedPos = file.Seek(nHashCount * HASHSIZE, wxFromCurrent);
371 uint32 nHashCount = oldfile.ReadUInt16(); local
373 CScopedArray<byte> buffer(nHashCount * CAICHHash::GetHashSize());
375 oldfile.Read(buffer.get(), nHashCount * CAICHHash::GetHashSize());
377 newfile.WriteUInt32(nHashCount);
378 newfile.Write(buffer.get(), nHashCount * CAICHHash::GetHashSize());

Completed in 71 milliseconds