#include <my_pthread.h>
Ir al código fuente de este archivo.
Clases |
| struct | st_bitmap |
'defines' |
| #define | MY_BIT_NONE (~(uint) 0) |
| #define | bitmap_fast_set_bit(MAP, BIT) (MAP)->bitmap[(BIT) / 8] |= (1 << ((BIT) & 7)) |
| #define | bitmap_fast_clear_bit(MAP, BIT) (MAP)->bitmap[(BIT) / 8] &= ~ (1 << ((BIT) & 7)) |
| #define | bitmap_fast_is_set(MAP, BIT) (MAP)->bitmap[(BIT) / 8] & (1 << ((BIT) & 7)) |
'typedefs' |
| typedef struct st_bitmap | MY_BITMAP |
Funciones |
| my_bool | bitmap_cmp (const MY_BITMAP *map1, const MY_BITMAP *map2) |
| my_bool | bitmap_init (MY_BITMAP *map, uchar *buf, uint bitmap_size, my_bool thread_safe) |
| my_bool | bitmap_is_clear_all (const MY_BITMAP *map) |
| my_bool | bitmap_is_prefix (const MY_BITMAP *map, uint prefix_size) |
| my_bool | bitmap_is_set (const MY_BITMAP *map, uint bitmap_bit) |
| my_bool | bitmap_is_set_all (const MY_BITMAP *map) |
| my_bool | bitmap_is_subset (const MY_BITMAP *map1, const MY_BITMAP *map2) |
| my_bool | bitmap_test_and_set (MY_BITMAP *map, uint bitmap_bit) |
| my_bool | bitmap_fast_test_and_set (MY_BITMAP *map, uint bitmap_bit) |
| uint | bitmap_set_next (MY_BITMAP *map) |
| uint | bitmap_get_first (const MY_BITMAP *map) |
| uint | bitmap_bits_set (const MY_BITMAP *map) |
| void | bitmap_clear_all (MY_BITMAP *map) |
| void | bitmap_clear_bit (MY_BITMAP *map, uint bitmap_bit) |
| void | bitmap_free (MY_BITMAP *map) |
| void | bitmap_intersect (MY_BITMAP *map, const MY_BITMAP *map2) |
| void | bitmap_set_above (MY_BITMAP *map, uint from_byte, uint use_bit) |
| void | bitmap_set_all (MY_BITMAP *map) |
| void | bitmap_set_bit (MY_BITMAP *map, uint bitmap_bit) |
| void | bitmap_set_prefix (MY_BITMAP *map, uint prefix_size) |
| void | bitmap_subtract (MY_BITMAP *map, const MY_BITMAP *map2) |
| void | bitmap_union (MY_BITMAP *map, const MY_BITMAP *map2) |
Documentación de los 'defines'
| #define bitmap_fast_clear_bit |
( |
|
MAP, |
|
|
|
BIT |
|
) |
| (MAP)->bitmap[(BIT) / 8] &= ~ (1 << ((BIT) & 7)) |
| #define bitmap_fast_is_set |
( |
|
MAP, |
|
|
|
BIT |
|
) |
| (MAP)->bitmap[(BIT) / 8] & (1 << ((BIT) & 7)) |
| #define bitmap_fast_set_bit |
( |
|
MAP, |
|
|
|
BIT |
|
) |
| (MAP)->bitmap[(BIT) / 8] |= (1 << ((BIT) & 7)) |
| #define MY_BIT_NONE (~(uint) 0) |
Documentación de los 'typedefs'
Documentación de las funciones