JFIF$        dd7 

Viewing File: /opt/imunify360/venv/lib/python3.11/site-packages/pyzstd/c/__pycache__/c_pyzstd.cpython-311.pyc

�

����g��X�ddlmZddlmZddlmZddlTddlmZdZej	Z	ej
Z
ejZedgd	���Zeej
ejej��Zed
ddg��Zd
�ZGd�de��ZGd�de��ZGd�de��Zejee��dS)�)�
namedtuple)�IntEnum)�	lru_cache�)�*)�_zstd)�compressionLevel_values�get_frame_info�
CParameter�
DParameter�Strategy�ZstdCompressor�RichMemZstdCompressor�ZstdDecompressor�EndlessZstdDecompressor�ZstdDict�	ZstdError�
decompress�get_frame_size�compress_stream�decompress_stream�zstd_version�zstd_version_info�zstd_support_multithread�values)�default�min�max�
frame_info�decompressed_size�
dictionary_idc�<�tj|��}t|�S)a�Get zstd frame infomation from a frame header.

    Parameter
    frame_buffer: A bytes-like object. It should starts from the beginning of
                  a frame, and needs to include at least the frame header (6 to
                  18 bytes).

    Return a two-items namedtuple: (decompressed_size, dictionary_id)

    If decompressed_size is None, decompressed size is unknown.

    dictionary_id is a 32-bit unsigned integer value. 0 means dictionary ID was
    not recorded in the frame header, the frame may or may not need a dictionary
    to be decoded, and the ID of such a dictionary is not specified.

    It's possible to append more items to the namedtuple in the future.)r�_get_frame_info�_nt_frame_info)�frame_buffer�	ret_tuples  �s/builddir/build/BUILD/imunify360-venv-2.6.0/opt/imunify360/venv/lib64/python3.11/site-packages/pyzstd/c/c_pyzstd.pyr
r
#s��$�%�l�3�3�I��9�%�%�c�F�eZdZdZejZejZej	Z
ejZej
ZejZejZejZejZejZejZejZejZejZ ej!Z"ej#Z$ej%Z&ej'Z(ej)Z*e+d���d���Z,dS)rzCompression parametersN��maxsizec�6�tjd|j��S)zIReturn lower and upper bounds of a compression parameter, both inclusive.r�r�_get_param_bounds�value��selfs r'�boundszCParameter.boundsS����&�q�$�*�5�5�5r()-�__name__�
__module__�__qualname__�__doc__r�_ZSTD_c_compressionLevel�compressionLevel�_ZSTD_c_windowLog�	windowLog�_ZSTD_c_hashLog�hashLog�_ZSTD_c_chainLog�chainLog�_ZSTD_c_searchLog�	searchLog�_ZSTD_c_minMatch�minMatch�_ZSTD_c_targetLength�targetLength�_ZSTD_c_strategy�strategy�"_ZSTD_c_enableLongDistanceMatching�enableLongDistanceMatching�_ZSTD_c_ldmHashLog�
ldmHashLog�_ZSTD_c_ldmMinMatch�ldmMinMatch�_ZSTD_c_ldmBucketSizeLog�ldmBucketSizeLog�_ZSTD_c_ldmHashRateLog�ldmHashRateLog�_ZSTD_c_contentSizeFlag�contentSizeFlag�_ZSTD_c_checksumFlag�checksumFlag�_ZSTD_c_dictIDFlag�
dictIDFlag�_ZSTD_c_nbWorkers�	nbWorkers�_ZSTD_c_jobSize�jobSize�_ZSTD_c_overlapLog�
overlapLogrr2�r(r'rr9s������� � �!&�!?��!&�!8�I�!&�!6�G�!&�!7�H�!&�!8�I�!&�!7�H�!&�!;�L�!&�!7�H�!&�!I��!&�!9�J�!&�!:�K�!&�!?��!&�!=�N�!&�!>�O�!&�!;�L�!&�!9�J�!&�!8�I�!&�!6�G�!&�!9�J��Y�t����6�6���6�6�6r(rc�J�eZdZdZejZed���d���ZdS)rzDecompression parametersNr*c�6�tjd|j��S)zKReturn lower and upper bounds of a decompression parameter, both inclusive.rr-r0s r'r2zDParameter.bounds_r3r()	r4r5r6r7r�_ZSTD_d_windowLogMax�windowLogMaxrr2r^r(r'rrZsI������"�"��-�L��Y�t����6�6���6�6�6r(rc��eZdZdZejZejZej	Z
ejZej
ZejZejZejZejZdS)r
z�Compression strategies, listed from fastest to strongest.

    Note : new strategies _might_ be added in the future, only the order
    (from fast to strong) is guaranteed.
    N)r4r5r6r7r�
