OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ZigZagDecode64
(Results
1 - 2
of
2
) sorted by null
/external/protobuf/src/google/protobuf/
wire_format_unittest.cc
541
#define
ZigZagDecode64
(x) WireFormatLite::
ZigZagDecode64
(x)
572
EXPECT_EQ( 0,
ZigZagDecode64
(0u));
573
EXPECT_EQ(-1,
ZigZagDecode64
(1u));
574
EXPECT_EQ( 1,
ZigZagDecode64
(2u));
575
EXPECT_EQ(-2,
ZigZagDecode64
(3u));
576
EXPECT_EQ(LL(0x000000003FFFFFFF),
ZigZagDecode64
(ULL(0x000000007FFFFFFE)));
577
EXPECT_EQ(LL(0xFFFFFFFFC0000000),
ZigZagDecode64
(ULL(0x000000007FFFFFFF)));
578
EXPECT_EQ(LL(0x000000007FFFFFFF),
ZigZagDecode64
(ULL(0x00000000FFFFFFFE)));
579
EXPECT_EQ(LL(0xFFFFFFFF80000000),
ZigZagDecode64
(ULL(0x00000000FFFFFFFF)))
[
all
...]
wire_format_lite.h
225
static int64
ZigZagDecode64
(uint64 n);
612
inline int64 WireFormatLite::
ZigZagDecode64
(uint64 n) {
Completed in 35 milliseconds