https://t.me/RX1948
Server : nginx/1.24.0
System : Linux ip-172-31-33-48 6.14.0-1011-aws #11~24.04.1-Ubuntu SMP Fri Aug 1 02:07:25 UTC 2025 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
Directory :  /lib/python3/dist-packages/botocore/retries/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/botocore/retries/__pycache__/throttling.cpython-312.pyc
�

P��e���:�ddlmZedgd��ZGd�d�Zy)�)�
namedtuple�CubicParams��w_max�k�	last_failc�8�eZdZdZdZeefd�Zd�Zd�Zd�Zd�Z	y)	�CubicCalculatorg�������?gffffff�?c�f�||_||_||_|j�|_||_y�N)�_w_max�_scale_constant�_beta�_calculate_zero_point�_k�
_last_fail)�self�starting_max_rate�
start_time�scale_constant�betas     �=/usr/lib/python3/dist-packages/botocore/retries/throttling.py�__init__zCubicCalculator.__init__
s1��(���-�����
��,�,�.���$���c�b�|jd|jz
z|jz}|dz}|S)N�gUUUUUU�?)r
rr)r�scaled_valuers   rrz%CubicCalculator._calculate_zero_points2�����q�4�:�:�~�6�$�:N�:N�N���W�%���rc�|�||jz
}|j||jz
dzz|jz}|S)N�)rrrr
)r�	timestamp�dt�new_rates    r�success_receivedz CubicCalculator.success_receiveds;��
����
(���'�'�2����<�A�*=�=����K���rc�f�||_|j�|_||_||jzSr)r
rrrr)r�current_rater s   r�error_receivedzCubicCalculator.error_received!s1��
#����,�,�.���#����d�j�j�(�(rc�Z�t|j|j|j��S)aXReturn a read-only object of the current cubic parameters.

        These parameters are intended to be used for debug/troubleshooting
        purposes.  These object is a read-only snapshot and cannot be used
        to modify the behavior of the CUBIC calculations.

        New parameters may be added to this object in the future.

        r)rr
rr)rs r�get_params_snapshotz#CubicCalculator.get_params_snapshot+s$����+�+����D�O�O�
�	
rN)
�__name__�
__module__�__qualname__�_SCALE_CONSTANT�_BETArrr#r&r(�rrr
r
s-���O��E�'�
�%��
�
)�
rr
N)�collectionsrrr
r.rr�<module>r0s��"���(C�D��1
�1
r

https://t.me/RX1948 - 2025