_ZSTD_fast�fast�_ZSTD_dfast�dfast�_ZSTD_greedy�greedy�
_ZSTD_lazy�lazy�_ZSTD_lazy2�lazy2�
_ZSTD_btlazy2�btlazy2�_ZSTD_btopt�btopt�
_ZSTD_btultra�btultra�_ZSTD_btultra2�btultra2r^r(r'r
r
fsb��������
��D�� �E��!�F���D�� �E��"�G�� �E��"�G��#�H�H�Hr(r
N)�collectionsr�enumr�	functoolsrr��__all__�_ZSTD_DStreamInSize�_train_dict�_finalize_dict�
_nt_values�_ZSTD_defaultCLevel�_ZSTD_minCLevel�_ZSTD_maxCLevelr	r$r
rrr
�_set_parameter_typesr^r(r'�<module>r�s���"�"�"�"�"�"�����������������������L���/������%���Z��";�";�";�
<�
<�
�$�*�U�%>�%*�%:�%*�%:�<�<��
��L�0�/�B�D�D��&�&�&�,6�6�6�6�6��6�6�6�B	6�	6�	6�	6�	6��	6�	6�	6�$�$�$�$�$�w�$�$�$�$���:�z�2�2�2�2�2r(
Back to Directory  nL+D550H?Mx ,D"v]qv;6*Zqn)ZP0!1 A "#a$2Qr D8 a Ri[f\mIykIw0cuFcRı?lO7к_f˓[C$殷WF<_W ԣsKcëIzyQy/_LKℂ;C",pFA:/]=H  ~,ls/9ć:[=/#f;)x{ٛEQ )~ =𘙲r*2~ a _V=' kumFD}KYYC)({ *g&f`툪ry`=^cJ.I](*`wq1dđ#̩͑0;H]u搂@:~וKL Nsh}OIR*8:2 !lDJVo(3=M(zȰ+i*NAr6KnSl)!JJӁ* %݉?|D}d5:eP0R;{$X'xF@.ÊB {,WJuQɲRI;9QE琯62fT.DUJ;*cP A\ILNj!J۱+O\͔]ޒS߼Jȧc%ANolՎprULZԛerE2=XDXgVQeӓk yP7U*omQIs,K`)6\G3t?pgjrmۛجwluGtfh9uyP0D;Uڽ"OXlif$)&|ML0Zrm1[HXPlPR0'G=i2N+0e2]]9VTPO׮7h(F*癈'=QVZDF,d߬~TX G[`le69CR(!S2!P <0x<!1AQ "Raq02Br#SCTb ?Ζ"]mH5WR7k.ۛ!}Q~+yԏz|@T20S~Kek *zFf^2X*(@8r?CIuI|֓>^ExLgNUY+{.RѪ τV׸YTD I62'8Y27'\TP.6d&˦@Vqi|8-OΕ]ʔ U=TL8=;6c| !qfF3aů&~$l}'NWUs$Uk^SV:U# 6w++s&r+nڐ{@29 gL u"TÙM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