$79 GRAYBYTE WORDPRESS FILE MANAGER $57

SERVER : in-mum-web1330.main-hosting.eu #1 SMP Mon Feb 10 22:45:17 UTC 2025
SERVER IP : 91.108.106.150 | ADMIN IP 216.73.216.143
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/usr/lib64/python3.8/asyncio/__pycache__/

HOME
Current File : /usr/lib64/python3.8/asyncio/__pycache__//queues.cpython-38.opt-1.pyc
U

e5d �@s�dZddlZddlZddlZddlmZddlmZGdd�de�ZGdd	�d	e�Z	Gd
d�d�Z
Gdd
�d
e
�ZGdd�de
�ZdS))�Queue�
PriorityQueue�	LifoQueue�	QueueFull�
QueueEmpty�N�)�events)�locksc@seZdZdZdS)rz;Raised when Queue.get_nowait() is called on an empty Queue.N��__name__�
__module__�__qualname__�__doc__�rr�&/usr/lib64/python3.8/asyncio/queues.pyrsrc@seZdZdZdS)rzDRaised when the Queue.put_nowait() method is called on a full Queue.Nr
rrrrrsrc@s�eZdZdZd)dd�dd�Zdd�Zd	d
�Zdd�Zd
d�Zdd�Z	dd�Z
dd�Zdd�Ze
dd��Zdd�Zdd�Zdd�Zdd �Zd!d"�Zd#d$�Zd%d&�Zd'd(�ZdS)*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.
    rN��loopcCsp|dkrt��|_n||_tjdtdd�||_t��|_	t��|_
d|_tj
|d�|_|j��|�|�dS)Nz[The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.�)�
stacklevelrr)rZget_event_loop�_loop�warnings�warn�DeprecationWarning�_maxsize�collections�deque�_getters�_putters�_unfinished_tasksr	ZEvent�	_finished�set�_init)�self�maxsizerrrr�__init__!s�


zQueue.__init__cCst��|_dS�N)rr�_queue�r"r#rrrr!6szQueue._initcCs
|j��Sr%)r&�popleft�r"rrr�_get9sz
Queue._getcCs|j�|�dSr%�r&�append�r"�itemrrr�_put<sz
Queue._putcCs&|r"|��}|��s|�d�q"qdSr%)r(ZdoneZ
set_result)r"�waitersZwaiterrrr�_wakeup_nextAs

zQueue._wakeup_nextcCs(dt|�j�dt|�d�d|���d�S)N�<z at z#x� �>)�typer�id�_formatr)rrr�__repr__IszQueue.__repr__cCsdt|�j�d|���d�S)Nr2r3r4)r5rr7r)rrr�__str__Lsz
Queue.__str__cCs~d|j��}t|dd�r,|dt|j���7}|jrH|dt|j��d�7}|jrd|dt|j��d�7}|jrz|d|j��7}|S)Nzmaxsize=r&z _queue=z
 _getters[�]z
 _putters[z tasks=)r�getattr�listr&r�lenrr)r"�resultrrrr7Osz
Queue._formatcCs
t|j�S)zNumber of items in the queue.)r=r&r)rrr�qsize[szQueue.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�emptydszQueue.emptycCs |jdkrdS|��|jkSdS)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.
        rFN)rr?r)rrr�fullhs
z
Queue.fullc�s�|��r�|j��}|j�|�z|IdHWq|��z|j�|�Wntk
r`YnX|��s~|��s~|�	|j��YqXq|�
|�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)rBr�
create_futurerr,�cancel�remove�
ValueError�	cancelledr1�
put_nowait)r"r.Zputterrrr�putss

z	Queue.putcCs>|��rt�|�|�|jd7_|j��|�|j�dS)zyPut an item into the queue without blocking.

        If no free slot is immediately available, raise QueueFull.
        rN)rBrr/rr�clearr1rr-rrrrH�s

zQueue.put_nowaitc�s�|��r�|j��}|j�|�z|IdHWq|��z|j�|�Wntk
r`YnX|��s~|��s~|�	|j��YqXq|�
�S)zoRemove and return an item from the queue.

        If queue is empty, wait until an item is available.
        N)rArrCrr,rDrErFrGr1�
