403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.202
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Python315/Lib/pathlib/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python315/Lib/pathlib/__pycache__/_os.cpython-315.opt-1.pyc
R
>lqj\&c���Qs]QH3]QHGsGs]PHs]PHs]PHs]PH&s	]PH*s
Qs\%c\\Q2%cQs
LPs
\	%c\\	Q2%cQsLPs\\Q2%cQ	sLPs\\Q
2%cQsLPs\
%c\\
Q2%cQ
sLPsQsQsQsQsQQksQsQsQsP!\cPsK�h9h\cPs	K�h9h\cPs
K�h9h)z6
Low-level OS functionality wrappers used by pathlib.
)�*)�
TextIOWrapper�
text_encodingc���[[OU2OQ2o[
OQ6c
[UQ2oU![cQoK2h9h)aNDetermine blocksize for fastcopying on Linux.
Hopefully the whole file will be copied in a single call.
The copying itself should be performed in a loop 'till EOF is
reached (0 return) so a blocksize smaller or bigger than the actual
file size should not make any difference, also in case the file
content changes while being copied.
i�ili@)�max�os�fstat�st_size�OSError�sys�maxsize�min)�infd�	blocksizes& � C:\Python315\\Lib\pathlib\_os.py�_get_copy_blocksizersW���������.�.��8�	�
�{�{�W���	�7�+�	����
���	��s�*A�	A �A �A �FICLONEc�T�[OU[OU2P!)z�
Perform a lightweight copy of two files, where the data blocks are
copied only when modified. This is known as Copy on Write (CoW),
instantaneous copy or reflink.
)�fcntl�ioctlr��	source_fd�	target_fds&&r�_ficloner+s��	���I�u�}�}�i�8��
_fcopyfilec�R�[OV[O2P!)zR
Copy a regular file content using high-performance fcopyfile(3)
syscall (macOS).
)�posixr�_COPYFILE_DATArs&&rrr7s��
	����u�/C�/C�Dr�copy_file_rangec�x�[U2o]o[OVUUQ5oU]6XcP!V4*
oJ-)z�
Copy data from one regular mmap-like fd to another by using a
high-performance copy_file_range(2) syscall that gives filesystems
an opportunity to implement the use of reflinks or server-side
copy.
This should work on Linux >= 4.5 only.
)�
offset_dst)rrr�rrr�offset�sents&&   r�_copy_file_ranger$Bs>��(�	�2�	�����%�%�i�I�17�9�D��q�y���N�Fr�sendfilec�t�[U2o]o[OVV22oU]6XcP!V4*
oJ+)z�Copy data from one regular mmap-like fd to another by using
high-performance sendfile(2) syscall.
This should work on Linux >= 2.6.33 only.
)rrr%r!s&&   r�	_sendfiler'Ws7��
(�	�2�	�����;�;�y�V�G�D��q�y���N�Fr�	CopyFile2c�6�[OV]2P!)z?
Copy from one file to another using CopyFile2 (Windows only).
)�_winapir()�source�targets&&r�	copyfile2r-hs��	���&�!�,rc���UO2oUO2o[%c[V#2P![%c[V#2P![%c[V#2P![%c[V#2P!UO$oUO&oUQ29o%cUU2JP![c2oSO[[
[[17cSgPo=K�Po=hh9h[c(oSO[[17cSgPo=K�Po=hh9h[c(oSO[[17cSgPo=K�Po=hh9h[c#oSO[6wcSgPo=CKPo=hh9h[c*oSOSmSOSmSgPo=hh9h["cCKRh9h)zH
Copy data from file-like object source_f to file-like object target_f.
i)�filenorr	�errno�EBADF�
EOPNOTSUPP�ETXTBSY�EXDEVr�EINVAL�ENOTSUPr$r'�ENOTSOCK�name�filename�	filename2�	Exception�read�write)�source_f�target_frr�err�read_source�write_target�bufs&&      r�copyfileobjrDqs���*��O�O�%�	��O�O�%�	�$	��x�"��Y�2���z�"��y�4�� ��"�$�Y�:���y�"��i�3����-�-�K��>�>�L��[�)�
)�#�
)��S��*��G�"��y�y��
�G�U�(K�K�!�	�L��"���"��y�y���(9�9�!�	�:��"���"��y�y��%�(8�8�!�	�9��"���"��y�y�H�,�!�	�-��"���	�#�=�=�C�L�$�M�M�C�M��I��		��G�
��
�s� G�F�C�F�D�F�%D5�2F�?E*�	C=�C=�$C8�1C8�3F�8C=�=F�	D2�
D2�D-�&D-�(F�-D2�2F�5	E'�?E'�E"�E"�F�"E'�'F�*	F�4F�5F�
F�F�F�F�	G�$G�%$G	�	G�	G �G �G c��[U2oUOoUU2![cSOo[	SQ02Pgh9h)z can't be opened for reading)�type�__open_reader__�AttributeError�__name__�	TypeError)�obj�cls�open_reader�cls_names&   r�_open_readerrO�sY��
�s�)�C� ��)�)��
�3����	�M��<�<���8�*�$@�A�B��L�M���"�	A	�A	c��[U2oUOoUV2![cSOo[	SQ02Pgh9h)z can't be opened for writing)rF�__open_writer__rHrIrJ)rK�moderL�open_writerrNs&&   r�_open_writerrU�sY��
�s�)�C�&��)�)��
�3�%�%��	�M��<�<���8�*�$@�A�B��L�M�rPc��[U2oUOoUV2![cSOo[	SQ02Pgh9h)z can't be opened for updating)rF�__open_updater__rHrIrJ)rKrSrL�open_updaterrNs&&   r�
_open_updaterrY�sY��
�s�)�C�'��+�+��
�C�&�&��	�N��<�<���8�*�$A�B�C��M�N�rPc��UP6wc[Q2gQU7oU%c[U2o[VV#VE2![cLh9hS%f.Sd[Q2gSd[Q2gSd[Q2gPO	[QS222oSQ6Xc
[
S2oL;SQ	7c
[X2oL(SQ
7c[X]*2oL[QS02gS%c
[XsXE2oS!)a
Open the file pointed to by this path and return a file object, as
the built-in open() function does.

Unlike the built-in open() function, this function additionally accepts
'openable' objects, which are objects with any of these special methods:

    __open_reader__()
    __open_writer__(mode)
    __open_updater__(mode)

'__open_reader__' is called for 'r' mode; '__open_writer__' for 'a', 'w'
and 'x' modes; and '__open_updater__' for 'r+' and 'w+' modes. If text
mode is requested, the result is wrapped in an io.TextIOWrapper object.
zbuffer size can't be customized�bz-binary mode doesn't take an encoding argumentz+binary mode doesn't take an errors argumentz+binary mode doesn't take a newline argumentc3�B�SF �DpQ7fJUw�	J	P!3h)�bt�)�.0�cs& r�	<genexpr>�vfsopen.<locals>.<genexpr>�s��T���T��d�]�!�!�T�s���rzinvalid mode: )�a�w�x)z+rz+w)
�
ValueErrorr�openrJ�join�sortedrOrUrYr)rKrS�	buffering�encoding�errors�newline�text�streams&&&&&&  r�vfsopenrq�s��"�B���:�;�;��d�?�D��!��*��
��C�y�F�D�D���
��
������L�M�M����J�K�K����J�K�K�
�7�7�6�;�T�;�;�<�D��s�{��c�"��	
��	 ��c�(��	
��	��s��G�,���>�$��0�1�1���v��A���Ms�:�	A�A�Ac��[U2oUOoUU2![cSOo[	QS02Pgh9h)z<
Return the string representation of a virtual path object.
z"expected JoinablePath object, not )rF�__vfspath__rHrIrJ)rKrL�vfspath_methodrNs&   r�vfspathru�sY���s�)�C�#�����
�c�"�"��	�S��<�<���<�X�J�G�H�d�R�S�rPc��V6Xc[[Q2oL#VO7c[[Q2oLP![U2Um[U2UmUg)z>
Raise OSError(EINVAL) if the other path is within this path.
z#Source and target are the same pathz&Source path is a parent of target path)r	r5�parentsrur9r:)r+r,r@s&& r�ensure_distinct_pathsrxsL�����f�C�D��	�>�>�	!��f�F�G����6�?�C�L��F�O�C�M�

�Irc�P�UOOoUOOoU2U26wcP![[
Q2o[
U2Um[
U2UmUg[[1cP!h9h[c
X6wcP!K`h9h)z=
Raise OSError(EINVAL) if both paths refer to the same file.
z#Source and target are the same file)	�info�_file_idr	rgrHr5rur9r:)r+r,�source_file_id�target_file_idr@s&&   r�ensure_different_filesr~s�������-�-�����-�-��
	���>�#3�3��4��&�?�
@�C��6�?�C�L��F�O�C�M�

�I����$�	��	���������s.�,B�A6�6B�B�
B�	B%�B%�$B%)rc���NNN)�__doc__r0�iorrrr
r�ImportErrorrr*r�hasattrrrr$r'r-rDrOrUrYrqrurxr~r^rr�<module>r�s0����+�	�
�������
�&	�W�U�I�
&�
&�9��H�	�W�U�L�
)�
)�E��J��2� �!�!��"���2�z�����I��w�w��,�,�-��I�4�n �&�'�.�b#��(��c���E������E������G��sE�C�C�C&�C�C�C�C#�C#�"C#�&C2�,C2�1C2

Youez - 2016 - github.com/yon3zu
LinuXploit