Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/devosoft/avida
/ SetResource
Method
SetResource
avida-core/source/cpu/cTestCPU.h:220–223 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
218
}
219
220
inline void cTestCPU::SetResource(cAvidaContext& ctx, int id, double new_level)
221
{
222
m_resource_count.Set(ctx, id, new_level);
223
}
224
225
#endif
Callers
7
Process
Method · 0.45
Process
Method · 0.45
Process
Method · 0.45
Process
Method · 0.45
Process
Method · 0.45
Process
Method · 0.45
Process
Method · 0.45
Calls
1
Set
Method · 0.45
Tested by
no test coverage detected