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

Method InMemory

avida-core/source/cpu/cHeadCPU.h:114–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112 inline bool AtFront() const { return (m_position == 0); }
113 inline bool AtEnd() const { return (m_position + 1 == GetMemory().GetSize()); }
114 inline bool InMemory() const { return (m_position >= 0 && m_position < GetMemory().GetSize()); }
115};
116
117

Callers 7

FindLabelMethod · 0.45
FindLabelInMemoryMethod · 0.45
Inst_RotateLMethod · 0.45
Inst_RotateRMethod · 0.45
FindLabelMethod · 0.45
UpdateStats_CPUMethod · 0.45
UpdateStats_SMTMethod · 0.45

Calls 1

GetSizeMethod · 0.45

Tested by

no test coverage detected