MCPcopy Create free account
hub / github.com/apache/thrift / fromZigZag

Method fromZigZag

lib/php/lib/Protocol/TCompactProtocol.php:113–116  ·  view source on GitHub ↗
($n)

Source from the content-addressed store, hash-verified

111 }
112
113 public function fromZigZag($n)
114 {
115 return ($n >> 1) ^ -($n & 1);
116 }
117
118 public function getVarint($data)
119 {

Callers 2

readZigZagMethod · 0.95
testFromZigZagMethod · 0.45

Calls

no outgoing calls

Tested by 1

testFromZigZagMethod · 0.36