GRAYBYTE WORDPRESS FILE MANAGER5937

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 : /usr/include/python3.8/internal/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /usr/include/python3.8/internal//pycore_long.h
#ifndef Py_INTERNAL_LONG_H
#define Py_INTERNAL_LONG_H
#ifdef __cplusplus
extern "C" {
#endif

#ifndef Py_BUILD_CORE
#  error "this header requires Py_BUILD_CORE define"
#endif

/*
 * 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

#ifdef __cplusplus
}
#endif
#endif /* !Py_INTERNAL_LONG_H */

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
March 05 2024 23:45:24
root / root
0755
pycore_accu.h
1.1 KB
June 06 2023 13:32:21
root / root
0644
pycore_atomic.h
16.547 KB
June 06 2023 13:32:21
root / root
0644
pycore_ceval.h
0.943 KB
June 06 2023 13:32:21
root / root
0644
pycore_code.h
0.529 KB
June 06 2023 13:32:21
root / root
0644
pycore_condvar.h
2.743 KB
June 06 2023 13:32:21
root / root
0644
pycore_context.h
0.761 KB
June 06 2023 13:32:21
root / root
0644
pycore_fileutils.h
1.225 KB
June 06 2023 13:32:21
root / root
0644
pycore_getopt.h
0.479 KB
June 06 2023 13:32:21
root / root
0644
pycore_gil.h
1.484 KB
June 06 2023 13:32:21
root / root
0644
pycore_hamt.h
3.611 KB
June 06 2023 13:32:21
root / root
0644
pycore_initconfig.h
5.096 KB
June 06 2023 13:32:21
root / root
0644
pycore_long.h
1.512 KB
June 06 2023 13:32:21
root / root
0644
pycore_object.h
2.828 KB
June 06 2023 13:32:21
root / root
0644
pycore_pathconfig.h
1.989 KB
June 06 2023 13:32:21
root / root
0644
pycore_pyerrors.h
1.298 KB
June 06 2023 13:32:21
root / root
0644
pycore_pyhash.h
0.201 KB
June 06 2023 13:32:21
root / root
0644
pycore_pylifecycle.h
3.726 KB
June 06 2023 13:32:21
root / root
0644
pycore_pymem.h
8.024 KB
June 06 2023 13:32:21
root / root
0644
pycore_pystate.h
9.363 KB
June 06 2023 13:32:21
root / root
0644
pycore_traceback.h
3.004 KB
June 06 2023 13:32:21
root / root
0644
pycore_tupleobject.h
0.408 KB
June 06 2023 13:32:21
root / root
0644
pycore_warnings.h
0.577 KB
June 06 2023 13:32:21
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF