403Webshell
Server IP : 217.160.0.135  /  Your IP : 216.73.217.85
Web Server : Apache
System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64
User : sws1074145052 ( 1074145052)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/lib/python3/dist-packages/numpy/random/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3/dist-packages/numpy/random/tests/__pycache__/test_seed_sequence.cpython-311.pyc
�

���c���6�ddlZddlmZmZddlmZd�Zd�ZdS)�N)�assert_array_equal�assert_array_compare)�SeedSequencec�4�gd�gd�gd�gd�gd�gd�gd�gd�gd	�gd
�g
}gd�gd�gd
�gd�gd�gd�gd�gd�gd�gd�g
}ddgddgddgddgddgdd gd!d"gd#d$gd%d&gd'd(gg
}t|||��D]�\}}}tj|tj�)��}t	|��}|�t
|����}t||��|�t
|��tj�)��}t||����d*S)+z� Check that SeedSequence generates data the same as the C++ reference.

    https://gist.github.com/imneme/540829265469e673d045
    )l�>[=i�ʭi��
ixV4)lAM5l�l�pi1 cl�^<1)i��	lO!�piF�6ii��M)i(��lNw�Ui]e+ivp2p)i�v(oi��fl�F�Nit��i)l�ml�-�
i�� i��5)i^w�Cl�x{l�9lI6�;)i�|�Il-Keri�|Li��r)lgT<>irT�"lo�jl�P�J)l�b�Il�x�Wls-_`id�f3)l�M�Ri�b"l�n,l�=�	)l�ul�8iK�jQl�b<)lS�(lE{|iH5lDl!bJ<)i�٦Sl� ,i�k�Li�&W)i��@l;:i>f!l�'4)lllD�i��2l�z9e)l�4lKp�`l�a$i^
)i��)9l't�Mi��npi�Rp)l�2DZiA�l�DIi~G)i55�l�\|ih
�l^rl�M�R�l�n,swM'l�u2R,`
lKZ�"R�q	lS�(i�qlH5��+q
l�YM'�0
l�k�=�Rl�|�D�l>�B�W�P
ll]_l�e�k�l�4.A�l�a${E�Pl�`Sr�P�7l�K�`EJ�+l�2DZe8Nl�DIx;Bl55T#LsNplh
�x!���dtypeN)	�zip�np�array�uint32r�generate_state�lenr�uint64)	�inputs�outputs�	outputs64�seed�expected�
expected64�ss�state�state64s	         �G/usr/lib/python3/dist-packages/numpy/random/tests/test_seed_sequence.py�test_reference_datars���	6�5�5�8�8�8�7�7�7�6�6�6�8�8�8�6�6�6�8�8�8�8�8�8�7�7�7�7�7�7��F�	8�7�7�8�8�8�8�8�8�7�7�7�7�7�7�7�7�7�7�7�7�6�6�6�6�6�6�5�5�5��G�
�1�2�	�3�4�	�3�4�	�2�3�	�2�3�	�3�4�	�1�2�	�2�3�	�0�1�	�3�4��I�'*�&�'�9�&E�&E�0�0�"��h�
��8�H�B�I�6�6�6��
�$�
�
���!�!�#�h�-�-�0�0���5�(�+�+�+��#�#�C�
�O�O�2�9�#�E�E���7�J�/�/�/�/�
0�0�c���td��}td��}ttj|�d��|�d����tjgd�tj���}ttd���d��|��ttjtdd����d��|��dS)	zD Ensure that the implicit zero-padding does not cause problems.
    �*l��)l�
�lm.<>i���yl�s�*r)r)�	spawn_keyN)rrr
�	not_equalr
rrr)�ss0�ss1�
expected42s   r�test_zero_paddingr$9s���
�r�
�
�C�
�x�
 �
 �C��
�����1������1��������J�J�J� "�	�+�+�+�J��|�B�'�'�6�6�q�9�9�:�F�F�F��
���R�4�(�(�(�7�7��:�:������r)	�numpyr
�
numpy.testingrr�numpy.randomrrr$�rr�<module>r)sd������B�B�B�B�B�B�B�B�%�%�%�%�%�%�/0�/0�/0�d����r

Youez - 2016 - github.com/yon3zu
LinuXploit