HEX
Server: Apache
System: Linux dinesh8189 5.15.98-grsec-sharedvalley-2.lc.el8.x86_64 #1 SMP Thu Mar 9 09:07:30 -03 2023 x86_64
User: cgmgerenciamento1 (814285)
PHP: 8.1.26
Disabled: apache_child_terminate,dl,escapeshellarg,escapeshellcmd,exec,link,mail,openlog,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,php_check_syntax,php_strip_whitespace,popen,proc_close,proc_open,shell_exec,symlink,system
Upload Files
File: //lib/python3.6/site-packages/chardet/__pycache__/utf8prober.cpython-36.pyc
3

��X�
�@sHddlmZddlmZmZddlmZddlmZGdd�de�Z	dS)�)�
CharSetProber)�ProbingState�MachineState)�CodingStateMachine)�
UTF8_SM_MODELcsTeZdZdZ�fdd�Z�fdd�Zedd��Zedd	��Zd
d�Z	dd
�Z
�ZS)�
UTF8Proberg�?cs*tt|�j�tt�|_d|_|j�dS)N)�superr�__init__rr�	coding_sm�
_num_mb_chars�reset)�self)�	__class__�� /usr/lib/python3.6/utf8prober.pyr	&s
zUTF8Prober.__init__cs"tt|�j�|jj�d|_dS)N�)rrrr
r)r
)rrrr,s
zUTF8Prober.resetcCsdS)Nzutf-8r)r
rrr�charset_name1szUTF8Prober.charset_namecCsdS)N�r)r
rrr�language5szUTF8Prober.languagecCs�xj|D]b}|jj|�}|tjkr,tj|_Pq|tjkrBtj|_Pq|tj	kr|jj
�dkr|jd7_qW|jtj
kr�|j�|jkr�tj|_|jS)N�r)r
Z
next_staterZERRORrZNOT_MEZ_stateZITS_MEZFOUND_ITZSTARTZget_current_charlenr�stateZ	DETECTING�get_confidenceZSHORTCUT_THRESHOLD)r
Zbyte_str�cZcoding_staterrr�feed9s



zUTF8Prober.feedcCs.d}|jdkr&||j|j9}d|S|SdS)Ng�G�z��?�g�?)r�
ONE_CHAR_PROB)r
ZunlikerrrrLs

zUTF8Prober.get_confidence)�__name__�
__module__�__qualname__rr	r�propertyrrrr�
__classcell__rr)rrr#srN)
Z
charsetproberrZenumsrrZcodingstatemachinerZmbcssmrrrrrr�<module>s