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

Method SHIFT

avida-core/source/tools/cBitArray.cc:279–285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277}
278
279void cRawBitArray::SHIFT(const int num_bits, const int shift_size)
280{
281 if (shift_size == 0) return;
282 if (shift_size > 0) { ShiftLeft(num_bits, shift_size); return; }
283 if (shift_size < 0) { ShiftRight(num_bits, -shift_size); return; }
284 assert(false); // Should never get here.
285}
286
287void cRawBitArray::INCREMENT(const int num_bits)
288{

Callers 2

mainFunction · 0.45
RunTestsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected