[ SYSTEM ]: Linux srv.persadacompanies.com 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
[ SERVER ]: Apache | PHP: 8.4.19
[ USER ]: persadamedika | IP: 45.64.1.108
GEFORCE FILE MANAGER
/
usr
/
include
/
python3.6m
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 Python-ast.h
22,274 B
SET
[ EDIT ]
|
[ DEL ]
📄 Python.h
3,221 B
SET
[ EDIT ]
|
[ DEL ]
📄 _hashopenssl.h
1,365 B
SET
[ EDIT ]
|
[ DEL ]
📄 abstract.h
47,451 B
SET
[ EDIT ]
|
[ DEL ]
📄 accu.h
1,016 B
SET
[ EDIT ]
|
[ DEL ]
📄 asdl.h
1,213 B
SET
[ EDIT ]
|
[ DEL ]
📄 ast.h
477 B
SET
[ EDIT ]
|
[ DEL ]
📄 bitset.h
792 B
SET
[ EDIT ]
|
[ DEL ]
📄 bltinmodule.h
264 B
SET
[ EDIT ]
|
[ DEL ]
📄 boolobject.h
886 B
SET
[ EDIT ]
|
[ DEL ]
📄 bytearrayobject.h
2,114 B
SET
[ EDIT ]
|
[ DEL ]
📄 bytes_methods.h
3,191 B
SET
[ EDIT ]
|
[ DEL ]
📄 bytesobject.h
8,363 B
SET
[ EDIT ]
|
[ DEL ]
📄 cellobject.h
701 B
SET
[ EDIT ]
|
[ DEL ]
📄 ceval.h
8,524 B
SET
[ EDIT ]
|
[ DEL ]
📄 classobject.h
1,666 B
SET
[ EDIT ]
|
[ DEL ]
📄 code.h
5,945 B
SET
[ EDIT ]
|
[ DEL ]
📄 codecs.h
6,793 B
SET
[ EDIT ]
|
[ DEL ]
📄 compile.h
2,164 B
SET
[ EDIT ]
|
[ DEL ]
📄 complexobject.h
1,807 B
SET
[ EDIT ]
|
[ DEL ]
📄 datetime.h
9,414 B
SET
[ EDIT ]
|
[ DEL ]
📄 descrobject.h
2,964 B
SET
[ EDIT ]
|
[ DEL ]
📄 dictobject.h
7,178 B
SET
[ EDIT ]
|
[ DEL ]
📄 dtoa.h
458 B
SET
[ EDIT ]
|
[ DEL ]
📄 dynamic_annotations.h
22,469 B
SET
[ EDIT ]
|
[ DEL ]
📄 enumobject.h
253 B
SET
[ EDIT ]
|
[ DEL ]
📄 errcode.h
1,497 B
SET
[ EDIT ]
|
[ DEL ]
📄 eval.h
597 B
SET
[ EDIT ]
|
[ DEL ]
📄 fileobject.h
1,651 B
SET
[ EDIT ]
|
[ DEL ]
📄 fileutils.h
3,524 B
SET
[ EDIT ]
|
[ DEL ]
📄 floatobject.h
4,794 B
SET
[ EDIT ]
|
[ DEL ]
📄 frameobject.h
3,530 B
SET
[ EDIT ]
|
[ DEL ]
📄 funcobject.h
4,079 B
SET
[ EDIT ]
|
[ DEL ]
📄 genobject.h
3,583 B
SET
[ EDIT ]
|
[ DEL ]
📄 graminit.h
1,966 B
SET
[ EDIT ]
|
[ DEL ]
📄 grammar.h
2,074 B
SET
[ EDIT ]
|
[ DEL ]
📄 import.h
4,233 B
SET
[ EDIT ]
|
[ DEL ]
📄 intrcheck.h
513 B
SET
[ EDIT ]
|
[ DEL ]
📄 iterobject.h
567 B
SET
[ EDIT ]
|
[ DEL ]
📄 listobject.h
2,900 B
SET
[ EDIT ]
|
[ DEL ]
📄 longintrepr.h
3,761 B
SET
[ EDIT ]
|
[ DEL ]
📄 longobject.h
9,830 B
SET
[ EDIT ]
|
[ DEL ]
📄 marshal.h
803 B
SET
[ EDIT ]
|
[ DEL ]
📄 memoryobject.h
2,765 B
SET
[ EDIT ]
|
[ DEL ]
📄 metagrammar.h
253 B
SET
[ EDIT ]
|
[ DEL ]
📄 methodobject.h
3,847 B
SET
[ EDIT ]
|
[ DEL ]
📄 modsupport.h
7,317 B
SET
[ EDIT ]
|
[ DEL ]
📄 moduleobject.h
2,285 B
SET
[ EDIT ]
|
[ DEL ]
📄 namespaceobject.h
349 B
SET
[ EDIT ]
|
[ DEL ]
📄 node.h
1,007 B
SET
[ EDIT ]
|
[ DEL ]
📄 object.h
42,203 B
SET
[ EDIT ]
|
[ DEL ]
📄 objimpl.h
14,244 B
SET
[ EDIT ]
|
[ DEL ]
📄 odictobject.h
1,288 B
SET
[ EDIT ]
|
[ DEL ]
📄 opcode.h
5,073 B
SET
[ EDIT ]
|
[ DEL ]
📄 osdefs.h
691 B
SET
[ EDIT ]
|
[ DEL ]
📄 osmodule.h
291 B
SET
[ EDIT ]
|
[ DEL ]
📄 parsetok.h
2,885 B
SET
[ EDIT ]
|
[ DEL ]
📄 patchlevel.h
1,128 B
SET
[ EDIT ]
|
[ DEL ]
📄 pgen.h
253 B
SET
[ EDIT ]
|
[ DEL ]
📄 pgenheaders.h
1,180 B
SET
[ EDIT ]
|
[ DEL ]
📄 py_curses.h
4,307 B
SET
[ EDIT ]
|
[ DEL ]
📄 pyarena.h
2,744 B
SET
[ EDIT ]
|
[ DEL ]
📄 pyatomic.h
8,128 B
SET
[ EDIT ]
|
[ DEL ]
📄 pycapsule.h
1,726 B
SET
[ EDIT ]
|
[ DEL ]
📄 pyconfig-64.h
44,622 B
SET
[ EDIT ]
|
[ DEL ]
📄 pyconfig.h
162 B
SET
[ EDIT ]
|
[ DEL ]
📄 pyctype.h
1,320 B
SET
[ EDIT ]
|
[ DEL ]
📄 pydebug.h
1,264 B
SET
[ EDIT ]
|
[ DEL ]
📄 pydtrace.h
1,970 B
SET
[ EDIT ]
|
[ DEL ]
📄 pyerrors.h
17,219 B
SET
[ EDIT ]
|
[ DEL ]
📄 pyexpat.h
2,450 B
SET
[ EDIT ]
|
[ DEL ]
📄 pyfpe.h
8,471 B
SET
[ EDIT ]
|
[ DEL ]
📄 pygetopt.h
410 B
SET
[ EDIT ]
|
[ DEL ]
📄 pyhash.h
4,139 B
SET
[ EDIT ]
|
[ DEL ]
📄 pylifecycle.h
4,078 B
SET
[ EDIT ]
|
[ DEL ]
📄 pymacconfig.h
2,989 B
SET
[ EDIT ]
|
[ DEL ]
📄 pymacro.h
3,500 B
SET
[ EDIT ]
|
[ DEL ]
📄 pymath.h
8,312 B
SET
[ EDIT ]
|
[ DEL ]
📄 pymem.h
8,557 B
SET
[ EDIT ]
|
[ DEL ]
📄 pyport.h
27,573 B
SET
[ EDIT ]
|
[ DEL ]
📄 pystate.h
11,146 B
SET
[ EDIT ]
|
[ DEL ]
📄 pystrcmp.h
436 B
SET
[ EDIT ]
|
[ DEL ]
📄 pystrhex.h
495 B
SET
[ EDIT ]
|
[ DEL ]
📄 pystrtod.h
1,483 B
SET
[ EDIT ]
|
[ DEL ]
📄 pythonrun.h
6,782 B
SET
[ EDIT ]
|
[ DEL ]
📄 pythread.h
2,992 B
SET
[ EDIT ]
|
[ DEL ]
📄 pytime.h
7,609 B
SET
[ EDIT ]
|
[ DEL ]
📄 rangeobject.h
629 B
SET
[ EDIT ]
|
[ DEL ]
📄 setobject.h
3,333 B
SET
[ EDIT ]
|
[ DEL ]
📄 sliceobject.h
2,485 B
SET
[ EDIT ]
|
[ DEL ]
📄 structmember.h
2,018 B
SET
[ EDIT ]
|
[ DEL ]
📄 structseq.h
1,353 B
SET
[ EDIT ]
|
[ DEL ]
📄 symtable.h
4,994 B
SET
[ EDIT ]
|
[ DEL ]
📄 sysmodule.h
1,355 B
SET
[ EDIT ]
|
[ DEL ]
📄 token.h
1,943 B
SET
[ EDIT ]
|
[ DEL ]
📄 traceback.h
3,644 B
SET
[ EDIT ]
|
[ DEL ]
📄 tupleobject.h
2,444 B
SET
[ EDIT ]
|
[ DEL ]
📄 typeslots.h
2,253 B
SET
[ EDIT ]
|
[ DEL ]
📄 ucnhash.h
1,056 B
SET
[ EDIT ]
|
[ DEL ]
📄 unicodeobject.h
81,779 B
SET
[ EDIT ]
|
[ DEL ]
📄 warnings.h
1,693 B
SET
[ EDIT ]
|
[ DEL ]
📄 weakrefobject.h
2,866 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: longobject.h
#ifndef Py_LONGOBJECT_H #define Py_LONGOBJECT_H #ifdef __cplusplus extern "C" { #endif /* Long (arbitrary precision) integer object interface */ typedef struct _longobject PyLongObject; /* Revealed in longintrepr.h */ PyAPI_DATA(PyTypeObject) PyLong_Type; #define PyLong_Check(op) \ PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS) #define PyLong_CheckExact(op) (Py_TYPE(op) == &PyLong_Type) PyAPI_FUNC(PyObject *) PyLong_FromLong(long); PyAPI_FUNC(PyObject *) PyLong_FromUnsignedLong(unsigned long); PyAPI_FUNC(PyObject *) PyLong_FromSize_t(size_t); PyAPI_FUNC(PyObject *) PyLong_FromSsize_t(Py_ssize_t); PyAPI_FUNC(PyObject *) PyLong_FromDouble(double); PyAPI_FUNC(long) PyLong_AsLong(PyObject *); PyAPI_FUNC(long) PyLong_AsLongAndOverflow(PyObject *, int *); PyAPI_FUNC(Py_ssize_t) PyLong_AsSsize_t(PyObject *); PyAPI_FUNC(size_t) PyLong_AsSize_t(PyObject *); PyAPI_FUNC(unsigned long) PyLong_AsUnsignedLong(PyObject *); PyAPI_FUNC(unsigned long) PyLong_AsUnsignedLongMask(PyObject *); #ifndef Py_LIMITED_API PyAPI_FUNC(int) _PyLong_AsInt(PyObject *); #endif PyAPI_FUNC(PyObject *) PyLong_GetInfo(void); /* It may be useful in the future. I've added it in the PyInt -> PyLong cleanup to keep the extra information. [CH] */ #define PyLong_AS_LONG(op) PyLong_AsLong(op) /* Issue #1983: pid_t can be longer than a C long on some systems */ #if !defined(SIZEOF_PID_T) || SIZEOF_PID_T == SIZEOF_INT #define _Py_PARSE_PID "i" #define PyLong_FromPid PyLong_FromLong #define PyLong_AsPid PyLong_AsLong #elif SIZEOF_PID_T == SIZEOF_LONG #define _Py_PARSE_PID "l" #define PyLong_FromPid PyLong_FromLong #define PyLong_AsPid PyLong_AsLong #elif defined(SIZEOF_LONG_LONG) && SIZEOF_PID_T == SIZEOF_LONG_LONG #define _Py_PARSE_PID "L" #define PyLong_FromPid PyLong_FromLongLong #define PyLong_AsPid PyLong_AsLongLong #else #error "sizeof(pid_t) is neither sizeof(int), sizeof(long) or sizeof(long long)" #endif /* SIZEOF_PID_T */ #if SIZEOF_VOID_P == SIZEOF_INT # define _Py_PARSE_INTPTR "i" # define _Py_PARSE_UINTPTR "I" #elif SIZEOF_VOID_P == SIZEOF_LONG # define _Py_PARSE_INTPTR "l" # define _Py_PARSE_UINTPTR "k" #elif defined(SIZEOF_LONG_LONG) && SIZEOF_VOID_P == SIZEOF_LONG_LONG # define _Py_PARSE_INTPTR "L" # define _Py_PARSE_UINTPTR "K" #else # error "void* different in size from int, long and long long" #endif /* SIZEOF_VOID_P */ /* Used by Python/mystrtoul.c, _PyBytes_FromHex(), _PyBytes_DecodeEscapeRecode(), etc. */ #ifndef Py_LIMITED_API PyAPI_DATA(unsigned char) _PyLong_DigitValue[256]; #endif /* _PyLong_Frexp returns a double x and an exponent e such that the true value is approximately equal to x * 2**e. e is >= 0. x is 0.0 if and only if the input is 0 (in which case, e and x are both zeroes); otherwise, 0.5 <= abs(x) < 1.0. On overflow, which is possible if the number of bits doesn't fit into a Py_ssize_t, sets OverflowError and returns -1.0 for x, 0 for e. */ #ifndef Py_LIMITED_API PyAPI_FUNC(double) _PyLong_Frexp(PyLongObject *a, Py_ssize_t *e); #endif PyAPI_FUNC(double) PyLong_AsDouble(PyObject *); PyAPI_FUNC(PyObject *) PyLong_FromVoidPtr(void *); PyAPI_FUNC(void *) PyLong_AsVoidPtr(PyObject *); PyAPI_FUNC(PyObject *) PyLong_FromLongLong(long long); PyAPI_FUNC(PyObject *) PyLong_FromUnsignedLongLong(unsigned long long); PyAPI_FUNC(long long) PyLong_AsLongLong(PyObject *); PyAPI_FUNC(unsigned long long) PyLong_AsUnsignedLongLong(PyObject *); PyAPI_FUNC(unsigned long long) PyLong_AsUnsignedLongLongMask(PyObject *); PyAPI_FUNC(long long) PyLong_AsLongLongAndOverflow(PyObject *, int *); PyAPI_FUNC(PyObject *) PyLong_FromString(const char *, char **, int); #ifndef Py_LIMITED_API PyAPI_FUNC(PyObject *) PyLong_FromUnicode(Py_UNICODE*, Py_ssize_t, int); PyAPI_FUNC(PyObject *) PyLong_FromUnicodeObject(PyObject *u, int base); PyAPI_FUNC(PyObject *) _PyLong_FromBytes(const char *, Py_ssize_t, int); #endif #ifndef Py_LIMITED_API /* _PyLong_Sign. Return 0 if v is 0, -1 if v < 0, +1 if v > 0. v must not be NULL, and must be a normalized long. There are no error cases. */ PyAPI_FUNC(int) _PyLong_Sign(PyObject *v); /* _PyLong_NumBits. Return the number of bits needed to represent the absolute value of a long. For example, this returns 1 for 1 and -1, 2 for 2 and -2, and 2 for 3 and -3. It returns 0 for 0. v must not be NULL, and must be a normalized long. (size_t)-1 is returned and OverflowError set if the true result doesn't fit in a size_t. */ PyAPI_FUNC(size_t) _PyLong_NumBits(PyObject *v); /* _PyLong_DivmodNear. Given integers a and b, compute the nearest integer q to the exact quotient a / b, rounding to the nearest even integer in the case of a tie. Return (q, r), where r = a - q*b. The remainder r will satisfy abs(r) <= abs(b)/2, with equality possible only if q is even. */ PyAPI_FUNC(PyObject *) _PyLong_DivmodNear(PyObject *, PyObject *); /* _PyLong_FromByteArray: View the n unsigned bytes as a binary integer in base 256, and return a Python int with the same numeric value. If n is 0, the integer is 0. Else: If little_endian is 1/true, bytes[n-1] is the MSB and bytes[0] the LSB; else (little_endian is 0/false) bytes[0] is the MSB and bytes[n-1] the LSB. If is_signed is 0/false, view the bytes as a non-negative integer. If is_signed is 1/true, view the bytes as a 2's-complement integer, non-negative if bit 0x80 of the MSB is clear, negative if set. Error returns: + Return NULL with the appropriate exception set if there's not enough memory to create the Python int. */ PyAPI_FUNC(PyObject *) _PyLong_FromByteArray( const unsigned char* bytes, size_t n, int little_endian, int is_signed); /* _PyLong_AsByteArray: Convert the least-significant 8*n bits of long v to a base-256 integer, stored in array bytes. Normally return 0, return -1 on error. If little_endian is 1/true, store the MSB at bytes[n-1] and the LSB at bytes[0]; else (little_endian is 0/false) store the MSB at bytes[0] and the LSB at bytes[n-1]. If is_signed is 0/false, it's an error if v < 0; else (v >= 0) n bytes are filled and there's nothing special about bit 0x80 of the MSB. If is_signed is 1/true, bytes is filled with the 2's-complement representation of v's value. Bit 0x80 of the MSB is the sign bit. Error returns (-1): + is_signed is 0 and v < 0. TypeError is set in this case, and bytes isn't altered. + n isn't big enough to hold the full mathematical value of v. For example, if is_signed is 0 and there are more digits in the v than fit in n; or if is_signed is 1, v < 0, and n is just 1 bit shy of being large enough to hold a sign bit. OverflowError is set in this case, but bytes holds the least-significant n bytes of the true value. */ PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v, unsigned char* bytes, size_t n, int little_endian, int is_signed); /* _PyLong_FromNbInt: Convert the given object to a PyLongObject using the nb_int slot, if available. Raise TypeError if either the nb_int slot is not available or the result of the call to nb_int returns something not of type int. */ PyAPI_FUNC(PyLongObject *)_PyLong_FromNbInt(PyObject *); /* _PyLong_Format: Convert the long to a string object with given base, appending a base prefix of 0[box] if base is 2, 8 or 16. */ PyAPI_FUNC(PyObject *) _PyLong_Format(PyObject *obj, int base); PyAPI_FUNC(int) _PyLong_FormatWriter( _PyUnicodeWriter *writer, PyObject *obj, int base, int alternate); PyAPI_FUNC(char*) _PyLong_FormatBytesWriter( _PyBytesWriter *writer, char *str, PyObject *obj, int base, int alternate); /* Format the object based on the format_spec, as defined in PEP 3101 (Advanced String Formatting). */ PyAPI_FUNC(int) _PyLong_FormatAdvancedWriter( _PyUnicodeWriter *writer, PyObject *obj, PyObject *format_spec, Py_ssize_t start, Py_ssize_t end); #endif /* Py_LIMITED_API */ /* These aren't really part of the int object, but they're handy. The functions are in Python/mystrtoul.c. */ PyAPI_FUNC(unsigned long) PyOS_strtoul(const char *, char **, int); PyAPI_FUNC(long) PyOS_strtol(const char *, char **, int); #ifndef Py_LIMITED_API /* For use by the gcd function in mathmodule.c */ PyAPI_FUNC(PyObject *) _PyLong_GCD(PyObject *, PyObject *); #endif /* !Py_LIMITED_API */ #ifdef Py_BUILD_CORE /* * Default int base conversion size limitation: Denial of Service prevention. * * Chosen such that this isn't wildly slow on modern hardware and so that * everyone's existing deployed numpy test suite passes before * https://github.com/numpy/numpy/issues/22098 is widely available. * * $ python -m timeit -s 's = "1"*4300' 'int(s)' * 2000 loops, best of 5: 125 usec per loop * $ python -m timeit -s 's = "1"*4300; v = int(s)' 'str(v)' * 1000 loops, best of 5: 311 usec per loop * (zen2 cloud VM) * * 4300 decimal digits fits a ~14284 bit number. */ #define _PY_LONG_DEFAULT_MAX_STR_DIGITS 4300 /* * Threshold for max digits check. For performance reasons int() and * int.__str__() don't checks values that are smaller than this * threshold. Acts as a guaranteed minimum size limit for bignums that * applications can expect from CPython. * * % python -m timeit -s 's = "1"*640; v = int(s)' 'str(int(s))' * 20000 loops, best of 5: 12 usec per loop * * "640 digits should be enough for anyone." - gps * fits a ~2126 bit decimal number. */ #define _PY_LONG_MAX_STR_DIGITS_THRESHOLD 640 #if ((_PY_LONG_DEFAULT_MAX_STR_DIGITS != 0) && \ (_PY_LONG_DEFAULT_MAX_STR_DIGITS < _PY_LONG_MAX_STR_DIGITS_THRESHOLD)) # error "_PY_LONG_DEFAULT_MAX_STR_DIGITS smaller than threshold." #endif #endif /* Py_BUILD_CORE */ #ifdef __cplusplus } #endif #endif /* !Py_LONGOBJECT_H */