- use librtti

- Fix issue to xce_get() api cause client side crash
- add parse resreq section
- add rusage parser
- parse resreq with basic support alternative & compound, still miss select
This commit is contained in:
Rongsong Shen 2026-02-05 17:21:17 +08:00
parent e7dc09c604
commit cd4f3953b2
20 changed files with 1422 additions and 15 deletions

View file

@ -629,7 +629,7 @@ void block_sig(int signo)
c -= rot(b, 24); \
}
uint32_t hash(uint32_t a, uint32_t b, uint32_t c, uint32_t d)
uint32_t hash4(uint32_t a, uint32_t b, uint32_t c, uint32_t d)
{
uint32_t i1 = a, i2 = b, i3 = c, i4 = d;
@ -648,7 +648,7 @@ uint32_t hash64(uint64_t x)
uint32_t c = ((a & UMAX_BITS(16)) << 16) | (b >> 16);
uint32_t d = ((b & UMAX_BITS(16)) << 16) | (a >> 16);
return hash(a, b, c, d);
return hash4(a, b, c, d);
}
uint32_t hash_string(const char* key)