MCPcopy Create free account
hub / github.com/PX4/eigen / log2_pot

Function log2_pot

bench/analyze-blocking-sizes.cpp:34–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32bool dump_tables = false;
33
34uint8_t log2_pot(size_t x) {
35 size_t l = 0;
36 while (x >>= 1) l++;
37 return l;
38}
39
40uint16_t compact_size_triple(size_t k, size_t m, size_t n)
41{

Callers 2

compact_size_tripleFunction · 0.70
dump_table_for_subsetFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected