Reindent.
This commit is contained in:
parent
d0a3129b88
commit
027ace8519
@ -11,25 +11,25 @@
|
|||||||
#define JEMALLOC_VERSION_NREV @jemalloc_version_nrev@
|
#define JEMALLOC_VERSION_NREV @jemalloc_version_nrev@
|
||||||
#define JEMALLOC_VERSION_GID "@jemalloc_version_gid@"
|
#define JEMALLOC_VERSION_GID "@jemalloc_version_gid@"
|
||||||
|
|
||||||
# define MALLOCX_LG_ALIGN(la) ((int)(la))
|
#define MALLOCX_LG_ALIGN(la) ((int)(la))
|
||||||
# if LG_SIZEOF_PTR == 2
|
#if LG_SIZEOF_PTR == 2
|
||||||
# define MALLOCX_ALIGN(a) ((int)(ffs((int)(a))-1))
|
# define MALLOCX_ALIGN(a) ((int)(ffs((int)(a))-1))
|
||||||
# else
|
#else
|
||||||
# define MALLOCX_ALIGN(a) \
|
# define MALLOCX_ALIGN(a) \
|
||||||
((int)(((size_t)(a) < (size_t)INT_MAX) ? ffs((int)(a))-1 : \
|
((int)(((size_t)(a) < (size_t)INT_MAX) ? ffs((int)(a))-1 : \
|
||||||
ffs((int)(((size_t)(a))>>32))+31))
|
ffs((int)(((size_t)(a))>>32))+31))
|
||||||
# endif
|
#endif
|
||||||
# define MALLOCX_ZERO ((int)0x40)
|
#define MALLOCX_ZERO ((int)0x40)
|
||||||
/*
|
/*
|
||||||
* Bias tcache index bits so that 0 encodes "automatic tcache management", and 1
|
* Bias tcache index bits so that 0 encodes "automatic tcache management", and 1
|
||||||
* encodes MALLOCX_TCACHE_NONE.
|
* encodes MALLOCX_TCACHE_NONE.
|
||||||
*/
|
*/
|
||||||
# define MALLOCX_TCACHE(tc) ((int)(((tc)+2) << 8))
|
#define MALLOCX_TCACHE(tc) ((int)(((tc)+2) << 8))
|
||||||
# define MALLOCX_TCACHE_NONE MALLOCX_TCACHE(-1)
|
#define MALLOCX_TCACHE_NONE MALLOCX_TCACHE(-1)
|
||||||
/*
|
/*
|
||||||
* Bias arena index bits so that 0 encodes "use an automatically chosen arena".
|
* Bias arena index bits so that 0 encodes "use an automatically chosen arena".
|
||||||
*/
|
*/
|
||||||
# define MALLOCX_ARENA(a) ((((int)(a))+1) << 20)
|
#define MALLOCX_ARENA(a) ((((int)(a))+1) << 20)
|
||||||
|
|
||||||
#if defined(__cplusplus) && defined(JEMALLOC_USE_CXX_THROW)
|
#if defined(__cplusplus) && defined(JEMALLOC_USE_CXX_THROW)
|
||||||
# define JEMALLOC_CXX_THROW throw()
|
# define JEMALLOC_CXX_THROW throw()
|
||||||
|
Loading…
Reference in New Issue
Block a user