Home
last modified time | relevance | path

Searched refs:max_value (Results 1 – 1 of 1) sorted by relevance

/nanopb-3.4.0/generator/
Dnanopb_generator.py251 def varint_max_size(max_value): argument
253 if max_value < 0:
254 max_value = 2**64 - max_value
256 if (max_value >> (i * 7)) == 0:
258 raise ValueError("Value too large for varint: " + str(max_value))