📄 doctypes.cpp
字号:
/* ANSI-C code produced by gperf version 3.0.1 *//* Command-line: gperf -CEot -L ANSI-C -k '*' -N findDoctypeEntry -F ,PubIDInfo::eAlmostStandards,PubIDInfo::eAlmostStandards ./doctypes.gperf */#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \ && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \ && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \ && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \ && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \ && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \ && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \ && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \ && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \ && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \ && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \ && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \ && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \ && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \ && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \ && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \ && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \ && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \ && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \ && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \ && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \ && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126))/* The character set is not based on ISO-646. */#error "gperf generated tables don't work with this execution character set. Please report a bug to <bug-gnu-gperf@gnu.org>."#endif#line 1 "./doctypes.gperf"struct PubIDInfo { enum eMode { eQuirks, eQuirks3, eAlmostStandards }; const char* name; eMode mode_if_no_sysid; eMode mode_if_sysid;};/* maximum key range = 178, duplicates = 0 */#ifdef __GNUC____inline#else#ifdef __cplusplusinline#endif#endifstatic unsigned inthash (register const char *str, register unsigned int len){ static const unsigned char asso_values[] = { 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 0, 241, 241, 241, 241, 241, 241, 0, 241, 241, 241, 0, 241, 0, 0, 0, 10, 0, 5, 0, 0, 0, 0, 0, 241, 0, 0, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 5, 0, 0, 10, 0, 10, 0, 0, 0, 241, 241, 0, 15, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241, 241 }; register int hval = len; switch (hval) { default: hval += asso_values[(unsigned char)str[79]]; /*FALLTHROUGH*/ case 79: hval += asso_values[(unsigned char)str[78]]; /*FALLTHROUGH*/ case 78: hval += asso_values[(unsigned char)str[77]]; /*FALLTHROUGH*/ case 77: hval += asso_values[(unsigned char)str[76]]; /*FALLTHROUGH*/ case 76: hval += asso_values[(unsigned char)str[75]]; /*FALLTHROUGH*/ case 75: hval += asso_values[(unsigned char)str[74]]; /*FALLTHROUGH*/ case 74: hval += asso_values[(unsigned char)str[73]]; /*FALLTHROUGH*/ case 73: hval += asso_values[(unsigned char)str[72]]; /*FALLTHROUGH*/ case 72: hval += asso_values[(unsigned char)str[71]]; /*FALLTHROUGH*/ case 71: hval += asso_values[(unsigned char)str[70]]; /*FALLTHROUGH*/ case 70: hval += asso_values[(unsigned char)str[69]]; /*FALLTHROUGH*/ case 69: hval += asso_values[(unsigned char)str[68]]; /*FALLTHROUGH*/ case 68: hval += asso_values[(unsigned char)str[67]]; /*FALLTHROUGH*/ case 67: hval += asso_values[(unsigned char)str[66]]; /*FALLTHROUGH*/ case 66: hval += asso_values[(unsigned char)str[65]]; /*FALLTHROUGH*/ case 65: hval += asso_values[(unsigned char)str[64]]; /*FALLTHROUGH*/ case 64: hval += asso_values[(unsigned char)str[63]]; /*FALLTHROUGH*/ case 63: hval += asso_values[(unsigned char)str[62]]; /*FALLTHROUGH*/ case 62: hval += asso_values[(unsigned char)str[61]]; /*FALLTHROUGH*/ case 61: hval += asso_values[(unsigned char)str[60]]; /*FALLTHROUGH*/ case 60: hval += asso_values[(unsigned char)str[59]]; /*FALLTHROUGH*/ case 59: hval += asso_values[(unsigned char)str[58]]; /*FALLTHROUGH*/ case 58: hval += asso_values[(unsigned char)str[57]]; /*FALLTHROUGH*/ case 57: hval += asso_values[(unsigned char)str[56]]; /*FALLTHROUGH*/ case 56: hval += asso_values[(unsigned char)str[55]]; /*FALLTHROUGH*/ case 55: hval += asso_values[(unsigned char)str[54]]; /*FALLTHROUGH*/ case 54: hval += asso_values[(unsigned char)str[53]]; /*FALLTHROUGH*/ case 53: hval += asso_values[(unsigned char)str[52]]; /*FALLTHROUGH*/ case 52: hval += asso_values[(unsigned char)str[51]]; /*FALLTHROUGH*/ case 51: hval += asso_values[(unsigned char)str[50]]; /*FALLTHROUGH*/ case 50: hval += asso_values[(unsigned char)str[49]]; /*FALLTHROUGH*/ case 49: hval += asso_values[(unsigned char)str[48]]; /*FALLTHROUGH*/ case 48: hval += asso_values[(unsigned char)str[47]]; /*FALLTHROUGH*/ case 47: hval += asso_values[(unsigned char)str[46]]; /*FALLTHROUGH*/ case 46: hval += asso_values[(unsigned char)str[45]]; /*FALLTHROUGH*/ case 45: hval += asso_values[(unsigned char)str[44]]; /*FALLTHROUGH*/ case 44: hval += asso_values[(unsigned char)str[43]]; /*FALLTHROUGH*/ case 43: hval += asso_values[(unsigned char)str[42]]; /*FALLTHROUGH*/ case 42: hval += asso_values[(unsigned char)str[41]]; /*FALLTHROUGH*/ case 41: hval += asso_values[(unsigned char)str[40]]; /*FALLTHROUGH*/ case 40: hval += asso_values[(unsigned char)str[39]]; /*FALLTHROUGH*/ case 39: hval += asso_values[(unsigned char)str[38]]; /*FALLTHROUGH*/ case 38: hval += asso_values[(unsigned char)str[37]]; /*FALLTHROUGH*/ case 37: hval += asso_values[(unsigned char)str[36]]; /*FALLTHROUGH*/ case 36: hval += asso_values[(unsigned char)str[35]]; /*FALLTHROUGH*/ case 35: hval += asso_values[(unsigned char)str[34]]; /*FALLTHROUGH*/ case 34: hval += asso_values[(unsigned char)str[33]]; /*FALLTHROUGH*/ case 33: hval += asso_values[(unsigned char)str[32]]; /*FALLTHROUGH*/ case 32: hval += asso_values[(unsigned char)str[31]]; /*FALLTHROUGH*/ case 31: hval += asso_values[(unsigned char)str[30]]; /*FALLTHROUGH*/ case 30: hval += asso_values[(unsigned char)str[29]]; /*FALLTHROUGH*/ case 29: hval += asso_values[(unsigned char)str[28]]; /*FALLTHROUGH*/ case 28: hval += asso_values[(unsigned char)str[27]]; /*FALLTHROUGH*/ case 27: hval += asso_values[(unsigned char)str[26]]; /*FALLTHROUGH*/ case 26: hval += asso_values[(unsigned char)str[25]]; /*FALLTHROUGH*/ case 25: hval += asso_values[(unsigned char)str[24]]; /*FALLTHROUGH*/ case 24: hval += asso_values[(unsigned char)str[23]]; /*FALLTHROUGH*/ case 23: hval += asso_values[(unsigned char)str[22]]; /*FALLTHROUGH*/ case 22: hval += asso_values[(unsigned char)str[21]]; /*FALLTHROUGH*/ case 21: hval += asso_values[(unsigned char)str[20]]; /*FALLTHROUGH*/ case 20: hval += asso_values[(unsigned char)str[19]]; /*FALLTHROUGH*/ case 19: hval += asso_values[(unsigned char)str[18]]; /*FALLTHROUGH*/ case 18: hval += asso_values[(unsigned char)str[17]]; /*FALLTHROUGH*/ case 17: hval += asso_values[(unsigned char)str[16]]; /*FALLTHROUGH*/ case 16: hval += asso_values[(unsigned char)str[15]]; /*FALLTHROUGH*/ case 15: hval += asso_values[(unsigned char)str[14]]; /*FALLTHROUGH*/ case 14: hval += asso_values[(unsigned char)str[13]]; /*FALLTHROUGH*/ case 13: hval += asso_values[(unsigned char)str[12]]; /*FALLTHROUGH*/ case 12: hval += asso_values[(unsigned char)str[11]]; /*FALLTHROUGH*/ case 11: hval += asso_values[(unsigned char)str[10]]; /*FALLTHROUGH*/ case 10: hval += asso_values[(unsigned char)str[9]]; /*FALLTHROUGH*/ case 9: hval += asso_values[(unsigned char)str[8]]; /*FALLTHROUGH*/ case 8: hval += asso_values[(unsigned char)str[7]]; /*FALLTHROUGH*/ case 7: hval += asso_values[(unsigned char)str[6]]; /*FALLTHROUGH*/ case 6: hval += asso_values[(unsigned char)str[5]]; /*FALLTHROUGH*/ case 5: hval += asso_values[(unsigned char)str[4]]; /*FALLTHROUGH*/ case 4: hval += asso_values[(unsigned char)str[3]]; /*FALLTHROUGH*/ case 3: hval += asso_values[(unsigned char)str[2]]; /*FALLTHROUGH*/ case 2: hval += asso_values[(unsigned char)str[1]]; /*FALLTHROUGH*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -