pike.git / src / block_allocator.c

version» Context lines:

pike.git/src/block_allocator.c:372:    if (!BA_CHECK_PTR(l, p, ptr)) {    print_allocator(a);    if (loc) fprintf(stderr, "In block %p:\n", loc);    Pike_nfatal(ln)("Free-List corruption. Block %p does not belong to page %p\n", ptr, p);    }   }   #endif      #if SIZEOF_LONG == 8 || SIZEOF_LONG_LONG == 8   #define BV_LENGTH 64 - #define BV_ONE ((unsigned INT64)1) - #define BV_NIL ((unsigned INT64)0) + #define BV_ONE ((UINT64)1) + #define BV_NIL ((UINT64)0)   #define BV_CLZ clz64   #define BV_CTZ ctz64 - typedef unsigned INT64 bv_int_t; + typedef UINT64 bv_int_t;   #else   #define BV_LENGTH 32   #define BV_ONE ((unsigned INT32)1)   #define BV_NIL ((unsigned INT32)0)   #define BV_CLZ clz32   #define BV_CTZ ctz32   typedef unsigned INT32 bv_int_t;   #endif      #define BV_WIDTH (BV_LENGTH/8)