<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
        integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
</html>
B
    xe_8                 @   s  d Z ddlZddlZddlZddlZddlZddlZddddddd	d
dddddddddgZejd dkZ	e
 Ze	reZeZeZeZeZdd	 Zdd
 Zn eZeZeZeZdd	 Zdd
 Ze	reZneZeedfddZe	reZeZeZeZeZeZnddlZefddZee dd Zee dd Zee dd Zee d d Zee d!d Zee d"d Ze! d#krye"ej#d$W n2 ek
r   Y n e"k
r   e$d%Y nX ydd&lm%Z% W n e&k
rl   ydd'l'm(Z( W n" e&k
r   dd'l)m(Z( Y nX e*d(d)d*d+d,gZ+G d-d. d.e,Z-e
 fe.eee/e0dfe1e2e0e3fd/d0Z4d9d3dZ%Y nX ydd4l5m6Z6 W n, e&k
r   ej7ej8B dfd5dZ6Y nX ydd6l5m9Z9 W n  e&k
r   d:d8dZ9Y nX dS );zModule which provides compatibility with older Python versions.
This is more future-compatible rather than the opposite (prefer latest
Python 3 way of doing things).
    NPY3longrangesuperunicode
basestringub	lru_cachewhichget_terminal_sizeFileNotFoundErrorPermissionErrorProcessLookupErrorInterruptedErrorChildProcessErrorFileExistsError   c             C   s   | S )N )sr   r   A/opt/alt/python37/lib64/python3.7/site-packages/psutil/_compat.pyr   +   s    c             C   s
   |  dS )Nzlatin-1)encode)r   r   r   r   r	   .   s    c             C   s
   t | dS )NZunicode_escape)r   )r   r   r   r   r   6   s    c             C   s   | S )Nr   )r   r   r   r   r	   9   s       c             C   sh  | t krLt|}y|j|jjd  }W n  ttfk
rJ   tdY nX y
|j	}W nB t
tfk
r   y|jj	}W n t
k
r   tdY nX Y nX x|D ]} x| j D ]}yXxRt|tjst|tr|j}qy
|j}W q t
k
r   ||| }Y qX qW W n t
tfk
r(   wY nX |j|jkrP qW qP qW td|t k	r`t| |S t| S )zuLike Python 3 builtin super(). If called without any arguments
        it attempts to infer them at runtime.
        r   z'super() used in a function with no argsz$super() used in a non-newstyle classzsuper() called outside a method)	_SENTINELsys	_getframef_localsf_codeco_varnames
IndexErrorKeyErrorRuntimeError__mro__AttributeError	__class____dict__values
isinstancetypesFunctionTypepropertyfget__func____get__	TypeError	func_code_builtin_super)type_Ztype_or_objZ
framedepthfmromethr   r   r   r   H   sB    







c                s    fdd}|S )Nc                s*   G  fddd j  _ j _ S )Nc                   s2   e Zd Z fddZG fdddeZ  ZS )zE_instance_checking_exception.<locals>.wrapped.<locals>.TemporaryClassc                sh   t |dkrRt|d  rR|d }x@t|D ] }|ds,t| |t|| q,W nt | j|| d S )Nr   r   __)lenr'   dir
startswithsetattrgetattrr   __init__)selfargskwargsZ	unwrap_meattr)TemporaryClassr$   r   r   r;      s    
zN_instance_checking_exception.<locals>.wrapped.<locals>.TemporaryClass.__init__c                   s    e Zd Z fddZdd ZdS )zS_instance_checking_exception.<locals>.wrapped.<locals>.TemporaryClass.__metaclass__c                s    |S )Nr   )clsinst)instance_checkerr   r   __instancecheck__   s    ze_instance_checking_exception.<locals>.wrapped.<locals>.TemporaryClass.__metaclass__.__instancecheck__c             S   s   t  d }t|| S )Nr   )r   exc_infor'   )rA   Z	classinfovaluer   r   r   __subclasscheck__   s    ze_instance_checking_exception.<locals>.wrapped.<locals>.TemporaryClass.__metaclass__.__subclasscheck__N)__name__
__module____qualname__rD   rG   r   )rC   r   r   __metaclass__   s   rK   )rH   rI   rJ   r;   typerK   __classcell__r   )r@   rC   )r$   r   r@      s   	r@   )rH   __doc__)rC   )base_exception)r@   rC   r   wrapped   s    z-_instance_checking_exception.<locals>.wrappedr   )rO   rP   r   )rO   r   _instance_checking_exception   s    rQ   c             C   s   t | dttjkS )Nerrno)r:   r   rR   ENOENT)rB   r   r   r   r      s    c             C   s   t | dttjkS )NrR   )r:   r   rR   ZESRCH)rB   r   r   r   r      s    c             C   s   t | dttjtjfkS )NrR   )r:   r   rR   EACCESEPERM)rB   r   r   r   r      s    
c             C   s   t | dttjkS )NrR   )r:   r   rR   ZEINTR)rB   r   r   r   r      s    c             C   s   t | dttjkS )NrR   )r:   r   rR   ZECHILD)rB   r   r   r   r      s    c             C   s   t | dttjkS )NrR   )r:   r   rR   EEXIST)rB   r   r   r   r      s    CPythonZpermzbbroken or incompatible Python implementation, see: https://github.com/giampaolo/psutil/issues/1659)r
   )RLock	CacheInfohitsmissesmaxsizecurrsizec               @   s$   e Zd ZdZefddZdd ZdS )
_HashedSeq	hashvaluec             C   s   || d d < ||| _ d S )N)r_   )r<   tuphashr   r   r   r;      s    z_HashedSeq.__init__c             C   s   | j S )N)r_   )r<   r   r   r   __hash__   s    z_HashedSeq.__hash__N)rH   rI   rJ   	__slots__ra   r;   rb   r   r   r   r   r^      s   r^   c	                s   | }	|r2||  }
|	|7 }	x|
D ]}|	|7 }	q"W |rp|	| fdd| D 7 }	|r|	| fdd|
D 7 }	n$||	dkr |	d |kr|	d S t|	S )Nc             3   s   | ]} |V  qd S )Nr   ).0v)rL   r   r   	<genexpr>   s    z_make_key.<locals>.<genexpr>c             3   s   | ]\}} |V  qd S )Nr   )rd   kre   )rL   r   r   rf      s    r   r   )itemsr^   )r=   kwdstypedkwd_mark	fasttypessortedtuplerL   r6   keyZsorted_itemsitemr   )rL   r   	_make_key   s    
rq   d   Fc                s    fdd}|S )z~Least-recently-used cache decorator, see:
        http://docs.python.org/3/library/functools.html#functools.lru_cache
        c                s  t  ddgd\ t
jtt 	g d d gd d < gd\dkrnfdd}nPd kr 
f	dd}n* 	
fdd} 	fdd	}	fd
d}|_||_||_t	|S )Nr   )r   r   )r   r      r   c                 s   | |}   d7  < |S )Nr   r   )r=   ri   result)MISSESstatsuser_functionr   r   wrapper	  s    
z7lru_cache.<locals>.decorating_function.<locals>.wrapperc                 sX   | |}|}|k	r2   d7  < |S | |}||<   d7  < |S )Nr   r   )r=   ri   ro   rt   )	HITSru   cache	cache_getmake_keyrootrv   rj   rw   r   r   rx     s    

c                 sl  |sr
| |}n| }	   zr|}|d k	r\}|\}}}}||< ||< | }| |< |< ||< ||<    d7  < |S W d 	  X | |}	   z\}|krnkr|}	||	< ||	< |	  }d< | }
d  |< |< |
= |	|< n,| }||||g}| |<  |< |<   d7  < W d 	  X |S )Nr   r   )acquirerelease)r=   ri   ro   linkr}   Z	link_prevZ	link_nextrt   lastZoldrootZoldkey)ry   KEYru   NEXTPREVRESULT_lenrz   r{   lockr|   r\   nonlocal_rootrv   rj   rw   r   r   rx     sN    



c                  s2      zt   tS   X dS )zReport cache statisticsN)r~   
_CacheInfor6   r   r   )ry   ru   rz   r   r\   rv   r   r   
cache_infoF  s
    
z:lru_cache.<locals>.decorating_function.<locals>.cache_infoc                 sP      z8   d } | | ddg| dd< ddgdd< W d  X dS )z$Clear the cache and cache statisticsr   N)r~   clearr   )r}   )rz   r   r   rv   r   r   cache_clearO  s    z;lru_cache.<locals>.decorating_function.<locals>.cache_clear)
dictrq   getr6   rX   __wrapped__r   r   	functoolsupdate_wrapper)rw   rx   r   r   )r\   rj   )ry   r   ru   r   r   r   r   rz   r{   r   r|   r   r}   rv   rw   r   decorating_function   s,    *-	z&lru_cache.<locals>.decorating_functionr   )r\   rj   r   r   )r\   rj   r   r
      s    c)r   c                s"  dd }t j r&| |r" S dS |dkr>t jdt j}|sFdS |t j}tj	dkrt j
|krt|dt j
 t jddt j}t fd	d
|D r g}q fdd|D }n g}t }xT|D ]L}t j|}||kr|| x(|D ] }	t j||	}
||
|r|
S qW qW dS )aJ  Given a command, mode, and a PATH string, return the path which
        conforms to the given mode on the PATH, or None if there is no such
        file.

        `mode` defaults to os.F_OK | os.X_OK. `path` defaults to the result
        of os.environ.get("PATH"), or can be overridden with a custom search
        path.
        c             S   s&   t j| o$t | |o$t j|  S )N)ospathexistsaccessisdir)fnmoder   r   r   _access_checko  s    zwhich.<locals>._access_checkNPATHwin32r   PATHEXT c             3   s    | ]}   |  V  qd S )N)lowerendswith)rd   ext)cmdr   r   rf     s    zwhich.<locals>.<genexpr>c                s   g | ]} | qS r   r   )rd   r   )r   r   r   
<listcomp>  s    zwhich.<locals>.<listcomp>)r   r   dirnameenvironr   defpathsplitpathsepr   platformcurdirinsertanysetnormcaseaddjoin)r   r   r   r   pathextfilesseenr7   normdirthefilenamer   )r   r   r   f  s8    	






)r   P      c             C   st   ydd l }dd l}dd l}W n tk
r0   | S X y(|d|d|jd}|d |d fS  tk
rn   | S X d S )Nr   Zhhr   Z1234)fcntltermiosstructImportErrorunpackZioctlZ
TIOCGWINSZ	Exception)fallbackr   r   r   resr   r   r   r     s    )rr   F)r   ):rN   collectionsrR   r   r   r   r(   __all__version_infor   objectr   intr   r   xrangestrr   r   r   r	   r   r0   r   r   r   r   r   r   r   r   rQ   EnvironmentErrorpython_implementationOSErrorrV   r!   r
   r   	threadingrX   Zdummy_threading
namedtupler   listr^   r   	frozensetrL   rm   rn   r6   rq   shutilr   F_OKX_OKr   r   r   r   r   <module>   s   



8
k1