[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.138.174.53: ~ $


<_9Y�@s6ddlZddlmZGdd�de�ZdS)�N�)�MachineStatec@sdeZdZdZdd�Zdd�Zdd�Zdd	�Zd
d�Ze	dd
��Z
dS)�CodingStateMachinea�
    A state machine to verify a byte sequence for a particular encoding. For
    each byte the detector receives, it will feed that byte to every active
    state machine available, one byte at a time. The state machine changes its
    state based on its previous state and the byte it receives. There are 3
    states in a state machine that are of interest to an auto-detector:

    START state: This is the state to start with, or a legal byte sequence
                 (i.e. a valid code point) for character has been identified.

    ME state:  This indicates that the state machine identified a byte sequence
               that is specific to the charset it is designed for and that
               there is no other possible encoding which can contain this byte
               sequence. This will to lead to an immediate positive answer for
               the detector.

    ERROR state: This indicates the state machine identified an illegal byte
                 sequence for that encoding. This will lead to an immediate
                 negative answer for this encoding. Detector will exclude this
                 encoding from consideration from here on.
    cCsD||_d|_d|_d|_tjt�|_|j�dS)Nr)	�_model�_curr_byte_pos�_curr_char_len�_curr_state�logging�	getLogger�__name__�logger�reset)�selfZsm�r�/codingstatemachine.py�__init__7s				zCodingStateMachine.__init__cCstj|_dS)N)r�STARTr)rrrrr
?szCodingStateMachine.resetcCs�|jd|}|jtjkr@d|_|jd||_|j|jd|}|jd||_|jd7_|jS)NZclass_tablerZchar_len_tableZclass_factorZstate_tabler)rrrrrr)r�cZ
byte_classZ
curr_staterrr�
next_stateBs	zCodingStateMachine.next_statecCs|jS)N)r)rrrr�get_current_charlenPsz&CodingStateMachine.get_current_charlencCs|jdS)N�name)r)rrrr�get_coding_state_machineSsz+CodingStateMachine.get_coding_state_machinecCs|jdS)N�language)r)rrrrrVszCodingStateMachine.languageN)r�
__module__�__qualname__�__doc__rr
rrr�propertyrrrrrr!sr)r	Zenumsr�objectrrrrr�<module>s

Filemanager

