MCPcopy Index your code
hub / github.com/python/cpython / FrameInfo

Class FrameInfo

Lib/compression/zstd/__init__.py:44–58  ·  view source on GitHub ↗

Information about a Zstandard frame.

Source from the content-addressed store, hash-verified

42
43
44class FrameInfo:
45 """Information about a Zstandard frame."""
46
47 __slots__ = 'decompressed_size', 'dictionary_id'
48
49 def __init__(self, decompressed_size, dictionary_id):
50 super().__setattr__('decompressed_size', decompressed_size)
51 super().__setattr__('dictionary_id', dictionary_id)
52
53 def __repr__(self):
54 return (f'FrameInfo(decompressed_size={self.decompressed_size}, '
55 f'dictionary_id={self.dictionary_id})')
56
57 def __setattr__(self, name, _):
58 raise AttributeError(f"can't set attribute {name!r}")
59
60
61def get_frame_info(frame_buffer):

Callers 15

get_frame_infoFunction · 0.70
_build_linear_stacksMethod · 0.50
test_tools.pyFile · 0.50
test_cycle_detectionMethod · 0.50
test_complex_treeMethod · 0.50
test_complex_tableMethod · 0.50
test_task_awaits_selfMethod · 0.50

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…