MCPcopy Create free account
hub / github.com/beefytech/Beef / Insert

Method Insert

IDEHelper/Linker/BlCodeView.cpp:22–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20//////////////////////////////////////////////////////////////////////////
21
22void 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
32int BlCvRecordMap::TryInsert(const char* name, const Val128& key)
33{

Callers 11

CreatePublicStreamMethod · 0.45
GetDataMethod · 0.45
DoInliningMethod · 0.45
AddInstMethod · 0.45
HandleNextCmdMethod · 0.45
DbgGenerateModuleInfoMethod · 0.45
AddFileMethod · 0.45
GetDataMethod · 0.45
AllocInstMethod · 0.45
DoSplitLargeBlocksMethod · 0.45
DoCodeEmissionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected