src/pkg/strconv/isprint.go - The Go Programming Language

Golang

Source file src/pkg/strconv/isprint.go

     1	// DO NOT EDIT.  GENERATED BY
     2	//     go run makeisprint.go >x && mv x isprint.go
     3	
     4	package strconv
     5	
     6	// (474+134+42)*2 + (180)*4 = 2020 bytes
     7	
     8	var isPrint16 = []uint16{
     9		0x0020, 0x007e,
    10		0x00a1, 0x0377,
    11		0x037a, 0x037e,
    12		0x0384, 0x0527,
    13		0x0531, 0x0556,
    14		0x0559, 0x058a,
    15		0x0591, 0x05c7,
    16		0x05d0, 0x05ea,
    17		0x05f0, 0x05f4,
    18		0x0606, 0x061b,
    19		0x061e, 0x070d,
    20		0x0710, 0x074a,
    21		0x074d, 0x07b1,
    22		0x07c0, 0x07fa,
    23		0x0800, 0x082d,
    24		0x0830, 0x085b,
    25		0x085e, 0x085e,
    26		0x0900, 0x098c,
    27		0x098f, 0x0990,
    28		0x0993, 0x09b2,
    29		0x09b6, 0x09b9,
    30		0x09bc, 0x09c4,
    31		0x09c7, 0x09c8,
    32		0x09cb, 0x09ce,
    33		0x09d7, 0x09d7,
    34		0x09dc, 0x09e3,
    35		0x09e6, 0x09fb,
    36		0x0a01, 0x0a0a,
    37		0x0a0f, 0x0a10,
    38		0x0a13, 0x0a39,
    39		0x0a3c, 0x0a42,
    40		0x0a47, 0x0a48,
    41		0x0a4b, 0x0a4d,
    42		0x0a51, 0x0a51,
    43		0x0a59, 0x0a5e,
    44		0x0a66, 0x0a75,
    45		0x0a81, 0x0ab9,
    46		0x0abc, 0x0acd,
    47		0x0ad0, 0x0ad0,
    48		0x0ae0, 0x0ae3,
    49		0x0ae6, 0x0af1,
    50		0x0b01, 0x0b0c,
    51		0x0b0f, 0x0b10,
    52		0x0b13, 0x0b39,
    53		0x0b3c, 0x0b44,
    54		0x0b47, 0x0b48,
    55		0x0b4b, 0x0b4d,
    56		0x0b56, 0x0b57,
    57		0x0b5c, 0x0b63,
    58		0x0b66, 0x0b77,
    59		0x0b82, 0x0b8a,
    60		0x0b8e, 0x0b95,
    61		0x0b99, 0x0b9f,
    62		0x0ba3, 0x0ba4,
    63		0x0ba8, 0x0baa,
    64		0x0bae, 0x0bb9,
    65		0x0bbe, 0x0bc2,
    66		0x0bc6, 0x0bcd,
    67		0x0bd0, 0x0bd0,
    68		0x0bd7, 0x0bd7,
    69		0x0be6, 0x0bfa,
    70		0x0c01, 0x0c39,
    71		0x0c3d, 0x0c4d,
    72		0x0c55, 0x0c59,
    73		0x0c60, 0x0c63,
    74		0x0c66, 0x0c6f,
    75		0x0c78, 0x0c7f,
    76		0x0c82, 0x0cb9,
    77		0x0cbc, 0x0ccd,
    78		0x0cd5, 0x0cd6,
    79		0x0cde, 0x0ce3,
    80		0x0ce6, 0x0cf2,
    81		0x0d02, 0x0d3a,
    82		0x0d3d, 0x0d4e,
    83		0x0d57, 0x0d57,
    84		0x0d60, 0x0d63,
    85		0x0d66, 0x0d75,
    86		0x0d79, 0x0d7f,
    87		0x0d82, 0x0d96,
    88		0x0d9a, 0x0dbd,
    89		0x0dc0, 0x0dc6,
    90		0x0dca, 0x0dca,
    91		0x0dcf, 0x0ddf,
    92		0x0df2, 0x0df4,
    93		0x0e01, 0x0e3a,
    94		0x0e3f, 0x0e5b,
    95		0x0e81, 0x0e84,
    96		0x0e87, 0x0e8a,
    97		0x0e8d, 0x0e8d,
    98		0x0e94, 0x0ea7,
    99		0x0eaa, 0x0ebd,
   100		0x0ec0, 0x0ecd,
   101		0x0ed0, 0x0ed9,
   102		0x0edc, 0x0edd,
   103		0x0f00, 0x0f6c,
   104		0x0f71, 0x0fda,
   105		0x1000, 0x10c5,
   106		0x10d0, 0x10fc,
   107		0x1100, 0x124d,
   108		0x1250, 0x125d,
   109		0x1260, 0x128d,
   110		0x1290, 0x12b5,
   111		0x12b8, 0x12c5,
   112		0x12c8, 0x1315,
   113		0x1318, 0x135a,
   114		0x135d, 0x137c,
   115		0x1380, 0x1399,
   116		0x13a0, 0x13f4,
   117		0x1400, 0x169c,
   118		0x16a0, 0x16f0,
   119		0x1700, 0x1714,
   120		0x1720, 0x1736,
   121		0x1740, 0x1753,
   122		0x1760, 0x1773,
   123		0x1780, 0x17b3,
   124		0x17b6, 0x17dd,
   125		0x17e0, 0x17e9,
   126		0x17f0, 0x17f9,
   127		0x1800, 0x180d,
   128		0x1810, 0x1819,
   129		0x1820, 0x1877,
   130		0x1880, 0x18aa,
   131		0x18b0, 0x18f5,
   132		0x1900, 0x191c,
   133		0x1920, 0x192b,
   134		0x1930, 0x193b,
   135		0x1940, 0x1940,
   136		0x1944, 0x196d,
   137		0x1970, 0x1974,
   138		0x1980, 0x19ab,
   139		0x19b0, 0x19c9,
   140		0x19d0, 0x19da,
   141		0x19de, 0x1a1b,
   142		0x1a1e, 0x1a7c,
   143		0x1a7f, 0x1a89,
   144		0x1a90, 0x1a99,
   145		0x1aa0, 0x1aad,
   146		0x1b00, 0x1b4b,
   147		0x1b50, 0x1b7c,
   148		0x1b80, 0x1baa,
   149		0x1bae, 0x1bb9,
   150		0x1bc0, 0x1bf3,
   151		0x1bfc, 0x1c37,
   152		0x1c3b, 0x1c49,
   153		0x1c4d, 0x1c7f,
   154		0x1cd0, 0x1cf2,
   155		0x1d00, 0x1de6,
   156		0x1dfc, 0x1f15,
   157		0x1f18, 0x1f1d,
   158		0x1f20, 0x1f45,
   159		0x1f48, 0x1f4d,
   160		0x1f50, 0x1f7d,
   161		0x1f80, 0x1fd3,
   162		0x1fd6, 0x1fef,
   163		0x1ff2, 0x1ffe,
   164		0x2010, 0x2027,
   165		0x2030, 0x205e,
   166		0x2070, 0x2071,
   167		0x2074, 0x209c,
   168		0x20a0, 0x20b9,
   169		0x20d0, 0x20f0,
   170		0x2100, 0x2189,
   171		0x2190, 0x23f3,
   172		0x2400, 0x2426,
   173		0x2440, 0x244a,
   174		0x2460, 0x2b4c,
   175		0x2b50, 0x2b59,
   176		0x2c00, 0x2cf1,
   177		0x2cf9, 0x2d25,
   178		0x2d30, 0x2d65,
   179		0x2d6f, 0x2d70,
   180		0x2d7f, 0x2d96,
   181		0x2da0, 0x2e31,
   182		0x2e80, 0x2ef3,
   183		0x2f00, 0x2fd5,
   184		0x2ff0, 0x2ffb,
   185		0x3001, 0x3096,
   186		0x3099, 0x30ff,
   187		0x3105, 0x312d,
   188		0x3131, 0x31ba,
   189		0x31c0, 0x31e3,
   190		0x31f0, 0x4db5,
   191		0x4dc0, 0x9fcb,
   192		0xa000, 0xa48c,
   193		0xa490, 0xa4c6,
   194		0xa4d0, 0xa62b,
   195		0xa640, 0xa673,
   196		0xa67c, 0xa697,
   197		0xa6a0, 0xa6f7,
   198		0xa700, 0xa791,
   199		0xa7a0, 0xa7a9,
   200		0xa7fa, 0xa82b,
   201		0xa830, 0xa839,
   202		0xa840, 0xa877,
   203		0xa880, 0xa8c4,
   204		0xa8ce, 0xa8d9,
   205		0xa8e0, 0xa8fb,
   206		0xa900, 0xa953,
   207		0xa95f, 0xa97c,
   208		0xa980, 0xa9d9,
   209		0xa9de, 0xa9df,
   210		0xaa00, 0xaa36,
   211		0xaa40, 0xaa4d,
   212		0xaa50, 0xaa59,
   213		0xaa5c, 0xaa7b,
   214		0xaa80, 0xaac2,
   215		0xaadb, 0xaadf,
   216		0xab01, 0xab06,
   217		0xab09, 0xab0e,
   218		0xab11, 0xab16,
   219		0xab20, 0xab2e,
   220		0xabc0, 0xabed,
   221		0xabf0, 0xabf9,
   222		0xac00, 0xd7a3,
   223		0xd7b0, 0xd7c6,
   224		0xd7cb, 0xd7fb,
   225		0xf900, 0xfa2d,
   226		0xfa30, 0xfa6d,
   227		0xfa70, 0xfad9,
   228		0xfb00, 0xfb06,
   229		0xfb13, 0xfb17,
   230		0xfb1d, 0xfbc1,
   231		0xfbd3, 0xfd3f,
   232		0xfd50, 0xfd8f,
   233		0xfd92, 0xfdc7,
   234		0xfdf0, 0xfdfd,
   235		0xfe00, 0xfe19,
   236		0xfe20, 0xfe26,
   237		0xfe30, 0xfe6b,
   238		0xfe70, 0xfefc,
   239		0xff01, 0xffbe,
   240		0xffc2, 0xffc7,
   241		0xffca, 0xffcf,
   242		0xffd2, 0xffd7,
   243		0xffda, 0xffdc,
   244		0xffe0, 0xffee,
   245		0xfffc, 0xfffd,
   246	}
   247	
   248	var isNotPrint16 = []uint16{
   249		0x00ad,
   250		0x038b,
   251		0x038d,
   252		0x03a2,
   253		0x0560,
   254		0x0588,
   255		0x06dd,
   256		0x083f,
   257		0x0978,
   258		0x0980,
   259		0x0984,
   260		0x09a9,
   261		0x09b1,
   262		0x09de,
   263		0x0a04,
   264		0x0a29,
   265		0x0a31,
   266		0x0a34,
   267		0x0a37,
   268		0x0a3d,
   269		0x0a5d,
   270		0x0a84,
   271		0x0a8e,
   272		0x0a92,
   273		0x0aa9,
   274		0x0ab1,
   275		0x0ab4,
   276		0x0ac6,
   277		0x0aca,
   278		0x0af0,
   279		0x0b04,
   280		0x0b29,
   281		0x0b31,
   282		0x0b34,
   283		0x0b5e,
   284		0x0b84,
   285		0x0b91,
   286		0x0b9b,
   287		0x0b9d,
   288		0x0bc9,
   289		0x0c04,
   290		0x0c0d,
   291		0x0c11,
   292		0x0c29,
   293		0x0c34,
   294		0x0c45,
   295		0x0c49,
   296		0x0c57,
   297		0x0c84,
   298		0x0c8d,
   299		0x0c91,
   300		0x0ca9,
   301		0x0cb4,
   302		0x0cc5,
   303		0x0cc9,
   304		0x0cdf,
   305		0x0cf0,
   306		0x0d04,
   307		0x0d0d,
   308		0x0d11,
   309		0x0d45,
   310		0x0d49,
   311		0x0d84,
   312		0x0db2,
   313		0x0dbc,
   314		0x0dd5,
   315		0x0dd7,
   316		0x0e83,
   317		0x0e89,
   318		0x0e98,
   319		0x0ea0,
   320		0x0ea4,
   321		0x0ea6,
   322		0x0eac,
   323		0x0eba,
   324		0x0ec5,
   325		0x0ec7,
   326		0x0f48,
   327		0x0f98,
   328		0x0fbd,
   329		0x0fcd,
   330		0x1249,
   331		0x1257,
   332		0x1259,
   333		0x1289,
   334		0x12b1,
   335		0x12bf,
   336		0x12c1,
   337		0x12d7,
   338		0x1311,
   339		0x1680,
   340		0x170d,
   341		0x176d,
   342		0x1771,
   343		0x1a5f,
   344		0x1f58,
   345		0x1f5a,
   346		0x1f5c,
   347		0x1f5e,
   348		0x1fb5,
   349		0x1fc5,
   350		0x1fdc,
   351		0x1ff5,
   352		0x208f,
   353		0x2700,
   354		0x27cb,
   355		0x27cd,
   356		0x2c2f,
   357		0x2c5f,
   358		0x2da7,
   359		0x2daf,
   360		0x2db7,
   361		0x2dbf,
   362		0x2dc7,
   363		0x2dcf,
   364		0x2dd7,
   365		0x2ddf,
   366		0x2e9a,
   367		0x3040,
   368		0x318f,
   369		0x321f,
   370		0x32ff,
   371		0xa78f,
   372		0xa9ce,
   373		0xab27,
   374		0xfb37,
   375		0xfb3d,
   376		0xfb3f,
   377		0xfb42,
   378		0xfb45,
   379		0xfe53,
   380		0xfe67,
   381		0xfe75,
   382		0xffe7,
   383	}
   384	
   385	var isPrint32 = []uint32{
   386		0x010000, 0x01004d,
   387		0x010050, 0x01005d,
   388		0x010080, 0x0100fa,
   389		0x010100, 0x010102,
   390		0x010107, 0x010133,
   391		0x010137, 0x01018a,
   392		0x010190, 0x01019b,
   393		0x0101d0, 0x0101fd,
   394		0x010280, 0x01029c,
   395		0x0102a0, 0x0102d0,
   396		0x010300, 0x010323,
   397		0x010330, 0x01034a,
   398		0x010380, 0x0103c3,
   399		0x0103c8, 0x0103d5,
   400		0x010400, 0x01049d,
   401		0x0104a0, 0x0104a9,
   402		0x010800, 0x010805,
   403		0x010808, 0x010838,
   404		0x01083c, 0x01083c,
   405		0x01083f, 0x01085f,
   406		0x010900, 0x01091b,
   407		0x01091f, 0x010939,
   408		0x01093f, 0x01093f,
   409		0x010a00, 0x010a06,
   410		0x010a0c, 0x010a33,
   411		0x010a38, 0x010a3a,
   412		0x010a3f, 0x010a47,
   413		0x010a50, 0x010a58,
   414		0x010a60, 0x010a7f,
   415		0x010b00, 0x010b35,
   416		0x010b39, 0x010b55,
   417		0x010b58, 0x010b72,
   418		0x010b78, 0x010b7f,
   419		0x010c00, 0x010c48,
   420		0x010e60, 0x010e7e,
   421		0x011000, 0x01104d,
   422		0x011052, 0x01106f,
   423		0x011080, 0x0110c1,
   424		0x012000, 0x01236e,
   425		0x012400, 0x012462,
   426		0x012470, 0x012473,
   427		0x013000, 0x01342e,
   428		0x016800, 0x016a38,
   429		0x01b000, 0x01b001,
   430		0x01d000, 0x01d0f5,
   431		0x01d100, 0x01d126,
   432		0x01d129, 0x01d172,
   433		0x01d17b, 0x01d1dd,
   434		0x01d200, 0x01d245,
   435		0x01d300, 0x01d356,
   436		0x01d360, 0x01d371,
   437		0x01d400, 0x01d49f,
   438		0x01d4a2, 0x01d4a2,
   439		0x01d4a5, 0x01d4a6,
   440		0x01d4a9, 0x01d50a,
   441		0x01d50d, 0x01d546,
   442		0x01d54a, 0x01d6a5,
   443		0x01d6a8, 0x01d7cb,
   444		0x01d7ce, 0x01d7ff,
   445		0x01f000, 0x01f02b,
   446		0x01f030, 0x01f093,
   447		0x01f0a0, 0x01f0ae,
   448		0x01f0b1, 0x01f0be,
   449		0x01f0c1, 0x01f0df,
   450		0x01f100, 0x01f10a,
   451		0x01f110, 0x01f169,
   452		0x01f170, 0x01f19a,
   453		0x01f1e6, 0x01f202,
   454		0x01f210, 0x01f23a,
   455		0x01f240, 0x01f248,
   456		0x01f250, 0x01f251,
   457		0x01f300, 0x01f320,
   458		0x01f330, 0x01f37c,
   459		0x01f380, 0x01f393,
   460		0x01f3a0, 0x01f3ca,
   461		0x01f3e0, 0x01f3f0,
   462		0x01f400, 0x01f4fc,
   463		0x01f500, 0x01f53d,
   464		0x01f550, 0x01f567,
   465		0x01f5fb, 0x01f625,
   466		0x01f628, 0x01f62d,
   467		0x01f630, 0x01f640,
   468		0x01f645, 0x01f64f,
   469		0x01f680, 0x01f6c5,
   470		0x01f700, 0x01f773,
   471		0x020000, 0x02a6d6,
   472		0x02a700, 0x02b734,
   473		0x02b740, 0x02b81d,
   474		0x02f800, 0x02fa1d,
   475		0x0e0100, 0x0e01ef,
   476	}
   477	
   478	var isNotPrint32 = []uint16{ // add 0x10000 to each entry
   479		0x000c,
   480		0x0027,
   481		0x003b,
   482		0x003e,
   483		0x031f,
   484		0x039e,
   485		0x0809,
   486		0x0836,
   487		0x0856,
   488		0x0a04,
   489		0x0a14,
   490		0x0a18,
   491		0x10bd,
   492		0xd455,
   493		0xd49d,
   494		0xd4ad,
   495		0xd4ba,
   496		0xd4bc,
   497		0xd4c4,
   498		0xd506,
   499		0xd515,
   500		0xd51d,
   501		0xd53a,
   502		0xd53f,
   503		0xd545,
   504		0xd551,
   505		0xf0d0,
   506		0xf12f,
   507		0xf336,
   508		0xf3c5,
   509		0xf43f,
   510		0xf441,
   511		0xf4f8,
   512		0xf600,
   513		0xf611,
   514		0xf615,
   515		0xf617,
   516		0xf619,
   517		0xf61b,
   518		0xf61f,
   519		0xf62c,
   520		0xf634,
   521	}