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

Function PopValue

libs/indexer/classificator.cpp:192–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192void PopValue(uint32_t & type)
193{
194 uint8_t const cl = get_control_level(type);
195 ASSERT_GREATER(cl, 0, ());
196
197 // remove control level
198 set_value(type, cl, 0);
199
200 // set control level
201 set_value(type, cl - 1, 1);
202}
203
204void TruncValue(uint32_t & type, uint8_t level)
205{

Callers 1

check_values_arrayFunction · 0.85

Calls 2

get_control_levelFunction · 0.85
set_valueFunction · 0.85

Tested by 1

check_values_arrayFunction · 0.68