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

Method OR

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

Source from the content-addressed store, hash-verified

221}
222
223void cRawBitArray::OR(const cRawBitArray & array2, const int num_bits)
224{
225 const int num_fields = GetNumFields(num_bits);
226 for (int i = 0; i < num_fields; i++) {
227 bit_fields[i] |= array2.bit_fields[i];
228 }
229}
230
231void cRawBitArray::NAND(const cRawBitArray & array2, const int num_bits)
232{

Callers 2

mainFunction · 0.45
RunTestsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected