o
�J�h�) � @ s� d Z ddlZddlZddlZddlZddlZddlZddlZejZ G dd� de
�ZG dd� de
�ZG dd� de �Z
G d d
� d
e
�Zdd
d�ZdS )zb
Fast cryptographic hash of Python objects, with a special case for fast
hashing of numpy arrays.
� Nc @ � e Zd ZdZdd� ZdS )�_ConsistentSetz\Class used to ensure the hash of Sets is preserved
whatever the order of its items.
c C s@ zt |�| _W d S ttjfy t dd� |D ��| _Y d S w )Nc s s � | ]}t |�V qd S �N��hash)�.0�e� r �LC:\pinokio\api\whisper-webui.git\app\env\lib\site-packages\joblib\hashing.py� <genexpr>% s � z*_ConsistentSet.__init__.<locals>.<genexpr>)�sortedZ _sequence� TypeError�decimal�InvalidOperation)�selfZset_sequencer r r
�__init__ s
�z_ConsistentSet.__init__N��__name__�
__module__�__qualname__�__doc__r r r r r
r s r c @ r )�_MyHashz5Class used to hash objects that won't normally picklec G s
|| _ d S r )�args)r r r r r
r + s
z_MyHash.__init__Nr r r r r
r ( s r c @ s� e Zd ZdZddd�Zddd�Zdd � Zd
d� Zdej fd
d�Z
ej�
� Ze
eee�<