$42 GRAYBYTE WORDPRESS FILE MANAGER $24

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python39/lib64/python3.9/multiprocessing/__pycache__/

HOME
Current File : /opt/alt/python39/lib64/python3.9/multiprocessing/__pycache__//reduction.cpython-39.pyc
a

XC?h(%�@sddlmZddlZddlZddlZddlZddlZddlZddlZddl	m
Z
gd�Zejdkp�e
ed�o�e
ed�o�e
ejd	�ZGd
d�dej�ZejZd8dd
�Zejdk�r�egd�7ZddlZd9dd�dd�Zdd�Zdd�Zdd�ZGdd�de�ZnFegd�7ZddlZejdkZdd�Zdd �Zd!d�Zd"d�Zd#d$�Zd%d&�ZGd'd(�d(�Z ee!e �j"�e�d)d*�Z#ee!e$j%�e#�ee!e&j'�e#�d+d,�Z(d-d.�Z)eej*e(�ejdk�r�d/d0�Z+d1d2�Z,eeje+�nd3d0�Z+d4d2�Z,eeje+�Gd5d6�d6ed7�Z-dS):�)�ABCMetaN�)�context)�send_handle�recv_handle�ForkingPickler�register�dump�win32ZCMSG_LEN�
SCM_RIGHTS�sendmsgcsJeZdZdZiZejZ�fdd�Ze	dd��Z
e	d	dd��Zej
Z
�ZS)
rz)Pickler subclass used by multiprocessing.cs*t�j|�|j��|_|j�|j�dS�N)�super�__init__�_copyreg_dispatch_table�copy�dispatch_table�update�_extra_reducers��self�args��	__class__��>/opt/alt/python39/lib64/python3.9/multiprocessing/reduction.pyr&szForkingPickler.__init__cCs||j|<dS)z&Register a reduce function for a type.N)r)�cls�type�reducerrrr+szForkingPickler.registerNcCs t��}|||��|�|��Sr
)�io�BytesIOr	�	getbuffer)r�obj�protocolZbufrrr�dumps0szForkingPickler.dumps)N)�__name__�
__module__�__qualname__�__doc__r�copyregrrr�classmethodrr$�pickle�loads�
__classcell__rrrrr!s
rcCst||��|�dS)z3Replacement for pickle.dump() using ForkingPickler.N)rr	)r"�filer#rrrr	:sr	)�	DupHandle�	duplicate�steal_handleF)�source_processcCs6t��}|dur|}|dur |}t�|||d|tj�S)z<Duplicate a handle.  (target_process is a handle not a pid!)Nr)�_winapi�GetCurrentProcess�DuplicateHandle�DUPLICATE_SAME_ACCESS)�handleZtarget_processZinheritabler2Zcurrent_processrrrr0Gs�r0c	CsNt�tjd|�}z,t�||t��ddtjtjB�Wt�|�St�|�0dS)z5Steal a handle from process identified by source_pid.FrN)r3�OpenProcess�PROCESS_DUP_HANDLEr5r4r6�DUPLICATE_CLOSE_SOURCE�CloseHandle)Z
source_pidr7Zsource_process_handlerrrr1Ss�

�
�r1cCst|tj|�}|�|�dS�z&Send a handle over a local connection.N)r/r3r6�send)�connr7�destination_pidZdhrrrr_srcCs|����S)�)Receive a handle over a local connection.)�recv�detach)r>rrrrdsrc@s"eZdZdZddd�Zdd�ZdS)r/zPicklable wrapper for a handle.Nc	Csf|durt��}t�tjd|�}z(t�t��|||dd�|_Wt�|�nt�|�0||_	||_
dS)NFr)�os�getpidr3r8r9r5r4�_handler;�_access�_pid)rr7�access�pid�procrrrrjs
�zDupHandle.__init__c	Csb|jt��kr|jSt�tjd|j�}z*t�||jt��|j	dtj
�Wt�|�St�|�0dS)z1Get the handle.  This should only be called once.FN)rGrCrDrEr3r8r9r5r4rFr:r;)rrJrrrrBys
�
�
�zDupHandle.detach)N)r%r&r'r(rrBrrrrr/hs
r/)�DupFd�sendfds�recvfds�darwincCsVt�d|�}tt|�dg�}|�|gtjtj|fg�trR|�d�dkrRt	d��dS)z,Send an array of fds over an AF_UNIX socket.�i�r�Az%did not receive acknowledgement of fdN)
�array�bytes�lenr�socket�
SOL_SOCKETr�ACKNOWLEDGErA�RuntimeError)�sockZfds�msgrrrrL�s
rLc	Cst�d�}|j|}|�dt�|��\}}}}|s:|s:t�z�trJ|�d�t|�dkrft	dt|���|d\}}	}
|tj
kr�|	tjkr�t|
�|jdkr�t�|�
|
�t|�d|dkr�td�t|�|d���t|�WSWnttfy�Yn0t	d��d	S)
z/Receive an array of fds over an AF_UNIX socket.rOrrQzreceived %d items of ancdatarrPz Len is {0:n} but msg[0] is {1!r}zInvalid data receivedN)rR�itemsizeZrecvmsgrUZ
CMSG_SPACE�EOFErrorrWr=rTrXrVr�
ValueErrorZ	frombytes�AssertionError�format�list�
IndexError)rY�size�aZ
bytes_sizerZZancdata�flagsZaddrZ
cmsg_levelZ	cmsg_typeZ	cmsg_datarrrrM�s:


�
�
��rMcCsFt�|��tjtj��}t||g�Wd�n1s80YdSr<)rU�fromfd�fileno�AF_UNIX�SOCK_STREAMrL)r>r7r?�srrrr�scCsHt�|��tjtj��}t|d�dWd�S1s:0YdS)r@rrN)rUrerfrgrhrM)r>rirrrr�scCsFt��}|dur |�|�|��Str:ddlm}|�|�Std��dS)zReturn a wrapper for an fd.Nr)�resource_sharerz&SCM_RIGHTS appears not to be available)rZget_spawning_popenrKZduplicate_for_child�HAVE_SEND_HANDLE�rjr])�fdZ	popen_objrjrrrrK�s
rKcCs2|jdurt|j|jjffSt|j|jjffSdSr
)�__self__�getattrr�__func__r%��mrrr�_reduce_method�s
rsc@seZdZdd�ZdS)�_CcCsdSr
r)rrrr�f�sz_C.fN)r%r&r'rurrrrrt�srtcCst|j|jffSr
)ro�__objclass__r%rqrrr�_reduce_method_descriptor�srwcCst|j|j|jpiffSr
)�_rebuild_partial�funcr�keywords)�prrr�_reduce_partial�sr|cCstj|g|�Ri|��Sr
)�	functools�partial)ryrrzrrrrx�srxcCsddlm}t||�ffS)Nr)�	DupSocket)rjr�_rebuild_socket)rirrrr�_reduce_socket�sr�cCs|��Sr
)rB)Zdsrrrr��sr�cCs"t|���}t||j|j|jffSr
)rKrfr��familyr�proto)ri�dfrrrr��scCs|��}tj||||d�S)N)rf)rBrU)r�r�rr�rmrrrr��sc@sdeZdZdZeZeZeZeZeZe	j
dkr8eZeZe
Z
neZeZeZeZeZeZeZeZdd�ZdS)�AbstractReducerz�Abstract base class for use in implementing a Reduction class
    suitable for use in replacing the standard reduction mechanism
    used in multiprocessing.r
cGsNttt�j�t�tttj�t�tttj	�t�tt
jt�tt
j
t�dSr
)rrrtrursr`�appendrw�int�__add__r}r~r|rUr�rrrrrs
zAbstractReducer.__init__N)r%r&r'r(rrr	rr�sys�platformr1r0r/rLrMrKrsrwrxr�r�rrrrrr��s&
r�)�	metaclass)N)NF).�abcrr)r}rrCr+rUr�rlr�__all__r��hasattrrkZPicklerrrr	r3r0r1rr�objectr/rRrWrLrMrKrsrtrrurwr`r�r�r�r|rxr~r�r�r�rrrr�<module>
sj

