403Webshell
Server IP : 209.209.40.120  /  Your IP : 216.73.217.112
Web Server : Microsoft-IIS/10.0
System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586
User : NEWWWW$ ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Python312/Lib/site-packages/numpy/random/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python312/Lib/site-packages/numpy/random/tests/__pycache__/test_seed_sequence.cpython-312.pyc
�

	�g?
��4�ddlZddlmZmZddlmZd�Zd�Zy)�N)�assert_array_equal�assert_array_compare)�SeedSequencec��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	|�}|jt
|��}t||�|jt
|�tj�)�}t||���y*)+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	         �GC:\Python312\Lib\site-packages\numpy/random/tests/test_seed_sequence.py�test_reference_datars7��	6�8�7�6�8�6�8�8�7�7��F�	8�8�8�7�7�7�7�6�6�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�0�"��h�
��8�8�H�B�I�I�6��
�$�
���!�!�#�h�-�0���5�(�+��#�#�C�
�O�2�9�9�#�E���7�J�/�
0�c��td�}td�}ttj|j	d�|j	d��tj
gd�tj��}ttd�j	d�|�ttjtdd��j	d�|�y)	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��|�B�'�6�6�q�9�:�F��
����R�4�(�7�7��:��r)	�numpyr
�
numpy.testingrr�numpy.randomrrr$�rr�<module>r)s���B�%�/0�dr

Youez - 2016 - github.com/yon3zu
LinuXploit