MCPcopy Create free account
hub / github.com/ActiveState/code / _decode_map_1

Function _decode_map_1

recipes/Python/572159_SPICE/recipe-572159.py:323–329  ·  view source on GitHub ↗

Private module function.

(minor)

Source from the content-addressed store, hash-verified

321 return map_2
322
323def _decode_map_1(minor):
324 'Private module function.'
325 map_1 = []
326 for byte in map(ord, minor):
327 for shift in xrange(6, -2, -2):
328 map_1.append((byte >> shift) & 3)
329 return map_1
330
331def _decode_map_2(major):
332 'Private module function.'

Callers 5

decode_stringFunction · 0.85
decode_fileFunction · 0.85
__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85

Calls 3

mapFunction · 0.85
xrangeClass · 0.85
appendMethod · 0.45

Tested by

no test coverage detected