GRAYBYTE WORDPRESS FILE MANAGER6693

Server IP : 149.255.58.128 / Your IP : 216.73.216.15
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /usr/lib64/python3.9/dbm/__pycache__/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /usr/lib64/python3.9/dbm/__pycache__//__init__.cpython-39.opt-1.pyc
a

�DOg��@s�dZgd�ZddlZddlZddlZddlZGdd�de�Zgd�Zda	iZ
eefZzddlm
Z
WneyzdZ
Yn0dd
d�Zdd
�Zedkr�ejdd�D]Zeee�p�de�q�dS)aNGeneric interface to all dbm clones.

Use

        import dbm
        d = dbm.open(file, 'w', 0o666)

The returned object is a dbm.gnu, dbm.ndbm or dbm.dumb object, dependent on the
type of database being opened (determined by the whichdb function) in the case
of an existing dbm. If the dbm does not exist and the create or new flag ('c'
or 'n') was specified, the dbm type will be determined by the availability of
the modules (tested in the above order).

It has the following interface (key and data are strings):

        d[key] = data   # store data at key (may override data at
                        # existing key)
        data = d[key]   # retrieve data at key (raise KeyError if no
                        # such key)
        del d[key]      # delete data stored at key (raises KeyError
                        # if no such key)
        flag = key in d # true if the key exists
        list = d.keys() # return a list of all existing keys (slow!)

Future versions may change the order in which implementations are
tested for existence, and add interfaces to other dbm-like
implementations.
)�open�whichdb�error�Nc@seZdZdS)rN)�__name__�
__module__�__qualname__�rr�$/usr/lib64/python3.9/dbm/__init__.pyr&sr)�dbm.gnu�dbm.ndbm�dbm.dumb)�ndbm�r�c	Cs�tdur\tD]>}zt|dgd�}Wnty8YqYn0tsB|a|t|<qts\tdt��d|vrlt|�nd}|dur�d|vs�d|vr�t}q�tdd��n:|d	kr�tdd
��n$|tvr�tdd�|���nt|}|�|||�S)a�Open or create database at path given by *file*.

    Optional argument *flag* can be 'r' (default) for read-only access, 'w'
    for read-write access of an existing database, 'c' for read-write access
    to a new or existing database, and 'n' for read-write access to a new
    database.

    Note: 'r' and 'w' fail if the database doesn't exist; 'c' creates it
    only if it doesn't exist; and 'n' always creates a new database.
    Nr)�fromlistzno dbm clone found; tried %s�n�crz=db file doesn't exist; use 'c' or 'n' flag to create a new db�zdb type could not be determinedz/db type is {0}, but the module is not available)	�_defaultmod�_names�
__import__�ImportError�_modulesrr�formatr)�file�flag�mode�name�mod�resultrrr	r5s0


�rcCsz6t�|dd�}|��t�|dd�}|��WdSty�z>t�|dd�}|��tdur�t�|�}|��WYdSWnty�Yn0Yn0zvt�|d�t�|d�j}|dkr�Wd	St�|dd�}z*|�d
�dvr�W|��Wd	SW|��n
|��0Wnt�y&Yn0zt�|d�}Wnt�yNYdS0|�|�d�}Wd�n1�sv0Y|dd
�}t	|�d
k�r�dSzt
�d|�\}Wnt
j�y�YdS0|dv�r�dSzt
�d|dd��\}Wnt
j�y
YdS0dS)auGuess which db package to use to open a db file.

    Return values:

    - None if the database file can't be read;
    - empty string if the file can be read but can't be recognized
    - the name of the dbm submodule (e.g. "ndbm" or "gnu") if recognized.

    Importing the given module may still fail, and opening the
    database using that module may still fail.
    z.pag�rbz.dirrz.dbNz.datrr�)�'�"��rz=l)iΚWi͚WiϚWr
���)
�ior�close�OSErrorr
�os�stat�st_size�read�len�struct�unpackr)�filename�f�d�sizeZs16�s�magicrrr	rbsd
�*
r�__main__r!ZUNKNOWN)rr)�__doc__�__all__r'r*r/�sys�	Exceptionrrrrr)�dbmr
rrrr�argvr1�printrrrr	�<module>s&

-Y

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
December 12 2024 22:42:25
0 / root
0755
__init__.cpython-39.opt-1.pyc
4.134 KB
December 12 2024 10:11:38
0 / root
0644
__init__.cpython-39.opt-2.pyc
2.236 KB
December 12 2024 10:11:38
0 / root
0644
__init__.cpython-39.pyc
4.134 KB
December 12 2024 10:11:38
0 / root
0644
dumb.cpython-39.opt-1.pyc
7.729 KB
December 12 2024 10:11:38
0 / root
0644
dumb.cpython-39.opt-2.pyc
6.47 KB
December 12 2024 10:11:38
0 / root
0644
dumb.cpython-39.pyc
7.729 KB
December 12 2024 10:11:38
0 / root
0644
gnu.cpython-39.opt-1.pyc
0.2 KB
December 12 2024 10:11:38
0 / root
0644
gnu.cpython-39.opt-2.pyc
0.141 KB
December 12 2024 10:11:38
0 / root
0644
gnu.cpython-39.pyc
0.2 KB
December 12 2024 10:11:38
0 / root
0644
ndbm.cpython-39.opt-1.pyc
0.199 KB
December 12 2024 10:11:38
0 / root
0644
ndbm.cpython-39.opt-2.pyc
0.141 KB
December 12 2024 10:11:38
0 / root
0644
ndbm.cpython-39.pyc
0.199 KB
December 12 2024 10:11:38
0 / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF