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

Method compress

tools/python-3.11.9-amd64/Lib/zipfile.py:644–647  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

642 return struct.pack('<BBH', 9, 4, len(props)) + props
643
644 def compress(self, data):
645 if self._comp is None:
646 return self._init() + self._comp.compress(data)
647 return self._comp.compress(data)
648
649 def flush(self):
650 if self._comp is None:

Callers 13

compressFunction · 0.95
writeMethod · 0.80
writeMethod · 0.80
compressFunction · 0.80
writeMethod · 0.80
writeMethod · 0.80
compressFunction · 0.80
writeMethod · 0.80
zlib_encodeFunction · 0.80
encodeMethod · 0.80
bz2_encodeFunction · 0.80
encodeMethod · 0.80

Calls 1

_initMethod · 0.95

Tested by

no test coverage detected