📄 doctypes.cpp
字号:
/* ANSI-C code produced by gperf version 2.7.2 *//* Command-line: gperf -CEot -L ANSI-C -k '*' -N findDoctypeEntry -F ,PubIDInfo::eAlmostStandards,PubIDInfo::eAlmostStandards doctypes.gperf */struct PubIDInfo { enum eMode { eQuirks, eQuirks3, eAlmostStandards }; const char* name; eMode mode_if_no_sysid; eMode mode_if_sysid;};/* maximum key range = 566, duplicates = 0 */#ifdef __GNUC____inline#else#ifdef __cplusplusinline#endif#endifstatic unsigned inthash (register const char *str, register unsigned int len){ static const unsigned short asso_values[] = { 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 0, 570, 570, 570, 570, 570, 570, 0, 570, 570, 570, 25, 570, 0, 0, 0, 0, 50, 25, 15, 50, 5, 0, 0, 570, 0, 0, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 570, 0, 0, 0, 0, 40, 5, 40, 0, 0, 5, 90, 20, 60, 0, 0, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, 570 }; register int hval = len; switch (hval) { default: case 80: hval += asso_values[(unsigned char)str[79]]; case 79: hval += asso_values[(unsigned char)str[78]]; case 78: hval += asso_values[(unsigned char)str[77]]; case 77: hval += asso_values[(unsigned char)str[76]]; case 76: hval += asso_values[(unsigned char)str[75]]; case 75: hval += asso_values[(unsigned char)str[74]]; case 74: hval += asso_values[(unsigned char)str[73]]; case 73: hval += asso_values[(unsigned char)str[72]]; case 72: hval += asso_values[(unsigned char)str[71]]; case 71: hval += asso_values[(unsigned char)str[70]]; case 70: hval += asso_values[(unsigned char)str[69]]; case 69: hval += asso_values[(unsigned char)str[68]]; case 68: hval += asso_values[(unsigned char)str[67]]; case 67: hval += asso_values[(unsigned char)str[66]]; case 66: hval += asso_values[(unsigned char)str[65]]; case 65: hval += asso_values[(unsigned char)str[64]]; case 64: hval += asso_values[(unsigned char)str[63]]; case 63: hval += asso_values[(unsigned char)str[62]]; case 62: hval += asso_values[(unsigned char)str[61]]; case 61: hval += asso_values[(unsigned char)str[60]]; case 60: hval += asso_values[(unsigned char)str[59]]; case 59: hval += asso_values[(unsigned char)str[58]]; case 58: hval += asso_values[(unsigned char)str[57]]; case 57: hval += asso_values[(unsigned char)str[56]]; case 56: hval += asso_values[(unsigned char)str[55]]; case 55: hval += asso_values[(unsigned char)str[54]]; case 54: hval += asso_values[(unsigned char)str[53]]; case 53: hval += asso_values[(unsigned char)str[52]]; case 52: hval += asso_values[(unsigned char)str[51]]; case 51: hval += asso_values[(unsigned char)str[50]]; case 50: hval += asso_values[(unsigned char)str[49]]; case 49: hval += asso_values[(unsigned char)str[48]]; case 48: hval += asso_values[(unsigned char)str[47]]; case 47: hval += asso_values[(unsigned char)str[46]]; case 46: hval += asso_values[(unsigned char)str[45]]; case 45: hval += asso_values[(unsigned char)str[44]]; case 44: hval += asso_values[(unsigned char)str[43]]; case 43: hval += asso_values[(unsigned char)str[42]]; case 42: hval += asso_values[(unsigned char)str[41]]; case 41: hval += asso_values[(unsigned char)str[40]]; case 40: hval += asso_values[(unsigned char)str[39]]; case 39: hval += asso_values[(unsigned char)str[38]]; case 38: hval += asso_values[(unsigned char)str[37]]; case 37: hval += asso_values[(unsigned char)str[36]]; case 36: hval += asso_values[(unsigned char)str[35]]; case 35: hval += asso_values[(unsigned char)str[34]]; case 34: hval += asso_values[(unsigned char)str[33]]; case 33: hval += asso_values[(unsigned char)str[32]]; case 32: hval += asso_values[(unsigned char)str[31]]; case 31: hval += asso_values[(unsigned char)str[30]]; case 30: hval += asso_values[(unsigned char)str[29]]; case 29: hval += asso_values[(unsigned char)str[28]]; case 28: hval += asso_values[(unsigned char)str[27]]; case 27: hval += asso_values[(unsigned char)str[26]]; case 26: hval += asso_values[(unsigned char)str[25]]; case 25: hval += asso_values[(unsigned char)str[24]]; case 24: hval += asso_values[(unsigned char)str[23]]; case 23: hval += asso_values[(unsigned char)str[22]]; case 22: hval += asso_values[(unsigned char)str[21]]; case 21: hval += asso_values[(unsigned char)str[20]]; case 20: hval += asso_values[(unsigned char)str[19]]; case 19: hval += asso_values[(unsigned char)str[18]]; case 18: hval += asso_values[(unsigned char)str[17]]; case 17: hval += asso_values[(unsigned char)str[16]]; case 16: hval += asso_values[(unsigned char)str[15]]; case 15: hval += asso_values[(unsigned char)str[14]]; case 14: hval += asso_values[(unsigned char)str[13]]; case 13: hval += asso_values[(unsigned char)str[12]]; case 12: hval += asso_values[(unsigned char)str[11]]; case 11: hval += asso_values[(unsigned char)str[10]]; case 10: hval += asso_values[(unsigned char)str[9]]; case 9: hval += asso_values[(unsigned char)str[8]]; case 8: hval += asso_values[(unsigned char)str[7]]; case 7: hval += asso_values[(unsigned char)str[6]];
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -