403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.202
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Python315/Lib/compression/zstd/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Python315/Lib/compression/zstd/__pycache__/__init__.cpython-315.pyc
R
>lqj5#c��QsQs]PHs]PHs]QHGsGsGsGsGsG	s	]QH(GsGsG
s
,\\O]d*]d2N\O]d*M3s\O"sQQ2sQsQ	sQ
sQQksQQksQ
Q\O22sQQ\O22sQQ\O22s\O:\\2P!)zGPython bindings to the Zstandard (zstd) compression library (RFC-8878).�CompressionParameter�DecompressionParameter�Strategy)�ZstdCompressor�ZstdDecompressor�ZstdDict�	ZstdError�get_frame_size�zstd_version)�ZstdFile�open�_nbytesc�H``�\sQs],snQsQsU1QksQsQsQs	Us
U9s!)�	FrameInfoz$Information about a Zstandard frame.c�J:�[RU_QU2[RU_QU2P!��decompressed_size�
dictionary_id)�super�__setattr__)�selfrr�	__class__s&&&��.C:\Python315\\Lib\compression\zstd\__init__.py�__init__�FrameInfo.__init__1s#���
���/�1B�C�
���O�]�;�c�>�QUOQUOQ0!)zFrameInfo(decompressed_size=z, dictionary_id=�)r�rs&r�__repr__�FrameInfo.__repr__5s.��.�t�/E�/E�.F�G!�!%�!3�!3� 4�A�7�	8rc�"�[QU802g)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�@�[[OU2!)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&rr2r2=s���e�*�*�<�8�9�9rc�r�[U[2%f&[U2Oo[	QU8Q02g[U2oQO
U2o[
9PIc,QU2DMJ	3LQU22oU%f[Q2g[OV4U2o[U2!)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�D�SF �Do[U2w�	J	P!3h�N�r��.0�samples& r�	<genexpr>�train_dict.<locals>.<genexpr>]���g���g�F�����g��� z2samples contained no data; can't train dictionary.)�
isinstance�int�typer(�	TypeError�tuple�join�
ValueErrorr1�
train_dictr)�samples�	dict_size�ds_cls�chunks�chunk_sizes�dict_contents&&    rrGrGOs����i��%�%��i��-�-���?��z��K�L�L��G�n�G�
�X�X�g�
�F��%�>�g�>�%�%�>�g�>�>�K���M�N�N��#�#�F��C�L��L�!�!rc���[U[2%f[Q2g[U[2%f[Q2g[U[2%f[Q2g[	U2oQOU2o[9PIc,QU2DMJ	3LQU22oU%f[
Q2g[OUOUVRU2o[U2!)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�D�SF �Do[U2w�	J	P!3hr7r8r9s& rr<� finalize_dict.<locals>.<genexpr>�r>r?z=The samples are empty content, can't finalize the dictionary.)
r@rrCrArDrErFr1�
finalize_dictrM)�	zstd_dictrHrI�levelrKrLrMs"&&&   rrQrQds���(�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�`�[VUQ5oUOU[OQ5!)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.
)rS�optionsrR)�mode)r�compress�FLUSH_FRAME)�datarSrUrR�comps&&&& rrWrW�s)����)�L�D��=�=��N�$>�$>�=�?�?rc���,o[V!Q5oUOUOU22UO%f[	Q2gUO
oU%cJ`QO
U2!)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.
)rUrRzACompressed data ended before the end-of-stream marker was reachedr)r�append�
decompress�eofr�unused_datarE)rYrRrU�results�decomps&&&  rr]r]�sl���G�
�!�'�G�����v�(�(��.�/��z�z�z��?�@�
@��!�!���t���8�8�G��rc��`�\sQs]�snQs\Os\Os	\Os\Os
\Os\O s\O$s\O(s\O,s\O0s\O4s\O8s\O<s\O@s!\ODs#\OHs%\OLs'\OPs)\OTs+Qs,Qs-Us.P!)rzCompression parameters.c�H�[OUOP	Q5!)zqReturn the (lower, upper) int bounds of a compression parameter.

Both the lower and upper bounds are inclusive.
��is_compress�r1�get_param_bounds�valuers&r�bounds�CompressionParameter.bounds�s��
�%�%�d�j�j�d�C�Crr%)/r&r'r(r)r*r1�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_logrir,r-�r/s@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�D`�\sQs]�snQs\OsQsQs	Us
P!)rzDecompression parameters.c�H�[OUOP
Q5!)zsReturn the (lower, upper) int bounds of a decompression parameter.

Both the lower and upper bounds are inclusive.
rdrfrs&rri�DecompressionParameter.bounds�s��
�%�%�d�j�j�e�D�Drr%)r&r'r(r)r*r1�ZSTD_d_windowLogMax�window_log_maxrir,r-r�s@rrr�s����#��.�.�N�E�Erc���\sQs]�sQs\Os\Os	\Os\Os
\Os\O s\O$s\O(s\O,sQsP!)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%)r&r'r(r)r*r1�	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_DEFAULTrWrr]rrQr2rrGrr
rr	�zstd_version_inforrrr)NNN)NN)r*�__all__r1�enumrrrrrr	�compression.zstd._zstdfiler
rr�divmod�zstd_version_numberr��ZSTD_CLEVEL_DEFAULTr�rr2rGrQrWr]�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�>�>�":�$"�*#"�L
@� �.D�4�<�<�D�D
E�T�\�\�
E�#�t�|�|�#�(���.�0F�Gr

Youez - 2016 - github.com/yon3zu
LinuXploit