def _BinGetCount(self, ofs):
    pos = ofs
    l = struct.unpack('>B', self._plist_bin[pos:pos+1])[0] & 0xf
    l = 2 ** l
    c = 0
    pos += 1
    for unused_i in xrange(l):
      c = (c << 8) + ord(self._plist_bin[pos:pos+1])
      pos += 1
    return (pos-ofs, c)
Start IPython pre-1.0.0
dataset/ETHPy150Open google/simian/src/simian/mac/munki/plist.py/ApplePlist._BinGetCount--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/django/core/management/commands/shell.py/Command._ipython_pre_100