The generation of level masks for compactly storing partition cells supports sizes that can be stored in 64 bits. The current implementation fails if the total bit sum is 64 bits exactly. A bit shift mechanism is used that is undefined when the shift size is equal to the bit size of the underlying type. This generates an incorrect mask value. We fix this by adding a special case for a 64 bit offset. Given this code is called at most |level| times, there will be no effect on performance. We also update the assertions to reflect 64 bit masks are now supported. |
||
---|---|---|
.. | ||
contractor | ||
customizer | ||
engine | ||
extractor | ||
guidance | ||
nodejs | ||
osrm | ||
partitioner | ||
server | ||
storage | ||
updater | ||
util |