AnonSec Shell
Server IP : 85.193.89.191  /  Your IP : 3.21.44.71
Web Server : Apache
System : Linux 956367-cx40159.tmweb.ru 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
User : bitrix ( 600)
PHP Version : 8.1.27
Disable Function : NONE
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/979/cwd/proc/981/root/lib64/python2.7/site-packages/Crypto/Util/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /proc/979/cwd/proc/981/root/lib64/python2.7/site-packages/Crypto/Util/_number_new.pyo
�
�/�Oc@s�dZdddddgZddlZejdd	krZejd
d
krZddlTnd�Zd
�Zd�Zd�Ze	d�Z
dS(s$Id$t
ceil_shifttceil_divt	floor_divt
exact_log2t	exact_divi����Niii(t*cCs�t|ttf�s,t|ttf�rWtdt|�jt|�jf��nd|>d}||@r{||?dS||?SdS(s�Return ceil(n / 2**b) without performing any floating-point or division operations.

    This is done by right-shifting n by b bits and incrementing the result by 1
    if any '1' bits were shifted out.
    s&unsupported operand type(s): %r and %rliN(t
isinstancetinttlongt	TypeErrorttypet__name__(tntbtmask((s=/usr/lib64/python2.7/site-packages/Crypto/Util/_number_new.pyR"s,+
cCs�t|ttf�s,t|ttf�rWtdt|�jt|�jf��nt||�\}}|rz|dS|SdS(sDReturn ceil(a / b) without performing any floating-point operations.s&unsupported operand type(s): %r and %riN(RRRR	R
Rtdivmod(taR
tqtr((s=/usr/lib64/python2.7/site-packages/Crypto/Util/_number_new.pyR2s,+cCspt|ttf�s,t|ttf�rWtdt|�jt|�jf��nt||�\}}|S(Ns&unsupported operand type(s): %r and %r(RRRR	R
RR(RR
RR((s=/usr/lib64/python2.7/site-packages/Crypto/Util/_number_new.pyR>s,+cCs�t|ttf�s4tdt|�jf��nt|�}|dkr[td��nd}xI|dkr�|d@r�|dkr�td��n|d7}|dL}qdW|d8}|S(s~Find and return an integer i >= 0 such that num == 2**i.

    If no such integer exists, this function raises ValueError.
    sunsupported operand type: %ris/cannot compute logarithm of non-positive numberisNo solution could be found(RRRR	R
Rt
ValueError(tnumRti((s=/usr/lib64/python2.7/site-packages/Crypto/Util/_number_new.pyREs

cCs�t|ttf�s,t|ttf�rWtdt|�jt|�jf��n|dkr�|r�d}|||kr�td��q�n0t||�\}}|dkr�td��n|S(sFind and return an integer n such that p == n * d

    If no such integer exists, this function raises ValueError.

    Both operands must be integers.

    If the second operand is zero, this function will raise ZeroDivisionError
    unless allow_divzero is true (default: False).
    s&unsupported operand type(s): %r and %risNo solution could be found(RRRR	R
RRR(tptdt
allow_divzeroRR((s=/usr/lib64/python2.7/site-packages/Crypto/Util/_number_new.pyR]s,+(t__revision__t__all__tsystversion_infotCrypto.Util.py21compatRRRRtFalseR(((s=/usr/lib64/python2.7/site-packages/Crypto/Util/_number_new.pyt<module>s&
				

Anon7 - 2022
AnonSec Team