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

Method next_bit

sql/sql_bitmap.h:37–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35public:
36 Table_map_iterator(ulonglong t): bmp(t){}
37 uint next_bit()
38 {
39 if (!bmp)
40 return BITMAP_END;
41 uint bit= my_find_first_bit(bmp);
42 bmp &= ~(1ULL << bit);
43 return bit;
44 }
45 int operator++(int) { return next_bit(); }
46 enum { BITMAP_END= 64 };
47};

Callers 6

get_fanout_with_depsFunction · 0.80
check_out_index_statsFunction · 0.80
get_post_group_estimateFunction · 0.80
optimize_keyuseFunction · 0.80
optimize_semijoin_nestsFunction · 0.80
sj_table_is_includedFunction · 0.80

Calls 1

my_find_first_bitFunction · 0.85

Tested by

no test coverage detected