N_NIMCALL(NI, hashignorecase_120935)(NimStringDesc* x) { NI result; NI h; NI i_120950; NI HEX3Atmp_121002; NI TMP273; NI res_121004; nimfr("hashIgnoreCase", "hashes.nim") result = 0; nimln(111, "hashes.nim"); h = 0; i_120950 = 0; HEX3Atmp_121002 = 0; nimln(112, "hashes.nim"); nimln(112, "hashes.nim"); nimln(112, "hashes.nim"); TMP273 = subInt(x->Sup.len, 1); HEX3Atmp_121002 = (NI32)(TMP273); nimln(1458, "system.nim"); res_121004 = 0; nimln(1459, "system.nim"); while (1) { NIM_CHAR c; nimln(1459, "system.nim"); if (!(res_121004 <= HEX3Atmp_121002)) goto LA1; nimln(1458, "system.nim"); i_120950 = res_121004; nimln(113, "hashes.nim"); if ((NU)(i_120950) > (NU)(x->Sup.len)) raiseIndexError(); c = x->data[i_120950]; nimln(114, "hashes.nim"); { NI TMP274; nimln(114, "hashes.nim"); if (!(((NU8)(c)) >= ((NU8)(65)) && ((NU8)(c)) <= ((NU8)(90)))) goto LA4; nimln(115, "hashes.nim"); nimln(115, "hashes.nim"); nimln(115, "hashes.nim"); nimln(115, "hashes.nim"); TMP274 = addInt(((NI) (((NU8)(c)))), 32); c = ((NIM_CHAR) (((NI)chckRange((NI32)(TMP274), 0, 255)))); } LA4: ; nimln(116, "hashes.nim"); nimln(116, "hashes.nim"); h = HEX21HEX26_120015(h, ((NI) (((NU8)(c))))); nimln(1461, "system.nim"); res_121004 = addInt(res_121004, 1); } LA1: ; nimln(117, "hashes.nim"); result = HEX21HEX24_120040(h); popFrame(); return result; }
N_NIMCALL(NI, hash_120827)(NimStringDesc* x) { NI result; NI h; NI i_120842; NI HEX3Atmp_120852; NI TMP270; NI res_120854; nimfr("hash", "hashes.nim") result = 0; nimln(92, "hashes.nim"); h = 0; i_120842 = 0; HEX3Atmp_120852 = 0; nimln(93, "hashes.nim"); nimln(93, "hashes.nim"); nimln(93, "hashes.nim"); TMP270 = subInt(x->Sup.len, 1); HEX3Atmp_120852 = (NI64)(TMP270); nimln(1458, "system.nim"); res_120854 = 0; nimln(1459, "system.nim"); while (1) { nimln(1459, "system.nim"); if (!(res_120854 <= HEX3Atmp_120852)) goto LA1; nimln(1458, "system.nim"); i_120842 = res_120854; nimln(94, "hashes.nim"); nimln(94, "hashes.nim"); if ((NU)(i_120842) > (NU)(x->Sup.len)) raiseIndexError(); h = HEX21HEX26_120015(h, ((NI) (((NU8)(x->data[i_120842]))))); nimln(1461, "system.nim"); res_120854 = addInt(res_120854, 1); } LA1: ; nimln(95, "hashes.nim"); result = HEX21HEX24_120040(h); popFrame(); return result; }
N_NIMCALL(NI, hashignorestyle_120859)(NimStringDesc* x) { NI result; NI h; NI i_120874; NI HEX3Atmp_120927; NI TMP271; NI res_120929; nimfr("hashIgnoreStyle", "hashes.nim") result = 0; nimln(99, "hashes.nim"); h = 0; i_120874 = 0; HEX3Atmp_120927 = 0; nimln(100, "hashes.nim"); nimln(100, "hashes.nim"); nimln(100, "hashes.nim"); TMP271 = subInt(x->Sup.len, 1); HEX3Atmp_120927 = (NI64)(TMP271); nimln(1458, "system.nim"); res_120929 = 0; nimln(1459, "system.nim"); while (1) { nimln(1459, "system.nim"); if (!(res_120929 <= HEX3Atmp_120927)) goto LA1; nimln(1458, "system.nim"); i_120874 = res_120929; { NIM_CHAR c; nimln(101, "hashes.nim"); if ((NU)(i_120874) > (NU)(x->Sup.len)) raiseIndexError(); c = x->data[i_120874]; nimln(102, "hashes.nim"); { nimln(102, "hashes.nim"); if (!((NU8)(c) == (NU8)(95))) goto LA5; nimln(103, "hashes.nim"); goto LA2; } LA5: ; nimln(104, "hashes.nim"); { NI TMP272; nimln(104, "hashes.nim"); if (!(((NU8)(c)) >= ((NU8)(65)) && ((NU8)(c)) <= ((NU8)(90)))) goto LA9; nimln(105, "hashes.nim"); nimln(105, "hashes.nim"); nimln(105, "hashes.nim"); nimln(105, "hashes.nim"); TMP272 = addInt(((NI) (((NU8)(c)))), 32); c = ((NIM_CHAR) (((NI)chckRange((NI64)(TMP272), 0, 255)))); } LA9: ; nimln(106, "hashes.nim"); nimln(106, "hashes.nim"); h = HEX21HEX26_120015(h, ((NI) (((NU8)(c))))); } LA2: ; nimln(1461, "system.nim"); res_120929 = addInt(res_120929, 1); } LA1: ; nimln(107, "hashes.nim"); result = HEX21HEX24_120040(h); popFrame(); return result; }
N_NIMCALL(NI, hashtree_252022)(tnode192813* n) { NI result; nimfr("hashTree", "treetab.nim") result = 0; nimln(16, "treetab.nim"); { nimln(16, "treetab.nim"); if (!(n == NIM_NIL)) goto LA3; nimln(16, "treetab.nim"); goto BeforeRet; } LA3: ; nimln(17, "treetab.nim"); nimln(17, "treetab.nim"); result = ((NI) ((*n).Kind)); nimln(18, "treetab.nim"); switch ((*n).Kind) { case ((NU8) 1): case ((NU8) 23): case ((NU8) 4): { } break; case ((NU8) 2): { nimln(22, "treetab.nim"); if (!(((TMP3200[(*n).Kind/8] &(1<<((*n).Kind%8)))!=0))) raiseFieldError(((NimStringDesc*) &TMP3201)); result = HEX21HEX26_120015(result, (*(*n).kindU.S5.Ident).H); } break; case ((NU8) 3): { nimln(24, "treetab.nim"); if (!(((TMP3202[(*n).Kind/8] &(1<<((*n).Kind%8)))!=0))) raiseFieldError(((NimStringDesc*) &TMP3203)); result = HEX21HEX26_120015(result, (*(*(*n).kindU.S4.Sym).Name).H); } break; case ((NU8) 5) ... ((NU8) 15): { nimln(26, "treetab.nim"); { NIM_BOOL LOC11; nimln(26, "treetab.nim"); LOC11 = 0; nimln(26, "treetab.nim"); if (!(((TMP3204[(*n).Kind/8] &(1<<((*n).Kind%8)))!=0))) raiseFieldError(((NimStringDesc*) &TMP3205)); LOC11 = ((-2147483647 -1) <= (*n).kindU.S1.Intval); if (!(LOC11)) goto LA12; nimln(26, "treetab.nim"); if (!(((TMP3204[(*n).Kind/8] &(1<<((*n).Kind%8)))!=0))) raiseFieldError(((NimStringDesc*) &TMP3205)); LOC11 = ((*n).kindU.S1.Intval <= 2147483647); LA12: ; if (!LOC11) goto LA13; nimln(27, "treetab.nim"); if (!(((TMP3204[(*n).Kind/8] &(1<<((*n).Kind%8)))!=0))) raiseFieldError(((NimStringDesc*) &TMP3205)); result = HEX21HEX26_120015(result, ((NI)chckRange64((*n).kindU.S1.Intval, (-2147483647 -1), 2147483647))); } LA13: ; } break; case ((NU8) 16) ... ((NU8) 18): { nimln(29, "treetab.nim"); { NIM_BOOL LOC18; nimln(29, "treetab.nim"); LOC18 = 0; nimln(29, "treetab.nim"); if (!(((TMP3206[(*n).Kind/8] &(1<<((*n).Kind%8)))!=0))) raiseFieldError(((NimStringDesc*) &TMP3207)); LOC18 = (-1.0000000000000000e+006 <= (*n).kindU.S2.Floatval); if (!(LOC18)) goto LA19; nimln(29, "treetab.nim"); if (!(((TMP3206[(*n).Kind/8] &(1<<((*n).Kind%8)))!=0))) raiseFieldError(((NimStringDesc*) &TMP3207)); LOC18 = ((*n).kindU.S2.Floatval <= 1.0000000000000000e+006); LA19: ; if (!LOC18) goto LA20; nimln(30, "treetab.nim"); nimln(30, "treetab.nim"); if (!(((TMP3206[(*n).Kind/8] &(1<<((*n).Kind%8)))!=0))) raiseFieldError(((NimStringDesc*) &TMP3207)); result = HEX21HEX26_120015(result, float64ToInt32((*n).kindU.S2.Floatval)); } LA20: ; } break; case ((NU8) 20) ... ((NU8) 22): { NI LOC23; nimln(32, "treetab.nim"); nimln(32, "treetab.nim"); if (!(((TMP3208[(*n).Kind/8] &(1<<((*n).Kind%8)))!=0))) raiseFieldError(((NimStringDesc*) &TMP3209)); LOC23 = 0; LOC23 = hash_120827((*n).kindU.S3.Strval); result = HEX21HEX26_120015(result, LOC23); } break; default: { NI i_252197; NI HEX3Atmp_252216; NI LOC25; NI TMP3212; NI res_252218; i_252197 = 0; HEX3Atmp_252216 = 0; nimln(34, "treetab.nim"); nimln(34, "treetab.nim"); nimln(34, "treetab.nim"); LOC25 = 0; LOC25 = sonslen_193191(n); TMP3212 = subInt(LOC25, 1); HEX3Atmp_252216 = (NI32)(TMP3212); nimln(1451, "system.nim"); res_252218 = 0; nimln(1452, "system.nim"); while (1) { NI LOC27; nimln(1452, "system.nim"); if (!(res_252218 <= HEX3Atmp_252216)) goto LA26; nimln(1451, "system.nim"); i_252197 = res_252218; nimln(35, "treetab.nim"); nimln(35, "treetab.nim"); if (((TMP3210[(*n).Kind/8] &(1<<((*n).Kind%8)))!=0)) raiseFieldError(((NimStringDesc*) &TMP3211)); if ((NU)(i_252197) >= (NU)((*n).kindU.S6.Sons->Sup.len)) raiseIndexError(); LOC27 = 0; LOC27 = hashtree_252022((*n).kindU.S6.Sons->data[i_252197]); result = HEX21HEX26_120015(result, LOC27); nimln(1454, "system.nim"); res_252218 = addInt(res_252218, 1); } LA26: ; } break; } BeforeRet: ; popFrame(); return result; }