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

Method AND

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

Source from the content-addressed store, hash-verified

213}
214
215void cRawBitArray::AND(const cRawBitArray & array2, const int num_bits)
216{
217 const int num_fields = GetNumFields(num_bits);
218 for (int i = 0; i < num_fields; i++) {
219 bit_fields[i] &= array2.bit_fields[i];
220 }
221}
222
223void cRawBitArray::OR(const cRawBitArray & array2, const int num_bits)
224{

Callers 2

mainFunction · 0.45
RunTestsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected