ok
Direktori : /opt/alt/python311/lib64/python3.11/asyncio/__pycache__/ |
Current File : //opt/alt/python311/lib64/python3.11/asyncio/__pycache__/windows_utils.cpython-311.opt-2.pyc |
� �f� � � � d dl Z e j dk r ed� � �d dlZd dlZd dlZd dlZd dlZd dlZd dl Z dZ dZej Zej Z ej � � Zdded�d �Z G d � d� � Z G d� d ej � � ZdS )� N�win32z win32 only)�pipe�Popen�PIPE� PipeHandlei F)TT)�duplex� overlapped�bufsizec �T � t j d� t j � � t t � � � � �� � }| r*t j }t j t j z }||}}nt j }t j }d|}}|t j z }|d r|t j z }|d r t j }nd}d x} } t j ||t j d||t j t j � � } t j ||dt j t j |t j � � } t j | d�� � }|� d� � | | fS # | �t j | � � | �t j | � � � xY w)Nz\\.\pipe\python-pipe-{:d}-{:d}-)�prefixr � T�r )�tempfile�mktemp�format�os�getpid�next� _mmap_counter�_winapi�PIPE_ACCESS_DUPLEX�GENERIC_READ� GENERIC_WRITE�PIPE_ACCESS_INBOUND�FILE_FLAG_FIRST_PIPE_INSTANCE�FILE_FLAG_OVERLAPPED�CreateNamedPipe� PIPE_WAIT�NMPWAIT_WAIT_FOREVER�NULL� CreateFile� OPEN_EXISTING�ConnectNamedPipe�GetOverlappedResult�CloseHandle)r r r �address�openmode�access�obsize�ibsize�flags_and_attribs�h1�h2�ovs �</opt/alt/python311/lib64/python3.11/asyncio/windows_utils.pyr r s� � �O��o�1�8�8��I�K�K��m�,�,�.� .�/� /� /�G� � $��-���%��(=�=�� �'�����.���&���G�����5�5�H��!�}� 1��G�0�0���!�}� �#�8������N�B��� � $��X�w�0� �v�v�w�;�W�\�K� K�� � ��V�Q���g�.C��w�|�-� -�� � %�b�T� :� :� :�� ���t�$�$�$��2�v� ��� �>����#�#�#� �>����#�#�#� ���s �BE8 �8/F'c �n � e Zd Z d� Zd� Zed� � � Zd� Zej d�d�Z ej fd�Z d� Zd � Zd S )r c � � || _ d S �N��_handle��self�handles r/ �__init__zPipeHandle.__init__V s � ������ c �P � | j �d| j ��}nd}d| j j � d|� d�S )Nzhandle=�closed�<� �>)r4 � __class__�__name__r5 s r/ �__repr__zPipeHandle.__repr__Y s>