�
�	
�#



Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
22 Jul 2025 8.33 AM
root / linksafe
0755
__init__.cpython-39.opt-1.pyc
0.651 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
__init__.cpython-39.opt-2.pyc
0.651 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
__init__.cpython-39.pyc
0.651 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
connection.cpython-39.opt-1.pyc
24.794 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
connection.cpython-39.opt-2.pyc
22.842 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
connection.cpython-39.pyc
24.996 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
context.cpython-39.opt-1.pyc
12.728 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
context.cpython-39.opt-2.pyc
11.302 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
context.cpython-39.pyc
12.728 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
forkserver.cpython-39.opt-1.pyc
8.188 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
forkserver.cpython-39.opt-2.pyc
7.419 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
forkserver.cpython-39.pyc
8.232 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
heap.cpython-39.opt-1.pyc
7.459 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
heap.cpython-39.opt-2.pyc
7.283 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
heap.cpython-39.pyc
7.469 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
managers.cpython-39.opt-1.pyc
39.771 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
managers.cpython-39.opt-2.pyc
35.887 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
managers.cpython-39.pyc
39.962 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
pool.cpython-39.opt-1.pyc
24.516 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
pool.cpython-39.opt-2.pyc
22.691 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
pool.cpython-39.pyc
24.562 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
popen_fork.cpython-39.opt-1.pyc
2.466 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
popen_fork.cpython-39.opt-2.pyc
2.466 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
popen_fork.cpython-39.pyc
2.466 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
popen_forkserver.cpython-39.opt-1.pyc
2.4 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
popen_forkserver.cpython-39.opt-2.pyc
2.4 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
popen_forkserver.cpython-39.pyc
2.4 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
popen_spawn_posix.cpython-39.opt-1.pyc
2.306 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
popen_spawn_posix.cpython-39.opt-2.pyc
2.306 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
popen_spawn_posix.cpython-39.pyc
2.306 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
popen_spawn_win32.cpython-39.opt-1.pyc
3.368 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
popen_spawn_win32.cpython-39.opt-2.pyc
3.289 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
popen_spawn_win32.cpython-39.pyc
3.389 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
process.cpython-39.opt-1.pyc
10.169 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
process.cpython-39.opt-2.pyc
8.755 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
process.cpython-39.pyc
10.764 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
queues.cpython-39.opt-1.pyc
9.893 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
queues.cpython-39.opt-2.pyc
9.742 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
queues.cpython-39.pyc
9.95 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
reduction.cpython-39.opt-1.pyc
8.104 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
reduction.cpython-39.opt-2.pyc
7.381 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
reduction.cpython-39.pyc
8.104 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
resource_sharer.cpython-39.opt-1.pyc
5.131 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
resource_sharer.cpython-39.opt-2.pyc
4.721 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
resource_sharer.cpython-39.pyc
5.173 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
resource_tracker.cpython-39.opt-1.pyc
5.274 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
resource_tracker.cpython-39.opt-2.pyc
4.923 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
resource_tracker.cpython-39.pyc
5.342 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
shared_memory.cpython-39.opt-1.pyc
13.911 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
shared_memory.cpython-39.opt-2.pyc
11.243 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
shared_memory.cpython-39.pyc
14.116 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
sharedctypes.cpython-39.opt-1.pyc
6.896 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
sharedctypes.cpython-39.opt-2.pyc
6.638 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
sharedctypes.cpython-39.pyc
6.943 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
spawn.cpython-39.opt-1.pyc
6.534 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
spawn.cpython-39.opt-2.pyc
6.068 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
spawn.cpython-39.pyc
6.576 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
synchronize.cpython-39.opt-1.pyc
10.84 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
synchronize.cpython-39.opt-2.pyc
10.84 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
synchronize.cpython-39.pyc
11.134 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
util.cpython-39.opt-1.pyc
11.214 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
util.cpython-39.opt-2.pyc
10.413 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
util.cpython-39.pyc
11.249 KB
19 Jun 2025 12.11 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF