Home
last modified time | relevance | path

Searched refs:zigZagDecode32 (Results 1 - 2 of 2) sorted by relevance

/third_party/protobuf/php/tests/
H A DPhpImplementationTest.php223 $this->assertSame(0, GPBWire::zigZagDecode32(0));
224 $this->assertSame(-1, GPBWire::zigZagDecode32(1));
225 $this->assertSame(1, GPBWire::zigZagDecode32(2));
226 $this->assertSame(-2, GPBWire::zigZagDecode32(3));
227 $this->assertSame(0x3FFFFFFF, GPBWire::zigZagDecode32(0x7FFFFFFE));
228 $this->assertSame(-1073741824, GPBWire::zigZagDecode32(0x7FFFFFFF));
229 $this->assertSame(0x7FFFFFFF, GPBWire::zigZagDecode32(0xFFFFFFFE));
230 $this->assertSame((int)-2147483648,GPBWire::zigZagDecode32(0xFFFFFFFF));
295 $this->assertSame(0, GPBWire::zigZagDecode32(GPBWire::zigZagEncode32(0)));
296 $this->assertSame(1, GPBWire::zigZagDecode32(GPBWir
[all...]
/third_party/protobuf/php/src/Google/Protobuf/Internal/
H A DGPBWire.php128 public static function zigZagDecode32($uint32) function
195 $value = GPBWire::zigZagDecode32($value);

Completed in 2 milliseconds