Lines Matching refs:nHashCount
671 uint32 nHashCount = file.ReadUInt32();
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);
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;
748 nHashCount = file.ReadUInt32();
749 if (nHashCount != nExpectedCount) {
767 nHashCount = file.ReadUInt32();
768 if (file.GetPosition() + nHashCount*HASHSIZE > nExistingSize) {
773 file.Seek(nHashCount*HASHSIZE, wxFromCurrent);