✏️ 正在编辑: numbits.cpython-311.pyc
路径:
/opt/cloudlinux/venv/lib/python3.11/site-packages/coverage/__pycache__/numbits.cpython-311.pyc
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
� �|oi= � �z � d Z ddlmZ ddlZddlZddlmZ ddlmZm Z dd �Z dd �Zdd�Zdd�Z dd�Zdd�Zd d�ZdS )!a� Functions to manipulate packed binary representations of number sets. To save space, coverage stores sets of line numbers in SQLite using a packed binary representation called a numbits. A numbits is a set of positive integers. A numbits is stored as a blob in the database. The exact meaning of the bytes in the blobs should be considered an implementation detail that might change in the future. Use these functions to work with those binary blobs of data. � )�annotationsN)�zip_longest)�Iterable�List�nums� Iterable[int]�return�bytesc �� � t | � � dz dz }n# t $ r Y dS w xY wt |� � }| D ]}||dz xx d|dz z z cc<