HEX
Server: LiteSpeed
System: Linux s3.sitechai.com 4.18.0-553.51.1.lve.1.el8.x86_64 #1 SMP Wed May 14 14:34:57 UTC 2025 x86_64
User: workzeni (2217)
PHP: 8.1.32
Disabled: mail, show_source, system, shell_exec, passthru, exec, eval, shell
Upload Files
File: //usr/lib64/python3.6/site-packages/borg/testsuite/__pycache__/checksums.cpython-36.opt-1.pyc
3

y��b��@s�ddlZddlZddlmZddlZddlmZddlmZej	gZ
ejrVe
jej
�ejjde
�dd��Zd	d
�Zdd�ZdS)
�N)�	unhexlify�)�	checksums)�
bin_to_hex�implementationc.CsLtjd�}t|�}d}x0tdd�D]"}xd0D]}||||�}q,Wq"WdS)1Ni,ixV4r��r������	�
�� �!�"�#�$�%�&�'�(�)�?�@�A�B�C�D�E�F�G�H�I������������)-rrrr	rr
rrr
rrrrrrrrrrrrrrrrrrr r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1)�os�urandom�
memoryview�range)r�dataZmvZinitial_crc�startZlength�d�r9�!/usr/lib64/python3.6/checksums.py�
test_crc32s
r;cCsdS)Nr9r9r9r9r:�
test_xxh64sr<cCs"tjd�}|jd�|jd�dS)N�{stesst)rZStreamingXXH64�update)Zhasherr9r9r:�test_streaming_xxh64(s


r?)r2�zlibZbinasciirZpytestZ
algorithmsrZhelpersrZcrc32_slice_by_8Zcrc32_implementationsZ
have_clmul�appendZcrc32_clmulZmarkZparametrizer;r<r?r9r9r9r:�<module>s