MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _init

Method _init

tools/python-3.11.9-amd64/Lib/zipfile.py:637–642  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

635 self._comp = None
636
637 def _init(self):
638 props = lzma._encode_filter_properties({'id': lzma.FILTER_LZMA1})
639 self._comp = lzma.LZMACompressor(lzma.FORMAT_RAW, filters=[
640 lzma._decode_filter_properties(lzma.FILTER_LZMA1, props)
641 ])
642 return struct.pack('<BBH', 9, 4, len(props)) + props
643
644 def compress(self, data):
645 if self._comp is None:

Callers 2

compressMethod · 0.95
flushMethod · 0.95

Calls 1

packMethod · 0.45

Tested by

no test coverage detected