HEX
Server: LiteSpeed
System: Linux ws4.angoweb.net 5.14.0-611.13.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 11 04:57:59 EST 2025 x86_64
User: tswangoe (2287)
PHP: 8.1.33
Disabled: show_source, system, shell_exec, passthru, exec, phpinfo, popen, proc_open
Upload Files
File: //proc/self/root/lib/python3.9/site-packages/redis/__pycache__/crc.cpython-39.pyc
a

��b��@s>ddlmZddlmZdZddgZefeeed�dd�ZdS)	�)�crc_hqx)�EncodedTi@�key_slot�REDIS_CLUSTER_HASH_SLOTS)�key�bucket�returncCsT|�d�}|dkrF|�d|d�}|dkrF||dkrF||d|�}t|d�|S)z�Calculate key slot for a given key.
    See Keys distribution model in https://redis.io/topics/cluster-spec
    :param key - bytes
    :param bucket - int
    �{����}�r)�findr)rr�start�end�r�-/usr/lib/python3.9/site-packages/redis/crc.pyrs
N)ZbinasciirZredis.typingrr�__all__�intrrrrr�<module>s