관리-도구
편집 파일: utf1632prober.cpython-38.pyc
U ʗRea � @ s, d dl mZ d dlmZ G dd� de�ZdS )� )� CharSetProber)�ProbingStatec s� e Zd ZdZdZdZ� fdd�Z� fdd�Zedd � �Z ed d� �Z dd � Zdd� Zdd� Z dd� Zdd� Zdd� Zdd� Zdd� Zdd� Zedd� �Zd d!� Z� ZS )"� UTF1632Proberad This class simply looks for occurrences of zero bytes, and infers whether the file is UTF16 or UTF32 (low-endian or big-endian) For instance, files looking like ( [nonzero] )+ have a good probability to be UTF32BE. Files looking like ( [nonzero] )+ may be guessed to be UTF16BE, and inversely for little-endian varieties. � g�G�z�?c sn t � �� d| _dgd | _dgd | _tj| _ddddg| _d| _ d| _ d| _d| _d| _ d| _| �� d S �N� � F)�super�__init__�position�zeros_at_mod�nonzeros_at_modr � DETECTING�_state�quad�invalid_utf16be�invalid_utf16le�invalid_utf32be�invalid_utf32le�'first_half_surrogate_pair_detected_16be�'first_half_surrogate_pair_detected_16le�reset��self�� __class__� ��/builddir/build/BUILDROOT/alt-python38-pip-22.2.1-2.el8.x86_64/opt/alt/python38/lib/python3.8/site-packages/pip/_vendor/chardet/utf1632prober.pyr '