pike.git / src / block_alloc.h

version» Context lines:

pike.git/src/block_alloc.h:42:    * the payload data (i.e. that aren't x). This can be used in BSIZE to    * make the block fit within a page. */   #ifndef BLOCK_HEADER_SIZE   #define BLOCK_HEADER_SIZE (3 * sizeof (void *) + sizeof (INT32) \    DO_IF_DMALLOC( + sizeof(INT32)))   #endif      #ifndef PTR_HASH_HASHFUN_DEFINED   #define PTR_HASH_HASHFUN_DEFINED    - static INLINE PIKE_HASH_T ptr_hashfun(void * ptr) { + static INLINE PIKE_HASH_T PIKE_UNUSED_ATTRIBUTE ptr_hashfun(void * ptr) {    PIKE_HASH_T q = (size_t)((char*)ptr - (char*)0);    q ^= (q >> 20) ^ (q >> 12);    return q ^ (q >> 7) ^ (q >> 4);   }      static INLINE size_t ptr_hash_find_hashsize(size_t size) {    if (size & (size-1)) {    size |= size >> 1;    size |= size >> 2;    size |= size >> 4;