search for: uint32_allon

Displaying 1 result from an estimated 1 matches for "uint32_allon".

Did you mean: uint32_allone
2000 May 02
0
patch for .samba-2.0.7/source/lib/bitmap.c
...s should work faster then testing each bits one-by-one. --- ./source/lib/bitmap.c 2000/04/29 15:35:49 1.1 +++ ./source/lib/bitmap.c 2000/05/01 09:00:59 @@ -21,35 +21,42 @@ #include "includes.h" extern int DEBUGLEVEL; +#define BITMAP_ALIGN 32 +#define UINT32_BITS 32 +#define UINT32_ALLONE (0xffffffffUL) + /* these functions provide a simple way to allocate integers from a pool without repitition */ +static int find_bitmap_one( uint32 bitmaps ); + + /**************************************************************************** allocate a bitmap of the specified size *...