get_nowait)r"�getterrrr�get�s

z	Queue.getcCs$|��rt�|��}|�|j�|S)z�Remove and return an item from the queue.

        Return an item if one is immediately available, else raise QueueEmpty.
        )rArr*r1rr-rrrrK�s
zQueue.get_nowaitcCs8|jdkrtd��|jd8_|jdkr4|j��dS)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)rrFrr r)rrr�	task_done�s


zQueue.task_donec�s|jdkr|j��IdHdS)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)rrr
rr$r!r*r/r1r8r9r7r?�propertyr#rArBrIrHrMrKrNrPrrrrrs(
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).
    cCs
g|_dSr%r@r'rrrr!�szPriorityQueue._initcCs||j|�dSr%r@)r"r.�heappushrrrr/�szPriorityQueue._putcCs
||j�Sr%r@)r"�heappoprrrr*�szPriorityQueue._getN)
rrr
rr!�heapqrRr/rSr*rrrrr�src@s(eZdZdZdd�Zdd�Zdd�ZdS)	rzEA subclass of Queue that retrieves most recently added entries first.cCs
g|_dSr%r@r'rrrr!�szLifoQueue._initcCs|j�|�dSr%r+r-rrrr/�szLifoQueue._putcCs
|j��Sr%)r&�popr)rrrr*�szLifoQueue._getN)rrr
rr!r/r*rrrrr�sr)
�__all__rrTr�rr	�	Exceptionrrrrrrrrr�<module>sK

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
21 Oct 2025 6.55 AM
root / root
0755
__init__.cpython-38.opt-1.pyc
0.734 KB
17 Oct 2023 6.13 PM
root / root
0644
__init__.cpython-38.opt-2.pyc
0.68 KB
17 Oct 2023 6.13 PM
root / root
0644
__init__.cpython-38.pyc
0.734 KB
17 Oct 2023 6.13 PM
root / root
0644
__main__.cpython-38.opt-1.pyc
3.064 KB
17 Oct 2023 6.13 PM
root / root
0644
__main__.cpython-38.opt-2.pyc
3.064 KB
17 Oct 2023 6.13 PM
root / root
0644
__main__.cpython-38.pyc
3.064 KB
17 Oct 2023 6.13 PM
root / root
0644
base_events.cpython-38.opt-1.pyc
49.605 KB
17 Oct 2023 6.13 PM
root / root
0644
base_events.cpython-38.opt-2.pyc
40.835 KB
17 Oct 2023 6.13 PM
root / root
0644
base_events.cpython-38.pyc
49.826 KB
17 Oct 2023 6.13 PM
root / root
0644
base_futures.cpython-38.opt-1.pyc
1.855 KB
17 Oct 2023 6.13 PM
root / root
0644
base_futures.cpython-38.opt-2.pyc
1.607 KB
17 Oct 2023 6.13 PM
root / root
0644
base_futures.cpython-38.pyc
1.855 KB
17 Oct 2023 6.13 PM
root / root
0644
base_subprocess.cpython-38.opt-1.pyc
9.104 KB
17 Oct 2023 6.13 PM
root / root
0644
base_subprocess.cpython-38.opt-2.pyc
9.006 KB
17 Oct 2023 6.13 PM
root / root
0644
base_subprocess.cpython-38.pyc
9.197 KB
17 Oct 2023 6.13 PM
root / root
0644
base_tasks.cpython-38.opt-1.pyc
1.9 KB
17 Oct 2023 6.13 PM
root / root
0644
base_tasks.cpython-38.opt-2.pyc
1.9 KB
17 Oct 2023 6.13 PM
root / root
0644
base_tasks.cpython-38.pyc
1.9 KB
17 Oct 2023 6.13 PM
root / root
0644
constants.cpython-38.opt-1.pyc
0.569 KB
17 Oct 2023 6.13 PM
root / root
0644
constants.cpython-38.opt-2.pyc
0.569 KB
17 Oct 2023 6.13 PM
root / root
0644
constants.cpython-38.pyc
0.569 KB
17 Oct 2023 6.13 PM
root / root
0644
coroutines.cpython-38.opt-1.pyc
6.417 KB
17 Oct 2023 6.13 PM
root / root
0644
coroutines.cpython-38.opt-2.pyc
6.19 KB
17 Oct 2023 6.13 PM
root / root
0644
coroutines.cpython-38.pyc
6.5 KB
17 Oct 2023 6.13 PM
root / root
0644
events.cpython-38.opt-1.pyc
27.296 KB
17 Oct 2023 6.13 PM
root / root
0644
events.cpython-38.opt-2.pyc
18.456 KB
17 Oct 2023 6.13 PM
root / root
0644
events.cpython-38.pyc
27.401 KB
17 Oct 2023 6.13 PM
root / root
0644
exceptions.cpython-38.opt-1.pyc
2.491 KB
17 Oct 2023 6.13 PM
root / root
0644
exceptions.cpython-38.opt-2.pyc
1.862 KB
17 Oct 2023 6.13 PM
root / root
0644
exceptions.cpython-38.pyc
2.491 KB
17 Oct 2023 6.13 PM
root / root
0644
format_helpers.cpython-38.opt-1.pyc
2.279 KB
17 Oct 2023 6.13 PM
root / root
0644
format_helpers.cpython-38.opt-2.pyc
2.041 KB
17 Oct 2023 6.13 PM
root / root
0644
format_helpers.cpython-38.pyc
2.279 KB
17 Oct 2023 6.13 PM
root / root
0644
futures.cpython-38.opt-1.pyc
10.76 KB
17 Oct 2023 6.13 PM
root / root
0644
futures.cpython-38.opt-2.pyc
7.531 KB
17 Oct 2023 6.13 PM
root / root
0644
futures.cpython-38.pyc
10.933 KB
17 Oct 2023 6.13 PM
root / root
0644
locks.cpython-38.opt-1.pyc
15.986 KB
17 Oct 2023 6.13 PM
root / root
0644
locks.cpython-38.opt-2.pyc
9.539 KB
17 Oct 2023 6.13 PM
root / root
0644
locks.cpython-38.pyc
15.986 KB
17 Oct 2023 6.13 PM
root / root
0644
log.cpython-38.opt-1.pyc
0.223 KB
17 Oct 2023 6.13 PM
root / root
0644
log.cpython-38.opt-2.pyc
0.185 KB
17 Oct 2023 6.13 PM
root / root
0644
log.cpython-38.pyc
0.223 KB
17 Oct 2023 6.13 PM
root / root
0644
proactor_events.cpython-38.opt-1.pyc
23.31 KB
17 Oct 2023 6.13 PM
root / root
0644
proactor_events.cpython-38.opt-2.pyc
22.919 KB
17 Oct 2023 6.13 PM
root / root
0644
proactor_events.cpython-38.pyc
23.581 KB
17 Oct 2023 6.13 PM
root / root
0644
protocols.cpython-38.opt-1.pyc
8.414 KB
17 Oct 2023 6.13 PM
root / root
0644
protocols.cpython-38.opt-2.pyc
3.278 KB
17 Oct 2023 6.13 PM
root / root
0644
protocols.cpython-38.pyc
8.414 KB
17 Oct 2023 6.13 PM
root / root
0644
queues.cpython-38.opt-1.pyc
8.187 KB
17 Oct 2023 6.13 PM
root / root
0644
queues.cpython-38.opt-2.pyc
5.57 KB
17 Oct 2023 6.13 PM
root / root
0644
queues.cpython-38.pyc
8.187 KB
17 Oct 2023 6.13 PM
root / root
0644
runners.cpython-38.opt-1.pyc
1.903 KB
17 Oct 2023 6.13 PM
root / root
0644
runners.cpython-38.opt-2.pyc
1.237 KB
17 Oct 2023 6.13 PM
root / root
0644
runners.cpython-38.pyc
1.903 KB
17 Oct 2023 6.13 PM
root / root
0644
selector_events.cpython-38.opt-1.pyc
28.933 KB
17 Oct 2023 6.13 PM
root / root
0644
selector_events.cpython-38.opt-2.pyc
27.337 KB
17 Oct 2023 6.13 PM
root / root
0644
selector_events.cpython-38.pyc
28.991 KB
17 Oct 2023 6.13 PM
root / root
0644
sslproto.cpython-38.opt-1.pyc
20.918 KB
17 Oct 2023 6.13 PM
root / root
0644
sslproto.cpython-38.opt-2.pyc
14.274 KB
17 Oct 2023 6.13 PM
root / root
0644
sslproto.cpython-38.pyc
21.113 KB
17 Oct 2023 6.13 PM
root / root
0644
staggered.cpython-38.opt-1.pyc
3.854 KB
17 Oct 2023 6.13 PM
root / root
0644
staggered.cpython-38.opt-2.pyc
1.771 KB
17 Oct 2023 6.13 PM
root / root
0644
staggered.cpython-38.pyc
4.023 KB
17 Oct 2023 6.13 PM
root / root
0644
streams.cpython-38.opt-1.pyc
19.89 KB
17 Oct 2023 6.13 PM
root / root
0644
streams.cpython-38.opt-2.pyc
14.134 KB
17 Oct 2023 6.13 PM
root / root
0644
streams.cpython-38.pyc
20.158 KB
17 Oct 2023 6.13 PM
root / root
0644
subprocess.cpython-38.opt-1.pyc
7.158 KB
17 Oct 2023 6.13 PM
root / root
0644
subprocess.cpython-38.opt-2.pyc
7.033 KB
17 Oct 2023 6.13 PM
root / root
0644
subprocess.cpython-38.pyc
7.188 KB
17 Oct 2023 6.13 PM
root / root
0644
tasks.cpython-38.opt-1.pyc
23.659 KB
17 Oct 2023 6.13 PM
root / root
0644
tasks.cpython-38.opt-2.pyc
16.251 KB
17 Oct 2023 6.13 PM
root / root
0644
tasks.cpython-38.pyc
23.714 KB
17 Oct 2023 6.13 PM
root / root
0644
transports.cpython-38.opt-1.pyc
11.947 KB
17 Oct 2023 6.13 PM
root / root
0644
transports.cpython-38.opt-2.pyc
6.673 KB
17 Oct 2023 6.13 PM
root / root
0644
transports.cpython-38.pyc
11.977 KB
17 Oct 2023 6.13 PM
root / root
0644
trsock.cpython-38.opt-1.pyc
8.286 KB
17 Oct 2023 6.13 PM
root / root
0644
trsock.cpython-38.opt-2.pyc
8.036 KB
17 Oct 2023 6.13 PM
root / root
0644
trsock.cpython-38.pyc
8.286 KB
17 Oct 2023 6.13 PM
root / root
0644
unix_events.cpython-38.opt-1.pyc
38.044 KB
17 Oct 2023 6.13 PM
root / root
0644
unix_events.cpython-38.opt-2.pyc
33.512 KB
17 Oct 2023 6.13 PM
root / root
0644
unix_events.cpython-38.pyc
38.416 KB
17 Oct 2023 6.13 PM
root / root
0644
windows_events.cpython-38.opt-1.pyc
23.978 KB
17 Oct 2023 6.13 PM
root / root
0644
windows_events.cpython-38.opt-2.pyc
22.896 KB
17 Oct 2023 6.13 PM
root / root
0644
windows_events.cpython-38.pyc
24.009 KB
17 Oct 2023 6.13 PM
root / root
0644
windows_utils.cpython-38.opt-1.pyc
4.286 KB
17 Oct 2023 6.13 PM
root / root
0644
windows_utils.cpython-38.opt-2.pyc
3.862 KB
17 Oct 2023 6.13 PM
root / root
0644
windows_utils.cpython-38.pyc
4.368 KB
17 Oct 2023 6.13 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF