search for: bitmap_align

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

2000 May 02
0
patch for .samba-2.0.7/source/lib/bitmap.c
...h ) 3) totally changed bitmap_find(). I guess this 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 ); + + /***********************************************************************...