HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //lib/python3.6/site-packages/tuned/profiles/functions/__pycache__/base.cpython-36.opt-1.pyc
3

�<�e�@s:ddlZddlZddlmZejj�ZGdd�de�Z	dS)�N)�commandsc@s0eZdZdZd	dd�Zed
dd��Zdd�ZdS)�Functionz
	Built-in function
	NcCs||_||_||_t�|_dS)N)�_name�
_nargs_max�
_nargs_minrZ_cmd)�self�name�	nargs_max�	nargs_min�r�/usr/lib/python3.6/base.py�__init__szFunction.__init__cCs<|dks|dkrdSt|�}|dks,||ko:|dkp:||kS)NFr)�len)�cls�argsr	r
Zlarrr�_check_argsszFunction._check_argscCs*|j||j|j�rdStjd|j�dS)NTz5invalid number of arguments for builtin function '%s'F)rrr�log�errorr)rrrrr�executeszFunction.execute)N)N)�__name__�
__module__�__qualname__�__doc__r
�classmethodrrrrrrrs

r)
�osZ
tuned.logsZtunedZtuned.utils.commandsrZlogs�getr�objectrrrrr�<module>s