logo separator

[mkgmap-dev] java.lang.AssertionError while building index from unicode tiles

From Gerd Petermann gpetermann_muenchen at hotmail.com on Mon Oct 18 10:19:17 BST 2021

Hi Ticker,

I've never tried to understand that code, but yes, masking a position looks wrong.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Ticker Berkin <rwb-mkgmap at jagit.co.uk>
Gesendet: Montag, 18. Oktober 2021 10:52
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] java.lang.AssertionError while building index from unicode tiles

Hi Gerd

In imgfmt/app/srt/Sort.java around line 853:

        // Get the first non-ignorable at this level
        int c = chars[pos++ & 0xff];
        if (!hasPage(c >>> 8)) {

I'm at a loss to understand the 0xff mask! am I missing something?

Ticker




_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list