MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / leb128_len

Function leb128_len

Dependencies/tracy/libbacktrace/dwarf.cpp:1033–1045  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1031/* Return the length of an LEB128 number. */
1032
1033static size_t
1034leb128_len (const unsigned char *p)
1035{
1036 size_t ret;
1037
1038 ret = 1;
1039 while ((*p & 0x80) != 0)
1040 {
1041 ++p;
1042 ++ret;
1043 }
1044 return ret;
1045}
1046
1047/* Read initial_length from BUF and advance the appropriate number of bytes. */
1048

Callers 1

read_v2_pathsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected