403Webshell
Server IP : 178.105.222.151  /  Your IP : 216.73.216.38
Web Server : nginx/1.28.3
System : Linux MNK 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.5.4
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3.14/compression/zstd/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.14/compression/zstd/__pycache__/__init__.cpython-314.pyc
+
��3j7"���RtRt^RIt^RIt^RIHtHtHtHtHtH	t	^RI
HtHtH
t
.]!]P^d,^d4O]P^d,N5t]P"t!RR4tR	tR
tRtRRltRR
lt!RR]P24t!RR]P24t!RR]P24t]P:!]]4R#)zGPython bindings to the Zstandard (zstd) compression library (RFC-8878).�CompressionParameter�DecompressionParameter�StrategyN)�ZstdCompressor�ZstdDecompressor�ZstdDict�	ZstdError�get_frame_size�zstd_version)�ZstdFile�open�_nbytesc�Faa�]tRt^,toRtRtV3RltRtRtRt	Vt
V;t#)�	FrameInfoz$Information about a Zstandard frame.c�H<�\SV`RV4\SV`RV4R#)�decompressed_size�
dictionary_idN)�super�__setattr__)�selfrr�	__class__s&&&��0/usr/lib/python3.14/compression/zstd/__init__.py�__init__�FrameInfo.__init__1s#���
���/�1B�C�
���O�]�;�c�<�RVPRVPR2#)zFrameInfo(decompressed_size=z, dictionary_id=�)�rr�rs&r�__repr__�FrameInfo.__repr__5s.��.�t�/E�/E�.F�G!�!%�!3�!3� 4�A�7�	8rc� �\RV:24h)zcan't set attribute )�AttributeError)r�name�_s&&&rr�FrameInfo.__setattr__9s���3�D�8�<�=�=r�r)�__name__�
__module__�__qualname__�__firstlineno__�__doc__�	__slots__rrr�__static_attributes__�__classdictcell__�
__classcell__)r�
__classdict__s@@rrr,s!����.�4�I�<�8�>�>rrc�<�\\P!V4!#)ayGet Zstandard frame information from a frame header.

*frame_buffer* is a bytes-like object. It should start from the beginning
of a frame, and needs to include at least the frame header (6 to 18 bytes).

The returned FrameInfo object has two attributes.
'decompressed_size' is the size in bytes of the data in the frame when
decompressed, or None when the decompressed size is unknown.
'dictionary_id' is an int in the range (0, 2**32). The special value 0
means that the 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.
)r�_zstd�get_frame_info)�frame_buffers&rr3r3=s���e�*�*�<�8�9�9rc�r�\V\4'g&\V4Pp\	RV:R24h\V4pRP
V4p\
;QJd.RV4FNK	5M
!RV44pV'g\R4h\P!W4V4p\V4#)z�Return a ZstdDict representing a trained Zstandard dictionary.

*samples* is an iterable of samples, where a sample is a bytes-like
object representing a file.

*dict_size* is the dictionary's maximum size, in bytes.
z%dict_size must be an int object, not �.rc3�8"�TFp\V4x�K	R#5i�N�r
��.0�samples& r�	<genexpr>�train_dict.<locals>.<genexpr>\����>�g�F�����g���z2samples contained no data; can't train dictionary.)�
isinstance�int�typer)�	TypeError�tuple�join�
ValueErrorr2�
train_dictr)�samples�	dict_size�ds_cls�chunks�chunk_sizes�dict_contents&&    rrHrHNs����i��%�%��i��-�-���?��z��K�L�L��G�n�G�
�X�X�g�
�F��%�>�g�>�%�%�>�g�>�>�K���M�N�N��#�#�F��C�L��L�!�!rc���\V\4'g\R4h\V\4'g\R4h\V\4'g\R4h\	V4pRPV4p\;QJd.RV4FNK	5M
!RV44pV'g\
R4h\P!VPVWRV4p\V4#)aReturn a ZstdDict representing a finalized Zstandard dictionary.

Given a custom content as a basis for dictionary, and a set of samples,
finalize *zstd_dict* by adding headers and statistics according to the
Zstandard dictionary format.

You may compose an effective dictionary content by hand, which is used as
basis dictionary, and use some samples to finalize a dictionary. The basis
dictionary may be a "raw content" dictionary. See *is_raw* in ZstdDict.

*samples* is an iterable of samples, where a sample is a bytes-like object
representing a file.
*dict_size* is the dictionary's maximum size, in bytes.
*level* is the expected compression level. The statistics for each
compression level differ, so tuning the dictionary to the compression level
can provide improvements.
z/zstd_dict argument should be a ZstdDict object.z+dict_size argument should be an int object.z'level argument should be an int object.rc3�8"�TFp\V4x�K	R#5ir8r9r:s& rr=� finalize_dict.<locals>.<genexpr>r?r@z=The samples are empty content, can't finalize the dictionary.)
rArrDrBrErFrGr2�
finalize_dictrN)�	zstd_dictrIrJ�levelrLrMrNs"&&&   rrRrRcs���&�i��*�*��I�J�J��i��%�%��E�F�F��e�S�!�!��A�B�B��G�n�G�
�X�X�g�
�F��%�>�g�>�%�%�>�g�>�>�K���'�(�	(��&�&�y�'=�'=�v�'2�u�F�L��L�!�!rc�^�\WVR7pVPV\PR7#)a�Return Zstandard compressed *data* as bytes.

*level* is an int specifying the compression level to use, defaulting to
COMPRESSION_LEVEL_DEFAULT ('3').
*options* is a dict object that contains advanced compression
parameters. See CompressionParameter for more on options.
*zstd_dict* is a ZstdDict object, a pre-trained Zstandard dictionary. See
the function train_dict for how to train a ZstdDict on sample data.

For incremental compression, use a ZstdCompressor instead.
)rT�optionsrS)�mode)r�compress�FLUSH_FRAME)�datarTrVrS�comps&&&& rrXrX�s)����)�L�D��=�=��N�$>�$>�=�?�?rc���.p\W!R7pVPVPV44VP'g\	R4hVP
pV'dK`RP
T4#)a�Decompress one or more frames of Zstandard compressed *data*.

*zstd_dict* is a ZstdDict object, a pre-trained Zstandard dictionary. See
the function train_dict for how to train a ZstdDict on sample data.
*options* is a dict object that contains advanced compression
parameters. See DecompressionParameter for more on options.

For incremental decompression, use a ZstdDecompressor instead.
)rVrSzACompressed data ended before the end-of-stream marker was reachedr)r�append�
decompress�eofr�unused_datarF)rZrSrV�results�decomps&&&  rr^r^�sl���G�
�!�'�G�����v�(�(��.�/��z�z�z��?�@�
@��!�!���t���8�8�G��rc��a�]tRt^�toRt]Pt]Pt	]Pt]Pt
]Pt]P t]P$t]P(t]P,t]P0t]P4t]P8t]P<t]P@t!]PDt#]PHt%]PLt']PPt)]PTt+Rt,Rt-Vt.R#)rzCompression parameters.c�F�\P!VPRR7#)zqReturn the (lower, upper) int bounds of a compression parameter.

Both the lower and upper bounds are inclusive.
T��is_compress�r2�get_param_bounds�valuers&r�bounds�CompressionParameter.bounds�s��
�%�%�d�j�j�d�C�Crr&N)/r'r(r)r*r+r2�ZSTD_c_compressionLevel�compression_level�ZSTD_c_windowLog�
window_log�ZSTD_c_hashLog�hash_log�ZSTD_c_chainLog�	chain_log�ZSTD_c_searchLog�
search_log�ZSTD_c_minMatch�	min_match�ZSTD_c_targetLength�
target_length�ZSTD_c_strategy�strategy�!ZSTD_c_enableLongDistanceMatching�enable_long_distance_matching�ZSTD_c_ldmHashLog�ldm_hash_log�ZSTD_c_ldmMinMatch�
ldm_min_match�ZSTD_c_ldmBucketSizeLog�ldm_bucket_size_log�ZSTD_c_ldmHashRateLog�ldm_hash_rate_log�ZSTD_c_contentSizeFlag�content_size_flag�ZSTD_c_checksumFlag�
checksum_flag�ZSTD_c_dictIDFlag�dict_id_flag�ZSTD_c_nbWorkers�
nb_workers�ZSTD_c_jobSize�job_size�ZSTD_c_overlapLog�overlap_logrjr-r.�r0s@rrr�s�����!��5�5���'�'�J��#�#�H��%�%�I��'�'�J��%�%�I��-�-�M��$�$�H�$)�$K�$K�!��*�*�L��,�,�M��7�7���3�3���4�4���-�-�M��*�*�L��'�'�J��#�#�H��)�)�K�D�Drc�Ba�]tRt^�toRt]PtRtRt	Vt
R#)rzDecompression parameters.c�F�\P!VPRR7#)zsReturn the (lower, upper) int bounds of a decompression parameter.

Both the lower and upper bounds are inclusive.
Frergrs&rrj�DecompressionParameter.bounds�s��
�%�%�d�j�j�e�D�Drr&N)r'r(r)r*r+r2�ZSTD_d_windowLogMax�window_log_maxrjr-r.r�s@rrr�s����#��.�.�N�E�Erc���]tRt^�tRt]Pt]Pt	]Pt]Pt
]Pt]P t]P$t]P(t]P,tRtR#)rz�Compression strategies, listed from fastest to strongest.

Note that new strategies might be added in the future.
Only the order (from fast to strong) is guaranteed,
the numeric value might change.
r&N)r'r(r)r*r+r2�	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&rrrr�sh����?�?�D����E�
�
�
�F��?�?�D����E�� � �G����E�� � �G��"�"�Hr)�COMPRESSION_LEVEL_DEFAULTrXrr^rrRr3rrHrrr	r
�zstd_version_inforrrr)NNN)NN)r+�__all__r2�enumrrrrr	r
�compression.zstd._zstdfilerrr
�divmod�zstd_version_numberr��ZSTD_CLEVEL_DEFAULTr�rr3rHrRrXr^�IntEnumrrr�set_parameter_typesr&rr�<module>r�s���M���4
��1�1�>�>�6�f�U�6�6�#�=�s�C�6��.�.��4�6��H�!�5�5��A�>�>�":�""�*""�J
@� �.D�4�<�<�D�D
E�T�\�\�
E�#�t�|�|�#�(���.�0F�Gr

Youez - 2016 - github.com/yon3zu
LinuXploit