| 318 | |
| 319 | #define BIGINT2STR_MAX_LEN INT2STR_MAX_LEN |
| 320 | static inline char* bigint2str(long long l, int* len) |
| 321 | { |
| 322 | unsigned int buf; |
| 323 | |
| 324 | buf = getstrbufindex(); |
| 325 | *len = snprintf(int2str_buf[buf], INT2STR_MAX_LEN - 1, "%lld", l); |
| 326 | int2str_buf[buf][*len] = '\0'; |
| 327 | |
| 328 | return int2str_buf[buf]; |
| 329 | } |
| 330 | |
| 331 | /* faster memchr version */ |
| 332 | static inline char* q_memchr(char* p, int c, unsigned int size) |
no test coverage detected