OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ZigZagEncode64
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/third_party/protobuf/src/google/protobuf/
wire_format_unittest.cc
588
#define
ZigZagEncode64
(x) WireFormatLite::
ZigZagEncode64
(x)
609
EXPECT_EQ(0u,
ZigZagEncode64
( 0));
610
EXPECT_EQ(1u,
ZigZagEncode64
(-1));
611
EXPECT_EQ(2u,
ZigZagEncode64
( 1));
612
EXPECT_EQ(3u,
ZigZagEncode64
(-2));
613
EXPECT_EQ(ULL(0x000000007FFFFFFE),
ZigZagEncode64
(LL(0x000000003FFFFFFF)));
614
EXPECT_EQ(ULL(0x000000007FFFFFFF),
ZigZagEncode64
(LL(0xFFFFFFFFC0000000)));
615
EXPECT_EQ(ULL(0x00000000FFFFFFFE),
ZigZagEncode64
(LL(0x000000007FFFFFFF)));
616
EXPECT_EQ(ULL(0x00000000FFFFFFFF),
ZigZagEncode64
(LL(0xFFFFFFFF80000000)))
[
all
...]
wire_format_lite.h
232
static uint64
ZigZagEncode64
(int64 n);
653
inline uint64 WireFormatLite::
ZigZagEncode64
(int64 n) {
Completed in 2983 milliseconds