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

Lines Matching defs:keyID

95 					CUInt128 keyID = load_file.ReadUInt128();
96 if (AddLoad(keyID, load_file.ReadUInt32())) {
115 CUInt128 keyID = k_file.ReadUInt128();
122 toAdd->m_uKeyID = keyID;
163 if (AddKeyword(keyID, sourceID, toAdd, load)) {
188 CUInt128 keyID = s_file.ReadUInt128();
216 toAdd->m_uKeyID.SetValue(keyID);
219 if (AddSources(keyID, sourceID, toAdd, load)) {
267 load_file.WriteUInt128(load->keyID);
284 s_file.WriteUInt128(currSrcHash->keyID);
322 k_file.WriteUInt128(currKeyHash->keyID);
475 bool CIndexed::AddKeyword(const CUInt128& keyID, const CUInt128& sourceID, Kademlia::CKeyEntry* entry, uint8_t& load)
492 KeyHashMap::iterator itKeyHash = m_Keyword_map.find(keyID);
500 currKeyHash->keyID.SetValue(keyID);
502 m_Keyword_map[currKeyHash->keyID] = currKeyHash;
564 bool CIndexed::AddSources(const CUInt128& keyID, const CUInt128& sourceID, Kademlia::CEntry* entry, uint8_t& load)
575 SrcHashMap::iterator itSrcHash = m_Sources_map.find(keyID);
581 currSrcHash->keyID.SetValue(keyID);
583 m_Sources_map[currSrcHash->keyID] = currSrcHash;
639 bool CIndexed::AddNotes(const CUInt128& keyID, const CUInt128& sourceID, Kademlia::CEntry* entry, uint8_t& load)
650 SrcHashMap::iterator itNoteHash = m_Notes_map.find(keyID);
656 currNoteHash->keyID.SetValue(keyID);
658 m_Notes_map[currNoteHash->keyID] = currNoteHash;
713 bool CIndexed::AddLoad(const CUInt128& keyID, uint32_t timet)
721 LoadMap::iterator it = m_Load_map.find(keyID);
728 load->keyID.SetValue(keyID);
730 m_Load_map[load->keyID] = load;
735 void CIndexed::SendValidKeywordResult(const CUInt128& keyID, const SSearchTerm* pSearchTerms, uint32_t ip, uint16_t port, bool oldClient, uint16_t startPosition, const CKadUDPKey& senderKey)
738 KeyHashMap::iterator itKeyHash = m_Keyword_map.find(keyID);
743 packetdata.WriteUInt128(keyID);
816 void CIndexed::SendValidSourceResult(const CUInt128& keyID, uint32_t ip, uint16_t port, uint16_t startPosition, uint64_t fileSize, const CKadUDPKey& senderKey)
819 SrcHashMap::iterator itSrcHash = m_Sources_map.find(keyID);
824 packetdata.WriteUInt128(keyID);
866 void CIndexed::SendValidNoteResult(const CUInt128& keyID, uint32_t ip, uint16_t port, uint64_t fileSize, const CKadUDPKey& senderKey)
869 SrcHashMap::iterator itNote = m_Notes_map.find(keyID);
874 packetdata.WriteUInt128(keyID);
911 bool CIndexed::SendStoreRequest(const CUInt128& keyID)
914 LoadMap::iterator it = m_Load_map.find(keyID);