| 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/_examples/cffi/__pycache__/ |
Upload File : |
�
�g
� � � d dl Z d� Zy)� Nc �
� t t j j |dd� � 5 }g }|D ]3 }|j � j d� r�#|j
|� �5 | j dj |� � ddd� t t j j |dd� � 5 }g }d}d}|D ]� }|r"|j � j d � rd}�'|j � j d
� rd}|j � j d� r�h|j � j d� r||j d
� z
}��|dkD r)||j d
� z
}||j d� z }��|j dd� }|j dd� }|j
|� �� | j dj |� � ddd� y# 1 sw Y ��hxY w# 1 sw Y yxY w)z�
Parse distributions.h located in inc_dir for CFFI, filling in the ffi.cdef
Read the function declarations without the "#define ..." macros that will
be filled in when loading the library.
�randomzbitgen.h�#�
Nzdistributions.hr Fz#endifz#ifdef __cplusplusTz
static inline�{�}�DECLDIR� �
RAND_INT_TYPE�int64_t)
�open�os�path�join�strip�
startswith�append�cdef�count�replace)�ffi�inc_dir�fid�s�line�in_skip�ignorings �CC:\Python312\Lib\site-packages\numpy/random/_examples/cffi/parse.py�parse_distributions_hr s� � �
�b�g�g�l�l�7�H�j�9� :� �c���� �D��z�z�|�&�&�s�+��
�H�H�T�N� �
������1����
�b�g�g�l�l�7�H�.?�@� A� �S�������� �D���:�:�<�*�*�8�4�$�H���z�z�|�&�&�';�<��� �z�z�|�&�&�s�+��
�z�z�|�&�&��7��4�:�:�c�?�*����1���4�:�:�c�?�*���4�:�:�c�?�*��� �<�<� �2�.�D��<�<���;�D�
�H�H�T�N�7 �8 ������1���A � �� �� � �s �AG,�8D+G9�,G6�9H)r r � � r �<module>r"