|
TrinityCore
|
Go to the documentation of this file.
2 #ifdef JEMALLOC_H_TYPES
28 #define prng32(r, lg_range, state, a, c) do { \
29 assert(lg_range > 0); \
30 assert(lg_range <= 32); \
32 r = (state * (a)) + (c); \
34 r >>= (32 - lg_range); \
38 #define prng64(r, lg_range, state, a, c) do { \
39 assert(lg_range > 0); \
40 assert(lg_range <= 64); \
42 r = (state * (a)) + (c); \
44 r >>= (64 - lg_range); \
49 #ifdef JEMALLOC_H_STRUCTS
53 #ifdef JEMALLOC_H_EXTERNS
57 #ifdef JEMALLOC_H_INLINES