Plan 9 from Bell Labs’s /usr/web/sources/contrib/stallion/root/sys/lib/python/lib/python2.5/site-packages/mercurial/base85.pyc

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


�
��@slddkZdZgZeD]ZeD]Zeeeq'q[ZhZd�Zed�Z	d�Z
dS(i�NsU0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz!#$%&()*+-;<=>?@^_`{|}~cCs+x$tt�D]\}}|t|<q
WdS(N(t	enumeratet	_b85charst_b85dec(titc((s?/sys/lib/python/lib/python2.5/site-packages/mercurial/base85.pyt	_mkb85decs
cCs�t|�}|d}|o|dd|7}nt|�d?}tid||�}did�|D��}|o|Sn|d}|o|d7}n||dd7}|| S(	sencode text in base85 formatitis>%dLtcssAx:|]3}t|ddt|ddt|dVqWdS(i�iUi9N(Rt
_b85chars2(t.0tword((s?/sys/lib/python/lib/python2.5/site-packages/mercurial/base85.pys	<genexpr>s	ii(tlentstructtunpacktjoin(ttexttpadtltrtlongstwordstouttolen((s?/sys/lib/python/lib/python2.5/site-packages/mercurial/base85.pyt	b85encodes


c		Cs{tpt�nt|�}g}x�tdt|�d�D]�}|||d!}d}xZt|�D]L\}}y|dt|}Wqgtj
otd||��qgXqgW|djotd|��n|i|�q=W|d}|oG|dd|9}|djo|d|d	d
?7}n||d<nti	dt|�|�}|o|d| }n|S(
sdecode base85-encoded textiiiUs#bad base85 character at position %dl�s+Base85 overflow in hunk starting at byte %dii�iii�s>%dL(
RRRtrangeRtKeyErrort
ValueErrortappendRtpack(	RRRRtchunktacctjRtcl((s?/sys/lib/python/lib/python2.5/site-packages/mercurial/base85.pyt	b85decode+s8



(RRt_[1]tatbRRRtFalseRR!(((s?/sys/lib/python/lib/python2.5/site-packages/mercurial/base85.pys<module>s2	

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.