MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / seek

Method seek

pager_lib/pyasn1/codec/streaming.py:36–38  ·  view source on GitHub ↗
(self, n=-1, whence=os.SEEK_SET)

Source from the content-addressed store, hash-verified

34 return True
35
36 def seek(self, n=-1, whence=os.SEEK_SET):
37 # Note that this not safe for seeking forward.
38 return self._cache.seek(n, whence)
39
40 def read(self, n=-1):
41 read_from_cache = self._cache.read(n)

Callers 11

_read_pwn_log_chunkFunction · 0.80
export_netkb_dataFunction · 0.80
peekMethod · 0.80
isEndOfStreamFunction · 0.80
peekIntoStreamFunction · 0.80
readFromStreamFunction · 0.80
valueDecoderMethod · 0.80
indefLenValueDecoderMethod · 0.80
__call__Method · 0.80
smb_openMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected