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

Method bits_set

sql/sql_bitmap.h:273–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

271 return buffer[0];
272 }
273 uint bits_set() const
274 {
275 uint res= 0;
276 for (size_t i= 0; i < ARRAY_ELEMENTS; i++)
277 if (buffer[i])
278 res+= my_count_bits(buffer[i]);
279 return res;
280 }
281 uint find_first_bit() const
282 {
283 for (size_t i= 0; i < ARRAY_ELEMENTS; i++)

Callers 5

fix_key_hintsMethod · 0.45
add_key_fieldFunction · 0.45
find_shortest_keyFunction · 0.45

Calls 1

my_count_bitsFunction · 0.85

Tested by

no test coverage detected