Name Type Size Permission Actions
__init__.cpython-35.opt-1.pyc File 799 B 0644
__init__.cpython-35.pyc File 799 B 0644
big5freq.cpython-35.opt-1.pyc File 53.36 KB 0644
big5freq.cpython-35.pyc File 53.36 KB 0644
big5prober.cpython-35.opt-1.pyc File 1.04 KB 0644
big5prober.cpython-35.pyc File 1.04 KB 0644
chardistribution.cpython-35.opt-1.pyc File 6.45 KB 0644
chardistribution.cpython-35.pyc File 6.45 KB 0644
charsetgroupprober.cpython-35.opt-1.pyc File 2.27 KB 0644
charsetgroupprober.cpython-35.pyc File 2.27 KB 0644
charsetprober.cpython-35.opt-1.pyc File 3.46 KB 0644
charsetprober.cpython-35.pyc File 3.46 KB 0644
codingstatemachine.cpython-35.opt-1.pyc File 2.82 KB 0644
codingstatemachine.cpython-35.pyc File 2.82 KB 0644
compat.cpython-35.opt-1.pyc File 293 B 0644
compat.cpython-35.pyc File 293 B 0644
cp949prober.cpython-35.opt-1.pyc File 1.05 KB 0644
cp949prober.cpython-35.pyc File 1.05 KB 0644
enums.cpython-35.opt-1.pyc File 2.59 KB 0644
enums.cpython-35.pyc File 2.59 KB 0644
escprober.cpython-35.opt-1.pyc File 2.65 KB 0644
escprober.cpython-35.pyc File 2.65 KB 0644
escsm.cpython-35.opt-1.pyc File 7.63 KB 0644
escsm.cpython-35.pyc File 7.63 KB 0644
eucjpprober.cpython-35.opt-1.pyc File 2.45 KB 0644
eucjpprober.cpython-35.pyc File 2.45 KB 0644
euckrfreq.cpython-35.opt-1.pyc File 23.46 KB 0644
euckrfreq.cpython-35.pyc File 23.46 KB 0644
euckrprober.cpython-35.opt-1.pyc File 1.05 KB 0644
euckrprober.cpython-35.pyc File 1.05 KB 0644
euctwfreq.cpython-35.opt-1.pyc File 53.36 KB 0644
euctwfreq.cpython-35.pyc File 53.36 KB 0644
euctwprober.cpython-35.opt-1.pyc File 1.05 KB 0644
euctwprober.cpython-35.pyc File 1.05 KB 0644
gb2312freq.cpython-35.opt-1.pyc File 37.39 KB 0644
gb2312freq.cpython-35.pyc File 37.39 KB 0644
gb2312prober.cpython-35.opt-1.pyc File 1.05 KB 0644
gb2312prober.cpython-35.pyc File 1.05 KB 0644
hebrewprober.cpython-35.opt-1.pyc File 3.06 KB 0644
hebrewprober.cpython-35.pyc File 3.06 KB 0644
jisfreq.cpython-35.opt-1.pyc File 43.39 KB 0644
jisfreq.cpython-35.pyc File 43.39 KB 0644
jpcntx.cpython-35.opt-1.pyc File 24.15 KB 0644
jpcntx.cpython-35.pyc File 24.15 KB 0644
langbulgarianmodel.cpython-35.opt-1.pyc File 24.25 KB 0644
langbulgarianmodel.cpython-35.pyc File 24.25 KB 0644
langcyrillicmodel.cpython-35.opt-1.pyc File 29.78 KB 0644
langcyrillicmodel.cpython-35.pyc File 29.78 KB 0644
langgreekmodel.cpython-35.opt-1.pyc File 23.94 KB 0644
langgreekmodel.cpython-35.pyc File 23.94 KB 0644
langhebrewmodel.cpython-35.opt-1.pyc File 22.79 KB 0644
langhebrewmodel.cpython-35.pyc File 22.79 KB 0644
langhungarianmodel.cpython-35.opt-1.pyc File 24.23 KB 0644
langhungarianmodel.cpython-35.pyc File 24.23 KB 0644
langthaimodel.cpython-35.opt-1.pyc File 22.77 KB 0644
langthaimodel.cpython-35.pyc File 22.77 KB 0644
langturkishmodel.cpython-35.opt-1.pyc File 22.79 KB 0644
langturkishmodel.cpython-35.pyc File 22.79 KB 0644
latin1prober.cpython-35.opt-1.pyc File 3.15 KB 0644
latin1prober.cpython-35.pyc File 3.15 KB 0644
mbcharsetprober.cpython-35.opt-1.pyc File 2.26 KB 0644
mbcharsetprober.cpython-35.pyc File 2.26 KB 0644
mbcsgroupprober.cpython-35.opt-1.pyc File 1.06 KB 0644
mbcsgroupprober.cpython-35.pyc File 1.06 KB 0644
mbcssm.cpython-35.opt-1.pyc File 18.36 KB 0644
mbcssm.cpython-35.pyc File 18.36 KB 0644
sbcharsetprober.cpython-35.opt-1.pyc File 3.06 KB 0644
sbcharsetprober.cpython-35.pyc File 3.06 KB 0644
sbcsgroupprober.cpython-35.opt-1.pyc File 1.6 KB 0644
sbcsgroupprober.cpython-35.pyc File 1.6 KB 0644
sjisprober.cpython-35.opt-1.pyc File 2.48 KB 0644
sjisprober.cpython-35.pyc File 2.48 KB 0644
universaldetector.cpython-35.opt-1.pyc File 6.19 KB 0644
universaldetector.cpython-35.pyc File 6.19 KB 0644
utf8prober.cpython-35.opt-1.pyc File 1.96 KB 0644
utf8prober.cpython-35.pyc File 1.96 KB 0644
version.cpython-35.opt-1.pyc File 351 B 0644
version.cpython-35.pyc File 351 B 0644