MCPcopy Create free account
hub / github.com/MariaDB/server / bitmap_cmp

Function bitmap_cmp

include/my_bitmap.h:121–126  ·  view source on GitHub ↗

Return true if bitmaps are equal */

Source from the content-addressed store, hash-verified

119
120/* Return true if bitmaps are equal */
121static inline my_bool bitmap_cmp(const MY_BITMAP *map1, const MY_BITMAP *map2)
122{
123 DBUG_ASSERT(map1->n_bits == map2->n_bits);
124 return (memcmp(map1->bitmap, map2->bitmap,
125 my_bitmap_buffer_size(map1)) == 0);
126}
127
128#define bitmap_clear_all(MAP) \
129 { memset((MAP)->bitmap, 0, my_bitmap_buffer_size(MAP)); }

Callers 5

get_lookup_bitmapMethod · 0.85
test_compare_operatorsFunction · 0.85
test_copyFunction · 0.85

Calls

no outgoing calls

Tested by 2

test_compare_operatorsFunction · 0.68
test_copyFunction · 0.68