MCPcopy Create free account
hub / github.com/devosoft/avida / GetIndex

Method GetIndex

avida-core/source/cpu/cInstLib.h:74–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72
73
74inline int cInstLib::GetIndex(const cString& name) const
75{
76 int idx = -1;
77 if (m_namemap.Get((const char*)name, idx)) return idx;
78 return -1;
79}
80
81inline Instruction cInstLib::GetInst(const cString& name)
82{

Callers 2

ProcessMethod · 0.45
LoadWithStringListMethod · 0.45

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected