GRAYBYTE WORDPRESS FILE MANAGER2308

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /opt/alt/python312/include/python3.12/cpython/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /opt/alt/python312/include/python3.12/cpython//dictobject.h
#ifndef Py_CPYTHON_DICTOBJECT_H
#  error "this header file must not be included directly"
#endif

typedef struct _dictkeysobject PyDictKeysObject;
typedef struct _dictvalues PyDictValues;

/* The ma_values pointer is NULL for a combined table
 * or points to an array of PyObject* for a split table
 */
typedef struct {
    PyObject_HEAD

    /* Number of items in the dictionary */
    Py_ssize_t ma_used;

    /* Dictionary version: globally unique, value change each time
       the dictionary is modified */
#ifdef Py_BUILD_CORE
    uint64_t ma_version_tag;
#else
    Py_DEPRECATED(3.12) uint64_t ma_version_tag;
#endif

    PyDictKeysObject *ma_keys;

    /* If ma_values is NULL, the table is "combined": keys and values
       are stored in ma_keys.

       If ma_values is not NULL, the table is split:
       keys are stored in ma_keys and values are stored in ma_values */
    PyDictValues *ma_values;
} PyDictObject;

PyAPI_FUNC(PyObject *) _PyDict_GetItem_KnownHash(PyObject *mp, PyObject *key,
                                       Py_hash_t hash);
PyAPI_FUNC(PyObject *) _PyDict_GetItemWithError(PyObject *dp, PyObject *key);
PyAPI_FUNC(PyObject *) _PyDict_GetItemIdWithError(PyObject *dp,
                                                  _Py_Identifier *key);
PyAPI_FUNC(PyObject *) _PyDict_GetItemStringWithError(PyObject *, const char *);
PyAPI_FUNC(PyObject *) PyDict_SetDefault(
    PyObject *mp, PyObject *key, PyObject *defaultobj);
PyAPI_FUNC(int) _PyDict_SetItem_KnownHash(PyObject *mp, PyObject *key,
                                          PyObject *item, Py_hash_t hash);
PyAPI_FUNC(int) _PyDict_DelItem_KnownHash(PyObject *mp, PyObject *key,
                                          Py_hash_t hash);
PyAPI_FUNC(int) _PyDict_DelItemIf(PyObject *mp, PyObject *key,
                                  int (*predicate)(PyObject *value));
PyAPI_FUNC(int) _PyDict_Next(
    PyObject *mp, Py_ssize_t *pos, PyObject **key, PyObject **value, Py_hash_t *hash);

/* Get the number of items of a dictionary. */
static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
    PyDictObject *mp;
    assert(PyDict_Check(op));
    mp = _Py_CAST(PyDictObject*, op);
    return mp->ma_used;
}
#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))

PyAPI_FUNC(int) _PyDict_Contains_KnownHash(PyObject *, PyObject *, Py_hash_t);
PyAPI_FUNC(int) _PyDict_ContainsId(PyObject *, _Py_Identifier *);
PyAPI_FUNC(PyObject *) _PyDict_NewPresized(Py_ssize_t minused);
PyAPI_FUNC(void) _PyDict_MaybeUntrack(PyObject *mp);
PyAPI_FUNC(int) _PyDict_HasOnlyStringKeys(PyObject *mp);
PyAPI_FUNC(Py_ssize_t) _PyDict_SizeOf(PyDictObject *);
PyAPI_FUNC(PyObject *) _PyDict_Pop(PyObject *, PyObject *, PyObject *);
#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)

/* Like PyDict_Merge, but override can be 0, 1 or 2.  If override is 0,
   the first occurrence of a key wins, if override is 1, the last occurrence
   of a key wins, if override is 2, a KeyError with conflicting key as
   argument is raised.
*/
PyAPI_FUNC(int) _PyDict_MergeEx(PyObject *mp, PyObject *other, int override);
PyAPI_FUNC(int) _PyDict_SetItemId(PyObject *dp, _Py_Identifier *key, PyObject *item);

PyAPI_FUNC(int) _PyDict_DelItemId(PyObject *mp, _Py_Identifier *key);
PyAPI_FUNC(void) _PyDict_DebugMallocStats(FILE *out);

/* _PyDictView */

typedef struct {
    PyObject_HEAD
    PyDictObject *dv_dict;
} _PyDictViewObject;

PyAPI_FUNC(PyObject *) _PyDictView_New(PyObject *, PyTypeObject *);
PyAPI_FUNC(PyObject *) _PyDictView_Intersect(PyObject* self, PyObject *other);

/* Dictionary watchers */

#define PY_FOREACH_DICT_EVENT(V) \
    V(ADDED)                     \
    V(MODIFIED)                  \
    V(DELETED)                   \
    V(CLONED)                    \
    V(CLEARED)                   \
    V(DEALLOCATED)

typedef enum {
    #define PY_DEF_EVENT(EVENT) PyDict_EVENT_##EVENT,
    PY_FOREACH_DICT_EVENT(PY_DEF_EVENT)
    #undef PY_DEF_EVENT
} PyDict_WatchEvent;

// Callback to be invoked when a watched dict is cleared, dealloced, or modified.
// In clear/dealloc case, key and new_value will be NULL. Otherwise, new_value will be the
// new value for key, NULL if key is being deleted.
typedef int(*PyDict_WatchCallback)(PyDict_WatchEvent event, PyObject* dict, PyObject* key, PyObject* new_value);

