MCPcopy Index your code
hub / github.com/clips/pattern / run

Method run

pattern/web/pdf/lzw.py:77–88  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

75 return x
76
77 def run(self):
78 while 1:
79 try:
80 code = self.readbits(self.nbits)
81 except EOFError:
82 break
83 x = self.feed(code)
84 yield x
85 if self.debug:
86 print >>sys.stderr, ('nbits=%d, code=%d, output=%r, table=%r' %
87 (self.nbits, code, x, self.table[258:]))
88 return
89
90# lzwdecode
91def lzwdecode(data):

Callers 15

canvas.jsFile · 0.45
profileFunction · 0.45
__init__Method · 0.45
__init__Method · 0.45
lzwdecodeFunction · 0.45
setup.pyFile · 0.45
test_en.pyFile · 0.45
test.pyFile · 0.45
test_nl.pyFile · 0.45
test_fr.pyFile · 0.45
test_web.pyFile · 0.45
test_metrics.pyFile · 0.45

Calls 2

readbitsMethod · 0.95
feedMethod · 0.95

Tested by

no test coverage detected