code: def decode_signed_varint(i):
      """Zig-zag decodes an integer value."""
  
      if not i & 1:
          return i >> 1
      return (i >> 1) ^ (~0)
  
file_path: whoosh/src/whoosh/util/varints.py
imports: from array import array
  from whoosh.compat import array_tobytes, xrange
label_desc: Use image node_id 5 for calling a global function with example usage: decode_signed_varint(i) and returns: unknown, unknown