Ignore:
Timestamp:
Jul 28, 2018, 6:26:56 PM (11 months ago)
Author:
cameron
Message:

GetStringValue? method for string properties

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/UCD/NameAliases.h

    r5751 r6134  
    4444
    4545
    46         const unsigned buffer_length = 2549;
     46        const static std::vector<unsigned> buffer_offsets = {
     47        0, 4, 8, 12, 16, 20, 24, 28, 32, 35, 39, 43, 46, 49, 52, 55, 58, 62,
     48        66, 70, 74, 78, 82, 86, 90, 94, 98, 102, 106, 109, 112, 115, 118,
     49        121, 125, 129, 133, 137, 141, 145, 149, 153, 157, 161, 165, 169,
     50        173, 177, 180, 184, 188, 192, 196, 200, 204, 208, 211, 215, 219,
     51        223, 227, 231, 235, 238, 242, 245, 249, 254, 258, 283, 306, 310,
     52        314, 349, 369, 387, 405, 419, 433, 469, 502, 540, 571, 605, 610,
     53        615, 620, 624, 629, 634, 638, 642, 646, 650, 654, 658, 662, 666,
     54        672, 677, 680, 684, 688, 692, 696, 726, 744, 761, 821, 882, 909,
     55        913, 917, 921, 925, 929, 933, 937, 941, 945, 950, 955, 960, 965,
     56        970, 975, 980, 1042, 1049, 1074, 1117, 1139, 1192, 1197, 1202, 1207,
     57        1212, 1217, 1222, 1227, 1232, 1237, 1242, 1247, 1252, 1257, 1262,
     58        1267, 1272, 1277, 1282, 1287, 1292, 1297, 1302, 1307, 1312, 1317,
     59        1322, 1327, 1332, 1337, 1342, 1347, 1352, 1357, 1362, 1367, 1372,
     60        1377, 1382, 1387, 1392, 1397, 1402, 1407, 1412, 1417, 1422, 1427,
     61        1432, 1437, 1442, 1447, 1452, 1457, 1462, 1467, 1472, 1477, 1482,
     62        1487, 1492, 1497, 1502, 1507, 1512, 1517, 1522, 1527, 1532, 1537,
     63        1542, 1547, 1552, 1557, 1562, 1567, 1572, 1577, 1582, 1587, 1592,
     64        1597, 1602, 1607, 1613, 1619, 1625, 1631, 1637, 1643, 1649, 1655,
     65        1661, 1667, 1673, 1679, 1685, 1691, 1697, 1703, 1709, 1715, 1721,
     66        1727, 1733, 1739, 1745, 1751, 1757, 1763, 1769, 1775, 1781, 1787,
     67        1793, 1799, 1805, 1811, 1817, 1823, 1829, 1835, 1841, 1847, 1853,
     68        1859, 1865, 1871, 1877, 1883, 1889, 1895, 1901, 1907, 1913, 1919,
     69        1925, 1931, 1937, 1943, 1949, 1955, 1961, 1967, 1973, 1979, 1985,
     70        1991, 1997, 2003, 2009, 2015, 2021, 2027, 2033, 2039, 2045, 2051,
     71        2057, 2063, 2069, 2075, 2081, 2087, 2093, 2099, 2105, 2111, 2117,
     72        2123, 2129, 2135, 2141, 2147, 2153, 2159, 2165, 2171, 2177, 2183,
     73        2189, 2195, 2201, 2207, 2213, 2219, 2225, 2231, 2237, 2243, 2249,
     74        2255, 2261, 2267, 2273, 2279, 2285, 2291, 2297, 2303, 2309, 2315,
     75        2321, 2327, 2333, 2339, 2345, 2351, 2357, 2363, 2369, 2375, 2381,
     76        2387, 2393, 2399, 2405, 2411, 2417, 2423, 2429, 2435, 2441, 2447,
     77        2453, 2459, 2465, 2471, 2477, 2483, 2489, 2495, 2501, 2507, 2513,
     78        2519, 2525, 2531, 2537, 2543, 2549};
    4779        const static char string_buffer LLVM_ALIGNAS(32) [2560] = u8R"__(NUL
    4880SOH
     
    475507                                                    std::move(reflexive_set),
    476508                                                    static_cast<const char *>(string_buffer),
    477                                                     buffer_length,
     509                                                    std::move(buffer_offsets),
    478510                                                    std::move(defined_cps));
    479511    }
Note: See TracChangeset for help on using the changeset viewer.