$58 GRAYBYTE WORDPRESS FILE MANAGER $41

SERVER : in-mum-web1330.main-hosting.eu #1 SMP Mon Feb 10 22:45:17 UTC 2025
SERVER IP : 93.127.173.11 | ADMIN IP 216.73.216.143
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/python37/lib64/python3.7/site-packages/psycopg2/__pycache__/

HOME
Current File : /opt/alt/python37/lib64/python3.7/site-packages/psycopg2/__pycache__//_lru_cache.cpython-37.pyc
B

*��]��@sHdZddlmZddlmZddlmZeddddd	g�Zddd�Zd
S)z�
LRU cache implementation for Python 2.7

Ported from http://code.activestate.com/recipes/578078/ and simplified for our
use (only support maxsize > 0 and positional arguments).
�)�
namedtuple)�update_wrapper)�RLock�	CacheInfo�hits�misses�maxsize�currsize�dcs�fdd�}|S)z�Least-recently-used cache decorator.

    Arguments to the cached function must be hashable.

    See:  http://en.wikipedia.org/wiki/Cache_algorithms#Least_Recently_Used

    cs�t��ddg�d\���j�t�t��	g}||ddg|dd�<|g�
d\�����
r\�
dkshtd�
������������	�
�
��fdd�}����	�
�fdd�}��	�
�fd	d
�}�|_||_||_t|��S)Nr)r�)rr��zmaxsize %s not supportedc
	sB|}�	�t�|�}|dk	rx�\}|\}}}}||�<||�<|�}||�<|�<||�<||�<��d7<|SWdQRX�
|�}�	���\}|�kr�n�����
kr�|}||�<||�<|�}�d<|�}	d|�<|�<�|	=|�|<n,|�}||||g}||�<|�<�|<��d7<WdQRX|S)Nrr�)
�args�key�link�rootZ	link_prevZ	link_next�result�lastZoldrootZoldkey)�HITS�KEY�MISSES�NEXT�PREV�RESULT�_len�cache�	cache_get�lockr�
nonlocal_root�stats�
user_functionr�F/opt/alt/python37/lib64/python3.7/site-packages/psycopg2/_lru_cache.py�wrapper&sB
z7lru_cache.<locals>.decorating_function.<locals>.wrapperc	s*��t�����t���SQRXdS)zReport cache statisticsN)�
_CacheInfo�lenr)rrrrrr rr"�
cache_infoVsz:lru_cache.<locals>.decorating_function.<locals>.cache_infoc	sH��:����d}||ddg|dd�<ddg�dd�<WdQRXdS)z$Clear the cache and cache statisticsrN)�clear)r)rrrr rr"�cache_clear[s
z;lru_cache.<locals>.decorating_function.<locals>.cache_clear)	�dict�getr%r�AssertionError�__wrapped__r&r(r)r!rr#r&r()r)
rrrrrrrrrrrr r!r"�decorating_functions$&0z&lru_cache.<locals>.decorating_functionr)rr-r)rr"�	lru_cachesQr.N)r
)	�__doc__�collectionsr�	functoolsr�	threadingrr$r.rrrr"�<module>s


Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
25 Jan 2024 4.26 PM
root / 996
0755
__init__.cpython-37.opt-1.pyc
3.306 KB
5 Apr 2023 3.15 PM
root / 996
0644
__init__.cpython-37.pyc
3.306 KB
5 Apr 2023 3.15 PM
root / 996
0644
_ipaddress.cpython-37.opt-1.pyc
1.989 KB
5 Apr 2023 3.15 PM
root / 996
0644
_ipaddress.cpython-37.pyc
1.989 KB
5 Apr 2023 3.15 PM
root / 996
0644
_json.cpython-37.opt-1.pyc
6.121 KB
5 Apr 2023 3.15 PM
root / 996
0644
_json.cpython-37.pyc
6.121 KB
5 Apr 2023 3.15 PM
root / 996
0644
_lru_cache.cpython-37.opt-1.pyc
2.627 KB
5 Apr 2023 3.15 PM
root / 996
0644
_lru_cache.cpython-37.pyc
2.627 KB
5 Apr 2023 3.15 PM
root / 996
0644
_range.cpython-37.opt-1.pyc
13.922 KB
5 Apr 2023 3.15 PM
root / 996
0644
_range.cpython-37.pyc
13.922 KB
5 Apr 2023 3.15 PM
root / 996
0644
compat.cpython-37.opt-1.pyc
0.42 KB
5 Apr 2023 3.15 PM
root / 996
0644
compat.cpython-37.pyc
0.42 KB
5 Apr 2023 3.15 PM
root / 996
0644
errorcodes.cpython-37.opt-1.pyc
12.22 KB
5 Apr 2023 3.15 PM
root / 996
0644
errorcodes.cpython-37.pyc
12.22 KB
5 Apr 2023 3.15 PM
root / 996
0644
errors.cpython-37.opt-1.pyc
0.47 KB
5 Apr 2023 3.15 PM
root / 996
0644
errors.cpython-37.pyc
0.47 KB
5 Apr 2023 3.15 PM
root / 996
0644
extensions.cpython-37.opt-1.pyc
6.363 KB
5 Apr 2023 3.15 PM
root / 996
0644
extensions.cpython-37.pyc
6.363 KB
5 Apr 2023 3.15 PM
root / 996
0644
extras.cpython-37.opt-1.pyc
41.788 KB
5 Apr 2023 3.15 PM
root / 996
0644
extras.cpython-37.pyc
41.788 KB
5 Apr 2023 3.15 PM
root / 996
0644
pool.cpython-37.opt-1.pyc
4.78 KB
5 Apr 2023 3.15 PM
root / 996
0644
pool.cpython-37.pyc
4.78 KB
5 Apr 2023 3.15 PM
root / 996
0644
sql.cpython-37.opt-1.pyc
14.683 KB
5 Apr 2023 3.15 PM
root / 996
0644
sql.cpython-37.pyc
14.683 KB
5 Apr 2023 3.15 PM
root / 996
0644
tz.cpython-37.opt-1.pyc
3.945 KB
5 Apr 2023 3.15 PM
root / 996
0644
tz.cpython-37.pyc
3.945 KB
5 Apr 2023 3.15 PM
root / 996
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF