PHP 8.2.30
Preview: util.py Size: 484 B
//opt/cloudlinux/venv/lib/python3.11/site-packages/lvestats/lib/chart/util.py

# coding=utf-8
#
# Copyright © Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2019 All Rights Reserved
#
# Licensed under CLOUD LINUX LICENSE AGREEMENT
# http://cloudlinux.com/docs/LICENSE.TXT
__author__ = 'shaman'


X_LEGEND_POINTS = 8.0
Y_LEGEND_POINTS = 5.0


def frange(start, stop, step=1):
    return list(xfrange(start, stop, step))


def xfrange(start, stop, step=1.0):
    i = start
    while i < stop:
        yield i
        i += step


__all__ = ['frange', 'xfrange']

Directory Contents

Dirs: 1 × Files: 8

Name Size Perms Modified Actions
- drwxr-xr-x 2026-03-05 22:36:53
Edit Download
4.36 KB lrw-r--r-- 2026-02-17 11:00:05
Edit Download
15.41 KB lrw-r--r-- 2026-02-17 11:00:05
Edit Download
7.38 KB lrw-r--r-- 2026-02-17 11:00:05
Edit Download
1.40 KB lrw-r--r-- 2026-02-17 11:00:05
Edit Download
3.14 KB lrw-r--r-- 2026-02-17 11:00:05
Edit Download
20.73 KB lrw-r--r-- 2026-02-17 11:00:05
Edit Download
484 B lrw-r--r-- 2026-02-17 11:00:05
Edit Download
19.80 KB lrw-r--r-- 2026-02-17 11:00:05
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).