MCPcopy Create free account
hub / github.com/AliveToolkit/alive2 / size_byte_number

Function size_byte_number

ir/memory.cpp:137–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135
136
137static unsigned size_byte_number() {
138 if (!num_sub_byte_bits)
139 return 0;
140 return
141 max(ilog2_ceil(divide_up(1 << num_sub_byte_bits, bits_byte), false), 1u);
142}
143
144static unsigned sub_byte_bits() {
145 return num_sub_byte_bits + size_byte_number();

Callers 6

sub_byte_bitsFunction · 0.85
padding_nonptr_byteFunction · 0.85
ByteMethod · 0.85
numStoredBitsMethod · 0.85
byteNumberMethod · 0.85

Calls 2

ilog2_ceilFunction · 0.85
divide_upFunction · 0.85

Tested by

no test coverage detected