OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ZigZagEncode32
(Results
1 - 2
of
2
) sorted by null
/external/protobuf/src/google/protobuf/
wire_format_unittest.cc
538
#define
ZigZagEncode32
(x) WireFormatLite::
ZigZagEncode32
(x)
543
EXPECT_EQ(0u,
ZigZagEncode32
( 0));
544
EXPECT_EQ(1u,
ZigZagEncode32
(-1));
545
EXPECT_EQ(2u,
ZigZagEncode32
( 1));
546
EXPECT_EQ(3u,
ZigZagEncode32
(-2));
547
EXPECT_EQ(0x7FFFFFFEu,
ZigZagEncode32
(0x3FFFFFFF));
548
EXPECT_EQ(0x7FFFFFFFu,
ZigZagEncode32
(0xC0000000));
549
EXPECT_EQ(0xFFFFFFFEu,
ZigZagEncode32
(0x7FFFFFFF));
550
EXPECT_EQ(0xFFFFFFFFu,
ZigZagEncode32
(0x80000000))
[
all
...]
wire_format_lite.h
222
static uint32
ZigZagEncode32
(int32 n);
598
inline uint32 WireFormatLite::
ZigZagEncode32
(int32 n) {
Completed in 440 milliseconds