MCPcopy Create free account
hub / github.com/comaps/comaps / get_control_level

Function get_control_level

libs/indexer/classificator.cpp:158–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158uint8_t get_control_level(uint32_t type)
159{
160 uint8_t count = 0;
161 while (type > 1)
162 {
163 type = type >> bits_count;
164 ++count;
165 }
166
167 return count;
168}
169
170void PushValue(uint32_t & type, uint8_t value)
171{

Callers 4

PushValueFunction · 0.85
PopValueFunction · 0.85
TruncValueFunction · 0.85
GetLevelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected