|
QP/C++
|
QF_pwr2Lkup[], QF_invPwr2Lkup[], and QF_div8Lkup[] definitions. More...
#include "qf_pkg.h"Go to the source code of this file.
Variables | |
| uint8_t const Q_ROM Q_ROM_VAR | QF_pwr2Lkup [65] |
| Lookup table for (1 << ((n-1) % 8)), where n is the index into the table. | |
| uint8_t const Q_ROM Q_ROM_VAR | QF_invPwr2Lkup [65] |
| Lookup table for ~(1 << ((n-1) % 8)), where n is the index into the table. | |
| uint8_t const Q_ROM Q_ROM_VAR | QF_div8Lkup [65] |
| Lookup table for (n-1)/8. | |
QF_pwr2Lkup[], QF_invPwr2Lkup[], and QF_div8Lkup[] definitions.
Definition in file qf_pwr2.cpp.
| uint8_t const Q_ROM Q_ROM_VAR QF_div8Lkup[65] |
{
0U,
0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U,
1U, 1U, 1U, 1U, 1U, 1U, 1U, 1U,
2U, 2U, 2U, 2U, 2U, 2U, 2U, 2U,
3U, 3U, 3U, 3U, 3U, 3U, 3U, 3U,
4U, 4U, 4U, 4U, 4U, 4U, 4U, 4U,
5U, 5U, 5U, 5U, 5U, 5U, 5U, 5U,
6U, 6U, 6U, 6U, 6U, 6U, 6U, 6U,
7U, 7U, 7U, 7U, 7U, 7U, 7U, 7U
}
Lookup table for (n-1)/8.
Definition at line 63 of file qf_pwr2.cpp.
Referenced by QPSet64::hasElement(), QPSet64::insert(), QPSet64::remove(), QActive::subscribe(), QActive::unsubscribe(), and QActive::unsubscribeAll().
| uint8_t const Q_ROM Q_ROM_VAR QF_invPwr2Lkup[65] |
{
0xFFU,
0xFEU, 0xFDU, 0xFBU, 0xF7U, 0xEFU, 0xDFU, 0xBFU, 0x7FU,
0xFEU, 0xFDU, 0xFBU, 0xF7U, 0xEFU, 0xDFU, 0xBFU, 0x7FU,
0xFEU, 0xFDU, 0xFBU, 0xF7U, 0xEFU, 0xDFU, 0xBFU, 0x7FU,
0xFEU, 0xFDU, 0xFBU, 0xF7U, 0xEFU, 0xDFU, 0xBFU, 0x7FU,
0xFEU, 0xFDU, 0xFBU, 0xF7U, 0xEFU, 0xDFU, 0xBFU, 0x7FU,
0xFEU, 0xFDU, 0xFBU, 0xF7U, 0xEFU, 0xDFU, 0xBFU, 0x7FU,
0xFEU, 0xFDU, 0xFBU, 0xF7U, 0xEFU, 0xDFU, 0xBFU, 0x7FU,
0xFEU, 0xFDU, 0xFBU, 0xF7U, 0xEFU, 0xDFU, 0xBFU, 0x7FU
}
Lookup table for ~(1 << ((n-1) % 8)), where n is the index into the table.
Definition at line 51 of file qf_pwr2.cpp.
Referenced by QF::publish(), QPSet8::remove(), QPSet64::remove(), QActive::unsubscribe(), and QActive::unsubscribeAll().
| uint8_t const Q_ROM Q_ROM_VAR QF_pwr2Lkup[65] |
{
0x00U,
0x01U, 0x02U, 0x04U, 0x08U, 0x10U, 0x20U, 0x40U, 0x80U,
0x01U, 0x02U, 0x04U, 0x08U, 0x10U, 0x20U, 0x40U, 0x80U,
0x01U, 0x02U, 0x04U, 0x08U, 0x10U, 0x20U, 0x40U, 0x80U,
0x01U, 0x02U, 0x04U, 0x08U, 0x10U, 0x20U, 0x40U, 0x80U,
0x01U, 0x02U, 0x04U, 0x08U, 0x10U, 0x20U, 0x40U, 0x80U,
0x01U, 0x02U, 0x04U, 0x08U, 0x10U, 0x20U, 0x40U, 0x80U,
0x01U, 0x02U, 0x04U, 0x08U, 0x10U, 0x20U, 0x40U, 0x80U,
0x01U, 0x02U, 0x04U, 0x08U, 0x10U, 0x20U, 0x40U, 0x80U
}
Lookup table for (1 << ((n-1) % 8)), where n is the index into the table.
Definition at line 39 of file qf_pwr2.cpp.
Referenced by QPSet8::hasElement(), QPSet8::insert(), QActive::subscribe(), and QActive::unsubscribeAll().
1.7.5.1