✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ premium290.web-hosting.com ​🇻​♯➤ 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2025

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 63.250.38.37 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.217.36
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /opt/cloudlinux/venv/lib/python3.11/site-packages/prometheus_client//context_managers.py
from __future__ import unicode_literals

from timeit import default_timer

from .decorator import decorate


class ExceptionCounter(object):
    def __init__(self, counter, exception):
        self._counter = counter
        self._exception = exception

    def __enter__(self):
        pass

    def __exit__(self, typ, value, traceback):
        if isinstance(value, self._exception):
            self._counter.inc()

    def __call__(self, f):
        def wrapped(func, *args, **kwargs):
            with self:
                return func(*args, **kwargs)

        return decorate(f, wrapped)


class InprogressTracker(object):
    def __init__(self, gauge):
        self._gauge = gauge

    def __enter__(self):
        self._gauge.inc()

    def __exit__(self, typ, value, traceback):
        self._gauge.dec()

    def __call__(self, f):
        def wrapped(func, *args, **kwargs):
            with self:
                return func(*args, **kwargs)

        return decorate(f, wrapped)


class Timer(object):
    def __init__(self, callback):
        self._callback = callback

    def _new_timer(self):
        return self.__class__(self._callback)

    def __enter__(self):
        self._start = default_timer()

    def __exit__(self, typ, value, traceback):
        # Time can go backwards.
        duration = max(default_timer() - self._start, 0)
        self._callback(duration)

    def __call__(self, f):
        def wrapped(func, *args, **kwargs):
            # Obtaining new instance of timer every time
            # ensures thread safety and reentrancy.
            with self._new_timer():
                return func(*args, **kwargs)

        return decorate(f, wrapped)


Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
25 Jun 2026 7.01 AM
root / root
0755
__pycache__
--
11 Feb 2026 8.04 AM
root / root
0755
bridge
--
11 Feb 2026 8.04 AM
root / root
0755
openmetrics
--
11 Feb 2026 8.04 AM
root / root
0755
twisted
--
11 Feb 2026 8.04 AM
root / root
0755
__init__.py
1.774 KB
20 Jan 2026 1.01 PM
root / root
0644
asgi.py
1.157 KB
20 Jan 2026 1.01 PM
root / root
0644
context_managers.py
1.651 KB
20 Jan 2026 1.01 PM
root / root
0644
core.py
0.874 KB
20 Jan 2026 1.01 PM
root / root
0644
decorator.py
15.432 KB
20 Jan 2026 1.01 PM
root / root
0644
exposition.py
14.925 KB
20 Jan 2026 1.01 PM
root / root
0644
gc_collector.py
1.424 KB
20 Jan 2026 1.01 PM
root / root
0644
metrics.py
21.664 KB
20 Jan 2026 1.01 PM
root / root
0644
metrics_core.py
11.603 KB
20 Jan 2026 1.01 PM
root / root
0644
mmap_dict.py
5.141 KB
20 Jan 2026 1.01 PM
root / root
0644
multiprocess.py
6.322 KB
20 Jan 2026 1.01 PM
root / root
0644
parser.py
7.086 KB
20 Jan 2026 1.01 PM
root / root
0644
platform_collector.py
1.694 KB
20 Jan 2026 1.01 PM
root / root
0644
process_collector.py
3.568 KB
20 Jan 2026 1.01 PM
root / root
0644
registry.py
5.231 KB
20 Jan 2026 1.01 PM
root / root
0644
samples.py
1.326 KB
20 Jan 2026 1.01 PM
root / root
0644
utils.py
0.606 KB
20 Jan 2026 1.01 PM
root / root
0644
values.py
3.746 KB
20 Jan 2026 1.01 PM
root / root
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF