MCPcopy Create free account
hub / github.com/catboost/catboost / ZigZagDecode64

Function ZigZagDecode64

library/cpp/yson/zigzag.h:25–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 }
24
25 inline i64 ZigZagDecode64(ui64 n) {
26 return (n >> 1) ^ -static_cast<i64>(n & 1);
27 }
28
29 ////////////////////////////////////////////////////////////////////////////////
30

Callers 15

ReadVarInt64Function · 0.70
ReadBinaryInt64Method · 0.70
kZigZag>Method · 0.50
PackedVarintMethod · 0.50
VarintParserFunction · 0.50
ReadVarintZigZag64Function · 0.50
TYPE_SINT64>Method · 0.50
RenderNonMessageFieldMethod · 0.50
PackedVarintMethod · 0.50
MpVarintMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected