PostGIS
2.5.7dev-r@@SVN_REVISION@@
◆
zigzag64()
uint64_t zigzag64
(
int64_t
val
)
Definition at line
168
of file
varint.c
.
169
{
170
return
val >= 0 ?
171
((uint64_t)val) << 1 :
172
((((uint64_t)(-1 - val)) << 1) | 0x01);
173
}
Referenced by
test_zigzag()
, and
varint_s64_encode_buf()
.
Here is the caller graph for this function:
liblwgeom
varint.c
Generated by
1.9.1