MCPcopy Create free account
hub / github.com/brichard19/BitCrack / removeTargetFromList

Method removeTargetFromList

CLKeySearchDevice/CLKeySearchDevice.cpp:369–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

367}
368
369void CLKeySearchDevice::removeTargetFromList(const unsigned int hash[5])
370{
371 size_t count = _targetList.size();
372
373 while(count) {
374 if(memcmp(hash, _targetList[count - 1].h, 20) == 0) {
375 _targetList.erase(_targetList.begin() + count - 1);
376 return;
377 }
378 count--;
379 }
380}
381
382
383void CLKeySearchDevice::getResultsInternal()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected