$42 GRAYBYTE WORDPRESS FILE MANAGER $22

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.160.161 | ADMIN IP 216.73.216.86
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/python310/lib64/python3.10/asyncio/__pycache__/

HOME
Current File : /opt/alt/python310/lib64/python3.10/asyncio/__pycache__//queues.cpython-310.pyc
o

0�ib�@s�dZddlZddlZddlmZddlmZddlmZGdd�de�Z	Gd	d
�d
e�Z
Gdd�dej�ZGd
d�de�Z
Gdd�de�ZdS))�Queue�
PriorityQueue�	LifoQueue�	QueueFull�
QueueEmpty�N)�GenericAlias�)�locks)�mixinsc@�eZdZdZdS)rz;Raised when Queue.get_nowait() is called on an empty Queue.N��__name__�
__module__�__qualname__�__doc__�rr�5/opt/alt/python310/lib64/python3.10/asyncio/queues.pyr�rc@r)rzDRaised when the Queue.put_nowait() method is called on a full Queue.Nrrrrrrrrcs�eZdZdZd(ejd��fdd�Zdd�Zdd	�Zd
d�Z	dd
�Z
dd�Zdd�Ze
e�Zdd�Zdd�Zedd��Zdd�Zdd�Zdd�Zdd�Zd d!�Zd"d#�Zd$d%�Zd&d'�Z�ZS))raA queue, useful for coordinating producer and consumer coroutines.

    If maxsize is less than or equal to zero, the queue size is infinite. If it
    is an integer greater than 0, then "await put()" will block when the
    queue reaches maxsize, until an item is removed by get().

    Unlike the standard library Queue, you can reliably know this Queue's size
    with qsize(), since your single-threaded asyncio application won't be
    interrupted between calling qsize() and doing an operation on the Queue.
    r��loopcsPt�j|d�||_t��|_t��|_d|_t�	�|_
|j
��|�|�dS)Nrr)
�super�__init__�_maxsize�collections�deque�_getters�_putters�_unfinished_tasksr	ZEvent�	_finished�set�_init)�self�maxsizer��	__class__rrr!s



zQueue.__init__cCst��|_dS�N)rr�_queue�r!r"rrrr 0szQueue._initcC�
|j��Sr%)r&�popleft�r!rrr�_get3�
z
Queue._getcC�|j�|�dSr%�r&�append�r!�itemrrr�_put6�z
Queue._putcCs.|r|��}|��s|�d�dS|sdSdSr%)r)ZdoneZ
set_result)r!�waitersZwaiterrrr�_wakeup_next;s
�zQueue._wakeup_nextcCs(dt|�j�dt|�d�d|���d�S)N�<z at z#x� �>)�typer
�id�_formatr*rrr�__repr__Cs(zQueue.__repr__cCsdt|�j�d|���d�S)Nr6r7r8)r9r
r;r*rrr�__str__Fsz
Queue.__str__cCs~d|j��}t|dd�r|dt|j���7}|jr$|dt|j��d�7}|jr2|dt|j��d�7}|jr=|d|j��7}|S)Nzmaxsize=r&z _queue=z
 _getters[�]z
 _putters[z tasks=)r�getattr�listr&r�lenrr)r!�resultrrrr;Ksz
Queue._formatcCs
t|j�S)zNumber of items in the queue.)rAr&r*rrr�qsizeWs
zQueue.qsizecCs|jS)z%Number of items allowed in the queue.)rr*rrrr"[sz
Queue.maxsizecCs|jS)z3Return True if the queue is empty, False otherwise.�r&r*rrr�empty`szQueue.emptycCs|jdkrdS|��|jkS)z�Return True if there are maxsize items in the queue.

        Note: if the Queue was initialized with maxsize=0 (the default),
        then full() is never True.
        rF)rrCr*rrr�fullds
z
Queue.fullc�s��|��rE|����}|j�|�z|IdHWn(|��z|j�|�Wn	ty1Ynw|��s@|��s@|�	|j��|��s|�
|�S)z�Put an item into the queue.

        Put an item into the queue. If the queue is full, wait until a free
        slot is available before adding item.
        N)rF�	_get_loop�
create_futurerr/�cancel�remove�
ValueError�	cancelledr5�
put_nowait)r!r1Zputterrrr�putos$���
z	Queue.putcCs>|��rt�|�|�|jd7_|j��|�|j�dS)zyPut an item into the queue without blocking.

        If no free slot is immediately available, raise QueueFull.
        rN)rFrr2rr�clearr5rr0rrrrM�s

zQueue.put_nowaitc�s��|��rE|����}|j�|�z|IdHWn(|��z|j�|�Wn	ty1Ynw|��s@|��s@|�	|j��|��s|�
�S)zoRemove and return an item from the queue.

        If queue is empty, wait until an item is available.
        N)rErGrHrr/rIrJrKrLr5�
get_nowait)r!�getterrrr�get�s$���z	Queue.getcCs$|��rt�|��}|�|j�|S)z�Remove and return an item from the queue.

        Return an item if one is immediately available, else raise QueueEmpty.
        )rErr+r5rr0rrrrP�s
zQueue.get_nowaitcCs<|jdkr	td��|jd8_|jdkr|j��dSdS)a$Indicate that a formerly enqueued task is complete.

        Used by queue consumers. For each get() used to fetch a task,
        a subsequent call to task_done() tells the queue that the processing
        on the task is complete.

        If a join() is currently blocking, it will resume when all items have
        been processed (meaning that a task_done() call was received for every
        item that had been put() into the queue).

        Raises ValueError if called more times than there were items placed in
        the queue.
        rz!task_done() called too many timesrN)rrKrrr*rrr�	task_done�s

�zQueue.task_donec�s$�|jdkr|j��IdHdSdS)aBlock until all items in the queue have been gotten and processed.

        The count of unfinished tasks goes up whenever an item is added to the
        queue. The count goes down whenever a consumer calls task_done() to
        indicate that the item was retrieved and all work on it is complete.
        When the count of unfinished tasks drops to zero, join() unblocks.
        rN)rr�waitr*rrr�join�s�
�z
Queue.join)r)r
rrrr
Z_markerrr r+r2r5r<r=�classmethodr�__class_getitem__r;rC�propertyr"rErFrNrMrRrPrSrU�
__classcell__rrr#rrs,
rc@s4eZdZdZdd�Zejfdd�Zejfdd�Z	dS)	rz�A subclass of Queue; retrieves entries in priority order (lowest first).

    Entries are typically tuples of the form: (priority number, data).
    cC�
g|_dSr%rDr'rrrr �r,zPriorityQueue._initcCs||j|�dSr%rD)r!r1�heappushrrrr2�r3zPriorityQueue._putcCs
||j�Sr%rD)r!�heappoprrrr+�r,zPriorityQueue._getN)
r
rrrr �heapqr[r2r\r+rrrrr�s
rc@s(eZdZdZdd�Zdd�Zdd�ZdS)	rzEA subclass of Queue that retrieves most recently added entries first.cCrZr%rDr'rrrr �r,zLifoQueue._initcCr-r%r.r0rrrr2�r3zLifoQueue._putcCr(r%)r&�popr*rrrr+�r,zLifoQueue._getN)r
rrrr r2r+rrrrr�s
r)�__all__rr]�typesr�r	r
�	ExceptionrrZ_LoopBoundMixinrrrrrrr�<module>sG

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
4 May 2026 11.11 PM
root / linksafe
0755
__init__.cpython-310.opt-1.pyc
0.742 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
__init__.cpython-310.opt-2.pyc
0.691 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
__init__.cpython-310.pyc
0.742 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
__main__.cpython-310.opt-1.pyc
3.149 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
__main__.cpython-310.opt-2.pyc
3.149 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
__main__.cpython-310.pyc
3.149 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
base_events.cpython-310.opt-1.pyc
50.549 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
base_events.cpython-310.opt-2.pyc
42.196 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
base_events.cpython-310.pyc
50.652 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
base_futures.cpython-310.opt-1.pyc
1.882 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
base_futures.cpython-310.opt-2.pyc
1.646 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
base_futures.cpython-310.pyc
1.882 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
base_subprocess.cpython-310.opt-1.pyc
9.115 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
base_subprocess.cpython-310.opt-2.pyc
9.021 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
base_subprocess.cpython-310.pyc
9.182 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
base_tasks.cpython-310.opt-1.pyc
1.95 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
base_tasks.cpython-310.opt-2.pyc
1.95 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
base_tasks.cpython-310.pyc
1.95 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
constants.cpython-310.opt-1.pyc
0.588 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
constants.cpython-310.opt-2.pyc
0.588 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
constants.cpython-310.pyc
0.588 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
coroutines.cpython-310.opt-1.pyc
6.419 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
coroutines.cpython-310.opt-2.pyc
6.205 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
coroutines.cpython-310.pyc
6.481 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
events.cpython-310.opt-1.pyc
27.576 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
events.cpython-310.opt-2.pyc
18.586 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
events.cpython-310.pyc
27.658 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
exceptions.cpython-310.opt-1.pyc
2.426 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
exceptions.cpython-310.opt-2.pyc
1.822 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
exceptions.cpython-310.pyc
2.426 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
format_helpers.cpython-310.opt-1.pyc
2.3 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
format_helpers.cpython-310.opt-2.pyc
2.069 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
format_helpers.cpython-310.pyc
2.3 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
futures.cpython-310.opt-1.pyc
11.477 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
futures.cpython-310.opt-2.pyc
8.131 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
futures.cpython-310.pyc
11.624 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
locks.cpython-310.opt-1.pyc
13.856 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
locks.cpython-310.opt-2.pyc
7.807 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
locks.cpython-310.pyc
13.856 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
log.cpython-310.opt-1.pyc
0.239 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
log.cpython-310.opt-2.pyc
0.205 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
log.cpython-310.pyc
0.239 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
mixins.cpython-310.opt-1.pyc
1.067 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
mixins.cpython-310.opt-2.pyc
1.037 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
mixins.cpython-310.pyc
1.067 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
proactor_events.cpython-310.opt-1.pyc
23.915 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
proactor_events.cpython-310.opt-2.pyc
23.548 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
proactor_events.cpython-310.pyc
24.135 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
protocols.cpython-310.opt-1.pyc
8.119 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
protocols.cpython-310.opt-2.pyc
3.186 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
protocols.cpython-310.pyc
8.119 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
queues.cpython-310.opt-1.pyc
8.121 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
queues.cpython-310.opt-2.pyc
5.566 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
queues.cpython-310.pyc
8.121 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
runners.cpython-310.opt-1.pyc
2.059 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
runners.cpython-310.opt-2.pyc
1.396 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
runners.cpython-310.pyc
2.059 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
selector_events.cpython-310.opt-1.pyc
28.859 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
selector_events.cpython-310.opt-2.pyc
27.289 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
selector_events.cpython-310.pyc
28.9 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
sslproto.cpython-310.opt-1.pyc
21.291 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
sslproto.cpython-310.opt-2.pyc
14.604 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
sslproto.cpython-310.pyc
21.455 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
staggered.cpython-310.opt-1.pyc
3.98 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
staggered.cpython-310.opt-2.pyc
1.905 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
staggered.cpython-310.pyc
4.101 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
streams.cpython-310.opt-1.pyc
19.726 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
streams.cpython-310.opt-2.pyc
14.041 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
streams.cpython-310.pyc
19.921 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
subprocess.cpython-310.opt-1.pyc
6.898 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
subprocess.cpython-310.opt-2.pyc
6.781 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
subprocess.cpython-310.pyc
6.912 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
tasks.cpython-310.opt-1.pyc
23.374 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
tasks.cpython-310.opt-2.pyc
16.039 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
tasks.cpython-310.pyc
23.427 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
threads.cpython-310.opt-1.pyc
0.978 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
threads.cpython-310.opt-2.pyc
0.53 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
threads.cpython-310.pyc
0.978 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
transports.cpython-310.opt-1.pyc
12.045 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
transports.cpython-310.opt-2.pyc
6.702 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
transports.cpython-310.pyc
12.059 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
trsock.cpython-310.opt-1.pyc
7.674 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
trsock.cpython-310.opt-2.pyc
7.428 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
trsock.cpython-310.pyc
7.674 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
unix_events.cpython-310.opt-1.pyc
40.421 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
unix_events.cpython-310.opt-2.pyc
35.423 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
unix_events.cpython-310.pyc
40.729 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
windows_events.cpython-310.opt-1.pyc
23.598 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
windows_events.cpython-310.opt-2.pyc
22.556 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
windows_events.cpython-310.pyc
23.613 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
windows_utils.cpython-310.opt-1.pyc
4.34 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
windows_utils.cpython-310.opt-2.pyc
3.932 KB
17 Apr 2026 11.34 AM
root / linksafe
0644
windows_utils.cpython-310.pyc
4.406 KB
17 Apr 2026 11.34 AM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF Static GIF