| 20 | ////////////////////////////////////////////////////////////////////////// |
| 21 | |
| 22 | void BlCvRecordMap::Insert(const char* name, int symIdx) |
| 23 | { |
| 24 | int hashKey = BlHash::HashStr_PdbV1(name) % 4096; |
| 25 | auto entry = mAlloc.Alloc<BlCvRecordEntry>(); |
| 26 | entry->mRecordIndex = symIdx; |
| 27 | entry->mNext = mBuckets[hashKey]; |
| 28 | mBuckets[hashKey] = entry; |
| 29 | mNumEntries++; |
| 30 | } |
| 31 | |
| 32 | int BlCvRecordMap::TryInsert(const char* name, const Val128& key) |
| 33 | { |
no outgoing calls
no test coverage detected