/
opt
/
alt
/
python37
/
include
/
python3.7m
/
/opt/alt/python37/include/python3.7m
mkdir
upload
Name
Size
Mode
Actions
internal/
-
0755
rm
abstract.h
40798
0644
edit
dl
rm
accu.h
1016
0644
edit
dl
rm
asdl.h
1213
0644
edit
dl
rm
ast.h
641
0644
edit
dl
rm
bitset.h
810
0644
edit
dl
rm
bltinmodule.h
264
0644
edit
dl
rm
boolobject.h
886
0644
edit
dl
rm
bytearrayobject.h
2114
0644
edit
dl
rm
bytesobject.h
8493
0644
edit
dl
rm
bytes_methods.h
3301
0644
edit
dl
rm
cellobject.h
713
0644
edit
dl
rm
ceval.h
8717
0644
edit
dl
rm
classobject.h
1679
0644
edit
dl
rm
code.h
6065
0644
edit
dl
rm
codecs.h
6793
0644
edit
dl
rm
compile.h
2946
0644
edit
dl
rm
complexobject.h
1807
0644
edit
dl
rm
context.h
2014
0644
edit
dl
rm
datetime.h
9848
0644
edit
dl
rm
descrobject.h
3135
0644
edit
dl
rm
dictobject.h
7323
0644
edit
dl
rm
dtoa.h
458
0644
edit
dl
rm
dynamic_annotations.h
22469
0644
edit
dl
rm
enumobject.h
253
0644
edit
dl
rm
errcode.h
1695
0644
edit
dl
rm
eval.h
1209
0644
edit
dl
rm
fileobject.h
1811
0644
edit
dl
rm
fileutils.h
4534
0644
edit
dl
rm
floatobject.h
4794
0644
edit
dl
rm
frameobject.h
3318
0644
edit
dl
rm
funcobject.h
4178
0644
edit
dl
rm
genobject.h
3646
0644
edit
dl
rm
graminit.h
1992
0644
edit
dl
rm
grammar.h
2319
0644
edit
dl
rm
import.h
4977
0644
edit
dl
rm
intrcheck.h
861
0644
edit
dl
rm
iterobject.h
567
0644
edit
dl
rm
listobject.h
2927
0644
edit
dl
rm
longintrepr.h
3799
0644
edit
dl
rm
longobject.h
8594
0644
edit
dl
rm
marshal.h
803
0644
edit
dl
rm
memoryobject.h
2765
0644
edit
dl
rm
metagrammar.h
253
0644
edit
dl
rm
methodobject.h
4519
0644
edit
dl
rm
modsupport.h
8559
0644
edit
dl
rm
moduleobject.h
2304
0644
edit
dl
rm
namespaceobject.h
349
0644
edit
dl
rm
node.h
1113
0644
edit
dl
rm
object.h
41842
0644
edit
dl
rm
objimpl.h
14474
0644
edit
dl
rm
odictobject.h
1280
0644
edit
dl
rm
opcode.h
5109
0644
edit
dl
rm
osdefs.h
691
0644
edit
dl
rm
osmodule.h
291
0644
edit
dl
rm
parsetok.h
2905
0644
edit
dl
rm
patchlevel.h
1299
0644
edit
dl
rm
pgen.h
253
0644
edit
dl
rm
pgenheaders.h
1222
0644
edit
dl
rm
pyarena.h
2744
0644
edit
dl
rm
pyatomic.h
16121
0644
edit
dl
rm
pycapsule.h
1726
0644
edit
dl
rm
pyconfig-64.h
45354
0644
edit
dl
rm
pyconfig.h
162
0644
edit
dl
rm
pyctype.h
1320
0644
edit
dl
rm
pydebug.h
1214
0644
edit
dl
rm
pydtrace.h
2285
0644
edit
dl
rm
pyerrors.h
17369
0644
edit
dl
rm
pyexpat.h
2450
0644
edit
dl
rm
pyfpe.h
341
0644
edit
dl
rm
pyhash.h
4139
0644
edit
dl
rm
pylifecycle.h
7780
0644
edit
dl
rm
pymacconfig.h
2989
0644
edit
dl
rm
pymacro.h
3535
0644
edit
dl
rm
pymath.h
8312
0644
edit
dl
rm
pymem.h
8993
0644
edit
dl
rm
pyport.h
28235
0644
edit
dl
rm
pystate.h
16324
0644
edit
dl
rm
pystrcmp.h
436
0644
edit
dl
rm
pystrhex.h
495
0644
edit
dl
rm
pystrtod.h
1483
0644
edit
dl
rm
Python-ast.h
21802
0644
edit
dl
rm
Python.h
3554
0644
edit
dl
rm
pythonrun.h
6204
0644
edit
dl
rm
pythread.h
5332
0644
edit
dl
rm
pytime.h
8926
0644
edit
dl
rm
py_curses.h
4062
0644
edit
dl
rm
rangeobject.h
629
0644
edit
dl
rm
setobject.h
3362
0644
edit
dl
rm
sliceobject.h
2480
0644
edit
dl
rm
structmember.h
2030
0644
edit
dl
rm
structseq.h
1377
0644
edit
dl
rm
symtable.h
4928
0644
edit
dl
rm
sysmodule.h
1511
0644
edit
dl
rm
token.h
2480
0644
edit
dl
rm
traceback.h
3644
0644
edit
dl
rm
tupleobject.h
2471
0644
edit
dl
rm
typeslots.h
2253
0644
edit
dl
rm
ucnhash.h
1056
0644
edit
dl
rm
unicodeobject.h
82278
0644
edit
dl
rm
warnings.h
1776
0644
edit
dl
rm
weakrefobject.h
2866
0644
edit
dl
rm
Edit:
/opt/alt/python37/include/python3.7m/pyhash.h
(4139B)
#ifndef Py_HASH_H #define Py_HASH_H #ifdef __cplusplus extern "C" { #endif /* Helpers for hash functions */ #ifndef Py_LIMITED_API PyAPI_FUNC(Py_hash_t) _Py_HashDouble(double); PyAPI_FUNC(Py_hash_t) _Py_HashPointer(void*); PyAPI_FUNC(Py_hash_t) _Py_HashBytes(const void*, Py_ssize_t); #endif /* Prime multiplier used in string and various other hashes. */ #define _PyHASH_MULTIPLIER 1000003UL /* 0xf4243 */ /* Parameters used for the numeric hash implementation. See notes for _Py_HashDouble in Python/pyhash.c. Numeric hashes are based on reduction modulo the prime 2**_PyHASH_BITS - 1. */ #if SIZEOF_VOID_P >= 8 # define _PyHASH_BITS 61 #else # define _PyHASH_BITS 31 #endif #define _PyHASH_MODULUS (((size_t)1 << _PyHASH_BITS) - 1) #define _PyHASH_INF 314159 #define _PyHASH_NAN 0 #define _PyHASH_IMAG _PyHASH_MULTIPLIER /* hash secret * * memory layout on 64 bit systems * cccccccc cccccccc cccccccc uc -- unsigned char[24] * pppppppp ssssssss ........ fnv -- two Py_hash_t * k0k0k0k0 k1k1k1k1 ........ siphash -- two uint64_t * ........ ........ ssssssss djbx33a -- 16 bytes padding + one Py_hash_t * ........ ........ eeeeeeee pyexpat XML hash salt * * memory layout on 32 bit systems * cccccccc cccccccc cccccccc uc * ppppssss ........ ........ fnv -- two Py_hash_t * k0k0k0k0 k1k1k1k1 ........ siphash -- two uint64_t (*) * ........ ........ ssss.... djbx33a -- 16 bytes padding + one Py_hash_t * ........ ........ eeee.... pyexpat XML hash salt * * (*) The siphash member may not be available on 32 bit platforms without * an unsigned int64 data type. */ #ifndef Py_LIMITED_API typedef union { /* ensure 24 bytes */ unsigned char uc[24]; /* two Py_hash_t for FNV */ struct { Py_hash_t prefix; Py_hash_t suffix; } fnv; /* two uint64 for SipHash24 */ struct { uint64_t k0; uint64_t k1; } siphash; /* a different (!) Py_hash_t for small string optimization */ struct { unsigned char padding[16]; Py_hash_t suffix; } djbx33a; struct { unsigned char padding[16]; Py_hash_t hashsalt; } expat; } _Py_HashSecret_t; PyAPI_DATA(_Py_HashSecret_t) _Py_HashSecret; #endif #ifdef Py_DEBUG PyAPI_DATA(int) _Py_HashSecret_Initialized; #endif /* hash function definition */ #ifndef Py_LIMITED_API typedef struct { Py_hash_t (*const hash)(const void *, Py_ssize_t); const char *name; const int hash_bits; const int seed_bits; } PyHash_FuncDef; PyAPI_FUNC(PyHash_FuncDef*) PyHash_GetFuncDef(void); #endif /* cutoff for small string DJBX33A optimization in range [1, cutoff). * * About 50% of the strings in a typical Python application are smaller than * 6 to 7 chars. However DJBX33A is vulnerable to hash collision attacks. * NEVER use DJBX33A for long strings! * * A Py_HASH_CUTOFF of 0 disables small string optimization. 32 bit platforms * should use a smaller cutoff because it is easier to create colliding * strings. A cutoff of 7 on 64bit platforms and 5 on 32bit platforms should * provide a decent safety margin. */ #ifndef Py_HASH_CUTOFF # define Py_HASH_CUTOFF 0 #elif (Py_HASH_CUTOFF > 7 || Py_HASH_CUTOFF < 0) # error Py_HASH_CUTOFF must in range 0...7. #endif /* Py_HASH_CUTOFF */ /* hash algorithm selection * * The values for Py_HASH_SIPHASH24 and Py_HASH_FNV are hard-coded in the * configure script. * * - FNV is available on all platforms and architectures. * - SIPHASH24 only works on plaforms that don't require aligned memory for integers. * - With EXTERNAL embedders can provide an alternative implementation with:: * * PyHash_FuncDef PyHash_Func = {...}; * * XXX: Figure out __declspec() for extern PyHash_FuncDef. */ #define Py_HASH_EXTERNAL 0 #define Py_HASH_SIPHASH24 1 #define Py_HASH_FNV 2 #ifndef Py_HASH_ALGORITHM # ifndef HAVE_ALIGNED_REQUIRED # define Py_HASH_ALGORITHM Py_HASH_SIPHASH24 # else # define Py_HASH_ALGORITHM Py_HASH_FNV # endif /* uint64_t && uint32_t && aligned */ #endif /* Py_HASH_ALGORITHM */ #ifdef __cplusplus } #endif #endif /* !Py_HASH_H */
Save
cmd:
run