MCPcopy Index your code
hub / github.com/apprenticeharper/DeDRM_tools / fillbuf

Method fillbuf

DeDRM_plugin/ignoblepdf.py:445–453  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

443 return
444
445 def fillbuf(self):
446 if self.charpos < len(self.buf): return
447 # fetch next chunk.
448 self.bufpos = self.fp.tell()
449 self.buf = self.fp.read(self.BUFSIZ)
450 if not self.buf:
451 raise PSEOF('Unexpected EOF')
452 self.charpos = 0
453 return
454
455 def parse_main(self, s, i):
456 m = NONSPC.search(s, i)

Callers 2

nexttokenMethod · 0.95
nextlineMethod · 0.95

Calls 3

PSEOFClass · 0.70
tellMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected