| 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 : /lib/python3/dist-packages/numpy/random/_examples/cffi/__pycache__/ |
Upload File : |
�
���c% � � � d dl Z d� ZdS )� Nc � � t t j � |dd� � � � 5 }g }|D ]?}|� � � � d� � r�*|� |� � �@| � d� |� � � � ddd� � n# 1 swxY w Y t t j � |dd� � � � 5 }g }d}d}|D �]N}|r*|� � � � d � � rd}�/|� � � � d
� � rd}|� � � � d� � r��|� � � � d� � r||� d
� � z
}��|dk r1||� d
� � z
}||� d� � z }��|� dd� � }|� dd� � }|� dd� � }|� |� � ��P| � d� |� � � � ddd� � dS # 1 swxY w Y dS )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 __cplusplusTzstatic NPY_INLINE�{�}�DECLDIR� �
NPY_INLINE�
RAND_INT_TYPE�int64_t)
�open�os�path�join�strip�
startswith�append�cdef�count�replace)�ffi�inc_dir�fid�s�line�in_skip�ignorings �C/usr/lib/python3/dist-packages/numpy/random/_examples/cffi/parse.py�parse_distributions_hr s� � �
�b�g�l�l�7�H�j�9�9� :� :� �c���� � �D��z�z�|�|�&�&�s�+�+�
��
�H�H�T�N�N�N�N�������1������� � � � � � � � � � ���� � � � �
�b�g�l�l�7�H�.?�@�@� A� A� !�S�������� � �D��
��:�:�<�<�*�*�8�4�4� %�$�H���z�z�|�|�&�&�';�<�<�
��� �z�z�|�|�&�&�s�+�+�
��
�z�z�|�|�&�&�':�;�;�
��4�:�:�c�?�?�*����1����4�:�:�c�?�?�*���4�:�:�c�?�?�*��� �<�<� �2�.�.�D��<�<��b�1�1�D��<�<���;�;�D�
�H�H�T�N�N�N�N�������1������C!� !� !� !� !� !� !� !� !� !� !� !���� !� !� !� !� !� !s% �A-B(�(B,�/B,�!FI/�/I3�6I3)r r � � r �<module>r# s'