⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.30
Server IP:
45.79.8.107
Server:
Linux localhost 5.15.0-140-generic #150-Ubuntu SMP Sat Apr 12 06:00:09 UTC 2025 x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.2-1ubuntu2.21
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3.10
/
asyncio
/
__pycache__
/
View File Name :
queues.cpython-310.pyc
o }5hb @ s d Z ddlZddlZddlmZ ddlmZ ddlmZ G dd deZ G d d d eZ G dd dejZG d d deZ G dd deZdS ))Queue PriorityQueue LifoQueue QueueFull QueueEmpty N)GenericAlias )locks)mixinsc @ e Zd ZdZdS )r z;Raised when Queue.get_nowait() is called on an empty Queue.N__name__ __module____qualname____doc__ r r %/usr/lib/python3.10/asyncio/queues.pyr r c @ r )r zDRaised when the Queue.put_nowait() method is called on a full Queue.Nr r r r r r r r c s e Zd ZdZd(ejd fddZdd Zdd Zd d Z dd Z dd Zdd Ze eZdd Zdd Zedd Zdd Zdd Zdd Zdd Zd d! Zd"d# Zd$d% Zd&d' Z ZS ))r a A 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 loopc sP t j|d || _t | _t | _d| _t | _ | j | | d S )Nr r ) super__init___maxsizecollectionsdeque_getters_putters_unfinished_tasksr Event _finishedset_init)selfmaxsizer __class__r r r ! s zQueue.__init__c C s t | _d S N)r r _queuer" r# r r r r! 0 s zQueue._initc C | j S r&