Current File : //usr/local/apps/python3/lib/python3.11/test/__pycache__/test_audioop.cpython-311.opt-2.pyc |
�
�KeEq � �~ � d dl Z d dlmZ d dlZ ej d� � Zd� Zd� Zd� dD � � Zd� dD � � Z d � dD � � Z
d
ed d dd
dddd� � ed d dddddd� � ed d dddddd� � d�Zg d�Z G d� d ej
� � Zed!k r ej � � dS dS )"� N)�warnings_helper�audioopc �F � � d� � fd�|D � � � � S )N� c 3 �\ �K � | ]&}|� �t j d �� � V � �'dS )T��signedN)�to_bytes�sys� byteorder)�.0�v�widths ��;/usr/local/apps/python3/lib/python3.11/test/test_audioop.py� <genexpr>zpack.<locals>.<genexpr> s7 �� � � �P�P�a�A�J�J�u�c�m�D�J�A�A�P�P�P�P�P�Pr )�join�r �datas ` r �packr s* �� ��8�8�P�P�P�P�4�P�P�P�P�P�Pr c �\ � �� �� fd�t dt �� � � � � D � � S )Nc �t �� g | ]4}t � �||�z � t j d �� � ��5S )Tr )�int�
from_bytesr r )r
�ir r s ��r �
<listcomp>zunpack.<locals>.<listcomp> sJ �� � 1� 1� 1��
�N�N�4��1�u�9��-�s�}�T�N�J�J� 1� 1� 1r r )�range�lenr s ``r �unpackr sF ��� �1� 1� 1� 1� 1��1�c�$�i�i��/�/�1� 1� 1� 1r c � � i | ] }||d �d���
S ))r c �"