403Webshell
Server IP : 217.160.0.64  /  Your IP : 216.73.216.182
Web Server : Apache
System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User : ws67269618 ( 67269618)
PHP Version : 8.4.28
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /kunden/kunden/usr/lib/python3/dist-packages/breezy/bzr/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /kunden/kunden/usr/lib/python3/dist-packages/breezy/bzr/__pycache__/recordcounter.cpython-313.pyc
�

p��g_���Sr"SS5rg)z?Record counting support for showing progress of revision fetch.c�:�\rSrSrSrSrSrSrS
SjrSr	Sr
g	)�
RecordCounter�z�Container for maintains estimates of work requires for fetch.

Instance of this class is used along with a progress bar to provide
the user an estimate of the amount of work pending for a fetch (push,
pull, branch, checkout) operation.
c�J�SUlSUlSUlSUlSUlg)NF��)�initialized�current�	key_count�max�STEP��selfs �:/usr/lib/python3/dist-packages/breezy/bzr/recordcounter.py�__init__�RecordCounter.__init__s(�� ��������������	�c��UR$)N)rr
s r�is_initialized�RecordCounter.is_initialized)s�����rc��[US-5$)zSEstimate the maximum amount of 'inserting stream' work.

This is just an estimate.
g������$@)�int)rr
s  r�
_estimate_max�RecordCounter._estimate_max,s��,�9�t�#�$�$rc�V�X lXlURU5UlSUlg)z�Setup RecordCounter with basic estimate of work pending.

Setup self.max and self.current to reflect the amount of work
pending for a fetch.
TN)r	r
rrr)rr
r	s   r�setup�RecordCounter.setupDs(����"���%�%�i�0�����rc��U=RU-
slURUR:�a U=RUR-
slgg)z{Increment self.current by count.

Apart from incrementing self.current by count, also ensure
that self.max > self.current.
N)r	rr
)r�counts  r�	increment�RecordCounter.incrementOs9��	
�������<�<�$�(�(�"��H�H����&�H�#r)rr	rr
rN)r)�__name__�
__module__�__qualname__�__firstlineno__�__doc__rrrrr�__static_attributes__�rrrrs ���� �%�0	 �'rrN)r%rr'rr�<module>r(s��"F�C'�C'r

Youez - 2016 - github.com/yon3zu
LinuXploit