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

Method Insert

avida-core/source/cpu/cCPUMemory.cc:103–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101
102
103void cCPUMemory::Insert(int pos, const Instruction& inst)
104{
105 assert(pos >= 0);
106 assert(pos <= m_seq.GetSize());
107
108 prepareInsert(pos, 1);
109 m_seq[pos] = inst;
110 m_flag_array[pos] = 0;
111}
112
113void cCPUMemory::Insert(int pos, const InstructionSequence& genome)
114{

Callers 15

RequestedDataMethod · 0.45
RequestedDataMethod · 0.45
AlignStringArrayMethod · 0.45
ProcessMethod · 0.45
TimeSeriesRecorderMethod · 0.45
AttachRecorderMethod · 0.45
RegisterMethod · 0.45
InsertInstMethod · 0.45
InsertInstMethod · 0.45
Divide_DoTransposonsMethod · 0.45
Inject_DoMutationsMethod · 0.45
InsertInstMethod · 0.45

Calls 1

GetSizeMethod · 0.45

Tested by

no test coverage detected