// Register/unregister a dict-watcher callback
PyAPI_FUNC(int) PyDict_AddWatcher(PyDict_WatchCallback callback);
PyAPI_FUNC(int) PyDict_ClearWatcher(int watcher_id);

// Mark given dictionary as "watched" (callback will be called if it is modified)
PyAPI_FUNC(int) PyDict_Watch(int watcher_id, PyObject* dict);
PyAPI_FUNC(int) PyDict_Unwatch(int watcher_id, PyObject* dict);

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
May 13 2025 08:38:42
root / linksafe
0755
abstract.h
7.686 KB
April 08 2025 11:35:47
root / linksafe
0644
bytearrayobject.h
1.136 KB
April 08 2025 11:35:47
root / linksafe
0644
bytesobject.h
4.322 KB
April 08 2025 11:35:47
root / linksafe
0644
cellobject.h
1.051 KB
April 08 2025 11:35:47
root / linksafe
0644
ceval.h
1.611 KB
April 08 2025 11:35:47
root / linksafe
0644
classobject.h
2.192 KB
April 08 2025 11:35:47
root / linksafe
0644
code.h
15.809 KB
April 08 2025 11:35:47
root / linksafe
0644
compile.h
2.598 KB
April 08 2025 11:35:47
root / linksafe
0644
complexobject.h
1.219 KB
April 08 2025 11:35:47
root / linksafe
0644
context.h
1.919 KB
April 08 2025 11:35:47
root / linksafe
0644
descrobject.h
1.604 KB
April 08 2025 11:35:47
root / linksafe
0644
dictobject.h
4.576 KB
April 08 2025 11:35:47
root / linksafe
0644
fileobject.h
0.799 KB
April 08 2025 11:35:47
root / linksafe
0644
fileutils.h
0.227 KB
April 08 2025 11:35:47
root / linksafe
0644
floatobject.h
0.879 KB
April 08 2025 11:35:47
root / linksafe
0644
frameobject.h
1.082 KB
April 08 2025 11:35:47
root / linksafe
0644
funcobject.h
7.02 KB
April 08 2025 11:35:47
root / linksafe
0644
genobject.h
3.238 KB
April 08 2025 11:35:47
root / linksafe
0644
import.h
1.585 KB
April 08 2025 11:35:47
root / linksafe
0644
initconfig.h
7.637 KB
April 08 2025 11:35:47
root / linksafe
0644
interpreteridobject.h
0.378 KB
April 08 2025 11:35:47
root / linksafe
0644
listobject.h
1.595 KB
April 08 2025 11:35:47
root / linksafe
0644
longintrepr.h
4.774 KB
April 08 2025 11:35:47
root / linksafe
0644
longobject.h
4.569 KB
April 08 2025 11:35:47
root / linksafe
0644
memoryobject.h
2.219 KB
April 08 2025 11:35:47
root / linksafe
0644
methodobject.h
2.223 KB
April 08 2025 11:35:47
root / linksafe
0644
modsupport.h
4.234 KB
April 08 2025 11:35:47
root / linksafe
0644
object.h
20.715 KB
April 08 2025 11:35:47
root / linksafe
0644
objimpl.h
3.238 KB
April 08 2025 11:35:47
root / linksafe
0644
odictobject.h
1.28 KB
April 08 2025 11:35:47
root / linksafe
0644
picklebufobject.h
0.828 KB
April 08 2025 11:35:47
root / linksafe
0644
pthread_stubs.h
3.423 KB
April 08 2025 11:35:47
root / linksafe
0644
pyctype.h
1.354 KB
April 08 2025 11:35:47
root / linksafe
0644
pydebug.h
1.38 KB
April 08 2025 11:35:47
root / linksafe
0644
pyerrors.h
4.176 KB
April 08 2025 11:35:47
root / linksafe
0644
pyfpe.h
0.434 KB
April 08 2025 11:35:47
root / linksafe
0644
pyframe.h
1.444 KB
April 08 2025 11:35:47
root / linksafe
0644
pylifecycle.h
3.343 KB
April 08 2025 11:35:47
root / linksafe
0644
pymem.h
3.3 KB
April 08 2025 11:35:47
root / linksafe
0644
pystate.h
16.824 KB
April 08 2025 11:35:47
root / linksafe
0644
pythonrun.h
4.788 KB
April 08 2025 11:35:47
root / linksafe
0644
pythread.h
1.385 KB
April 08 2025 11:35:47
root / linksafe
0644
pytime.h
12.111 KB
April 08 2025 11:35:47
root / linksafe
0644
setobject.h
2.096 KB
April 08 2025 11:35:47
root / linksafe
0644
sysmodule.h
0.478 KB
April 08 2025 11:35:47
root / linksafe
0644
traceback.h
0.434 KB
April 08 2025 11:35:47
root / linksafe
0644
tupleobject.h
1.345 KB
April 08 2025 11:35:47
root / linksafe
0644
unicodeobject.h
33.659 KB
April 08 2025 11:35:47
root / linksafe
0644
warnings.h
0.551 KB
April 08 2025 11:35:47
root / linksafe
0644
weakrefobject.h
1.984 KB
April 08 2025 11:35:47
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF