Lines Matching refs:startBit
117 inline value_type readAtBitAlignment(const void *memory, uint64_t startBit) {
118 assert(startBit < 8);
119 if (startBit == 0)
132 make_unsigned_t<value_type> lowerVal = val[0] >> startBit;
135 (sizeof(value_type) * 8) - startBit;
140 val[1] & (((make_unsigned_t<value_type>)1 << startBit) - 1);
152 uint64_t startBit) {
153 assert(startBit < 8);
154 if (startBit == 0)
168 val[0] &= ((make_unsigned_t<value_type>)1 << startBit) - 1;
170 (sizeof(value_type) * 8) - startBit;
172 if (startBit > 0) {
178 lowerVal <<= startBit;
184 val[1] &= ~(((make_unsigned_t<value_type>)1 << startBit) - 1);
188 upperVal &= ((make_unsigned_t<value_type>)1 << startBit) - 1;