$33 GRAYBYTE WORDPRESS FILE MANAGER $24

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

/opt/alt/python36/lib64/python3.6/asyncio/__pycache__/

HOME
Current File : /opt/alt/python36/lib64/python3.6/asyncio/__pycache__//queues.cpython-36.opt-1.pyc
3

� f�@s�dZdddddgZddlZddlZdd	lmZdd
lmZddlmZddlm	Z	Gd
d�de
�ZGdd�de
�ZGdd�d�Z
Gdd�de
�ZGdd�de
�Zejs�e
Zejd�dS)ZQueues�Queue�
PriorityQueue�	LifoQueue�	QueueFull�
QueueEmpty�N�)�compat)�events)�locks)�	coroutinec@seZdZdZdS)rz]Exception raised when Queue.get_nowait() is called on a Queue object
    which is empty.
    N)�__name__�
__module__�__qualname__�__doc__�rr�3/opt/alt/python36/lib64/python3.6/asyncio/queues.pyrsc@seZdZdZdS)rzgException raised when the Queue.put_nowait() method is called on a Queue
    object which is full.
    N)rr
rrrrrrrsc@s�eZdZdZd)dd�dd�Zdd�Zd	d
�Zdd�Zd
d�Zdd�Z	dd�Z
dd�Zdd�Ze
dd��Zdd�Zdd�Zedd��Zdd �Zed!d"��Zd#d$�Zd%d&�Zed'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 "yield from 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)�loopcCsb|dkrtj�|_n||_||_tj�|_tj�|_d|_t	j
|jd�|_|jj�|j
|�dS)Nr)r)r	Zget_event_loop�_loop�_maxsize�collections�deque�_getters�_putters�_unfinished_tasksr
ZEvent�	_finished�set�_init)�self�maxsizerrrr�__init__(s


zQueue.__init__cCstj�|_dS)N)rr�_queue)rrrrrr:szQueue._initcCs
|jj�S)N)r �popleft)rrrr�_get=sz
Queue._getcCs|jj|�dS)N)r �append)r�itemrrr�_put@sz
Queue._putcCs*x$|r$|j�}|j�s|jd�PqWdS)N)r!�doneZ
set_result)r�waitersZwaiterrrr�_wakeup_nextEs

zQueue._wakeup_nextcCsdjt|�jt|�|j��S)Nz<{} at {:#x} {}>)�format�typer�id�_format)rrrr�__repr__MszQueue.__repr__cCsdjt|�j|j��S)Nz<{} {}>)r)r*rr,)rrrr�__str__Qsz
Queue.__str__cCszdj|j�}t|dd�r,|djt|j��7}|jrF|djt|j��7}|jr`|djt|j��7}|jrv|dj|j�7}|S)Nzmaxsize={!r}r z _queue={!r}z
 _getters[{}]z
 _putters[{}]z	 tasks={})	r)r�getattr�listr r�lenrr)r�resultrrrr,Tsz
Queue._formatcCs
t|j�S)zNumber of items in the queue.)r1r )rrrr�qsize`szQueue.qsizecCs|jS)z%Number of items allowed in the queue.)r)rrrrrdsz
Queue.maxsizecCs|jS)z3Return True if the queue is empty, False otherwise.)r )rrrr�emptyiszQueue.emptycCs |jdkrdS|j�|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)rr3)rrrr�fullms
z
Queue.fullc	cstxh|j�rh|jj�}|jj|�y|EdHWq|j�|j�r^|j�r^|j|j��YqXqW|j|�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.

        This method is a coroutine.
        N)	r5r�
create_futurerr#�cancel�	cancelledr(�
put_nowait)rr$Zputterrrr�putxs	

z	Queue.putcCs>|j�rt�|j|�|jd7_|jj�|j|j�dS)zyPut an item into the queue without blocking.

        If no free slot is immediately available, raise QueueFull.
        rN)r5rr%rr�clearr(r)rr$rrrr9�s

zQueue.put_nowaitccs�x�|j�r�|jj�}|jj|�y|EdHWq|j�y|jj|�Wntk
rbYnX|j�r�|j�r�|j	|j��YqXqW|j
�S)z�Remove and return an item from the queue.

        If queue is empty, wait until an item is available.

        This method is a coroutine.
        N)r4rr6rr#r7�remove�
ValueErrorr8r(�
get_nowait)r�getterrrr�get�s

z	Queue.getcCs$|j�rt�|j�}|j|j�|S)z�Remove and return an item from the queue.

        Return an item if one is immediately available, else raise QueueEmpty.
        )r4rr"r(r)rr$rrrr>�s
zQueue.get_nowaitcCs8|jdkrtd��|jd8_|jdkr4|jj�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)rr=rr)rrrr�	task_done�s


