INNER CODE UNIT · C

uc

chunquedong/mgp · core/3rd/utf8.c:74

    uc = *s++ & (0xff >> byte_num);
    
    for (i = 1; i < byte_num; ++i)
    {
        if (umap[*s])
        {
            r_illegal += s - t;
            goto repeat_label;
        }
        else
        {
            uc = (uc << 6) + (*s & 0x3f);
            s += 1;
        }
    }
    
    *src = (char *)s;
    if (illegal)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…