haproxy/include
Willy Tarreau 4d589e719b MINOR: tools: add a function varint_bytes() to report the size of a varint
It will sometimes be useful to encode varints to know the output size in
advance. Two versions are provided, one inline using a switch/case construct
which will be trivial for use with constants (and will be very fast albeit
huge) and one function iterating on the number which is 5 times smaller,
for use with variables.
2019-08-27 17:14:19 +02:00
..
common MINOR: tools: add a function varint_bytes() to report the size of a varint 2019-08-27 17:14:19 +02:00
import BUILD: threads/plock: fix a build issue on Clang without optimization 2017-11-20 21:06:35 +01:00
proto MINOR: trace: add per-level macros to produce traces 2019-08-22 20:21:00 +02:00
types BUILD: trace: make the lockon_ptr const to silence a warning without threads 2019-08-22 20:26:28 +02:00