zQueue.task_doneccs|jdkr|jj�EdHdS)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�wait)rrrr�join�s	
z
Queue.join)r)rr
rrrrr"r%r(r-r.r,r3�propertyrr4r5rr:r9r@r>rArCrrrrrs&
c@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|_dS)N)r )rrrrrr�szPriorityQueue._initcCs||j|�dS)N)r )rr$�heappushrrrr%�szPriorityQueue._putcCs
||j�S)N)r )r�heappoprrrr"�szPriorityQueue._getN)
rr
rrr�heapqrEr%rFr"rrrrr�sc@s(eZdZdZdd�Zdd�Zdd�ZdS)	rzEA subclass of Queue that retrieves most recently added entries first.cCs
g|_dS)N)r )rrrrrr�szLifoQueue._initcCs|jj|�dS)N)r r#)rr$rrrr%�szLifoQueue._putcCs
|jj�S)N)r �pop)rrrrr"�szLifoQueue._getN)rr
rrrr%r"rrrrr�s�
JoinableQueue)r�__all__rrG�rr	r
Z
coroutinesr�	ExceptionrrrrrZPY35rIr#rrrr�<module>s H



Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
24 May 2024 8.33 AM
root / linksafe
0755
__init__.cpython-36.opt-1.pyc
0.774 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
__init__.cpython-36.opt-2.pyc
0.712 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
__init__.cpython-36.pyc
0.774 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
base_events.cpython-36.opt-1.pyc
38.457 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
base_events.cpython-36.opt-2.pyc
30.781 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
base_events.cpython-36.pyc
38.683 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
base_futures.cpython-36.opt-1.pyc
2.014 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
base_futures.cpython-36.opt-2.pyc
1.67 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
base_futures.cpython-36.pyc
2.014 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
base_subprocess.cpython-36.opt-1.pyc
8.966 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
base_subprocess.cpython-36.opt-2.pyc
8.858 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
base_subprocess.cpython-36.pyc
9.06 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
base_tasks.cpython-36.opt-1.pyc
1.832 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
base_tasks.cpython-36.opt-2.pyc
1.824 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
base_tasks.cpython-36.pyc
1.832 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
compat.cpython-36.opt-1.pyc
0.729 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
compat.cpython-36.opt-2.pyc
0.605 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
compat.cpython-36.pyc
0.729 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
constants.cpython-36.opt-1.pyc
0.26 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
constants.cpython-36.opt-2.pyc
0.226 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
constants.cpython-36.pyc
0.26 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
coroutines.cpython-36.opt-1.pyc
8.261 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
coroutines.cpython-36.opt-2.pyc
8.026 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
coroutines.cpython-36.pyc
8.366 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
events.cpython-36.opt-1.pyc
24.653 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
events.cpython-36.opt-2.pyc
17.248 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
events.cpython-36.pyc
24.759 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
futures.cpython-36.opt-1.pyc
13.2 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
futures.cpython-36.opt-2.pyc
7.46 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
futures.cpython-36.pyc
13.439 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
locks.cpython-36.opt-1.pyc
15.101 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
locks.cpython-36.opt-2.pyc
8.708 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
locks.cpython-36.pyc
15.101 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
log.cpython-36.opt-1.pyc
0.228 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
log.cpython-36.opt-2.pyc
0.182 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
log.cpython-36.pyc
0.228 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
proactor_events.cpython-36.opt-1.pyc
16.262 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
proactor_events.cpython-36.opt-2.pyc
15.863 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
proactor_events.cpython-36.pyc
16.442 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
protocols.cpython-36.opt-1.pyc
5.852 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
protocols.cpython-36.opt-2.pyc
2.175 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
protocols.cpython-36.pyc
5.852 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
queues.cpython-36.opt-1.pyc
8.222 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
queues.cpython-36.opt-2.pyc
5.418 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
queues.cpython-36.pyc
8.222 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
selector_events.cpython-36.opt-1.pyc
28.832 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
selector_events.cpython-36.opt-2.pyc
27.271 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
selector_events.cpython-36.pyc
28.889 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
sslproto.cpython-36.opt-1.pyc
19.684 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
sslproto.cpython-36.opt-2.pyc
13.006 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
sslproto.cpython-36.pyc
19.881 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
streams.cpython-36.opt-1.pyc
19.188 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
streams.cpython-36.opt-2.pyc
13.05 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
streams.cpython-36.pyc
19.463 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
subprocess.cpython-36.opt-1.pyc
6.649 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
subprocess.cpython-36.opt-2.pyc
6.479 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
subprocess.cpython-36.pyc
6.679 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
tasks.cpython-36.opt-1.pyc
18.486 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
tasks.cpython-36.opt-2.pyc
11.737 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
tasks.cpython-36.pyc
18.66 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
test_utils.cpython-36.opt-1.pyc
17.119 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
test_utils.cpython-36.opt-2.pyc
15.844 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
test_utils.cpython-36.pyc
17.281 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
transports.cpython-36.opt-1.pyc
11.763 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
transports.cpython-36.opt-2.pyc
6.27 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
transports.cpython-36.pyc
11.792 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
unix_events.cpython-36.opt-1.pyc
29.519 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
unix_events.cpython-36.opt-2.pyc
25.898 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
unix_events.cpython-36.pyc
29.854 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
windows_events.cpython-36.opt-1.pyc
21.005 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
windows_events.cpython-36.opt-2.pyc
19.911 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
windows_events.cpython-36.pyc
21.005 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
windows_utils.cpython-36.opt-1.pyc
5.183 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
windows_utils.cpython-36.opt-2.pyc
4.604 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
windows_utils.cpython-36.pyc
5.271 KB
17 Apr 2024 5.19 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF