5 for (
int m = 0;
m < 2;
m++) {
6 for (
int n = 0;
n < 6;
n++) {
10 for (
int m = 0;
m < 2;
m++) {
11 for (
int n = 0;
n < 192;
n++) {
18 for (
int iword = 0; iword < 6; iword++) {
19 for (
int ibit = 0; ibit < 32; ibit++) {
31 for (
int ilink = 0; ilink < 2; ilink++) {
32 for (
int iword = 0; iword < 6; iword++) {
51 if (value > (
pow(2, mylength) - 1))
52 std::cout <<
"The value you are trying to set has more bins than expected " << std::endl;
53 for (
int i = 0;
i < mylength;
i++)
54 bitsLink[mylink][
i + mystart] = (value >>
i) & 0x1;
58 std::bitset<32> foo(value);
66 for (
int m = firstbit;
m < firstbit + bitlength;
m++) {
rctDataBase databaseobject
int GetLength(rctObjectType t)
int GetLink(rctObjectType t)
int BuildDecimalValue(int firstbit, int bitlength, int linkid)
int ReadBitInInt(int bit, int value)
int GetIndices(rctObjectType t, int firstindex, int secondindex=-1)
static std::atomic< unsigned int > counter
int GetObject(rctDataBase::rctObjectType t, int firstindex, int secondindex=-1)
Power< A, B >::type pow(const A &a, const B &b)
void SetObject(rctDataBase::rctObjectType t, int value, int firstindex, int secondindex=-1)