/
opt
/
alt
/
python35
/
include
/
python3.5m
/
/opt/alt/python35/include/python3.5m
mkdir
upload
Name
Size
Mode
Actions
abstract.h
43822
0644
edit
dl
rm
accu.h
1016
0644
edit
dl
rm
asdl.h
1184
0644
edit
dl
rm
ast.h
477
0644
edit
dl
rm
bitset.h
792
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
4985
0644
edit
dl
rm
bytes_methods.h
2034
0644
edit
dl
rm
cellobject.h
701
0644
edit
dl
rm
ceval.h
7636
0644
edit
dl
rm
classobject.h
1666
0644
edit
dl
rm
code.h
5262
0644
edit
dl
rm
codecs.h
6693
0644
edit
dl
rm
compile.h
2164
0644
edit
dl
rm
complexobject.h
1807
0644
edit
dl
rm
datetime.h
8542
0644
edit
dl
rm
descrobject.h
2913
0644
edit
dl
rm
dictobject.h
6335
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
1497
0644
edit
dl
rm
eval.h
597
0644
edit
dl
rm
fileobject.h
1511
0644
edit
dl
rm
fileutils.h
2877
0644
edit
dl
rm
floatobject.h
4641
0644
edit
dl
rm
frameobject.h
3530
0644
edit
dl
rm
funcobject.h
3771
0644
edit
dl
rm
genobject.h
2669
0644
edit
dl
rm
graminit.h
1944
0644
edit
dl
rm
grammar.h
2044
0644
edit
dl
rm
import.h
3901
0644
edit
dl
rm
intrcheck.h
460
0644
edit
dl
rm
iterobject.h
567
0644
edit
dl
rm
listobject.h
2900
0644
edit
dl
rm
longintrepr.h
3997
0644
edit
dl
rm
longobject.h
8286
0644
edit
dl
rm
marshal.h
803
0644
edit
dl
rm
memoryobject.h
2695
0644
edit
dl
rm
metagrammar.h
253
0644
edit
dl
rm
methodobject.h
3367
0644
edit
dl
rm
modsupport.h
6053
0644
edit
dl
rm
moduleobject.h
2145
0644
edit
dl
rm
namespaceobject.h
297
0644
edit
dl
rm
node.h
1007
0644
edit
dl
rm
object.h
40005
0644
edit
dl
rm
objimpl.h
13975
0644
edit
dl
rm
odictobject.h
1330
0644
edit
dl
rm
opcode.h
4924
0644
edit
dl
rm
osdefs.h
691
0644
edit
dl
rm
parsetok.h
2885
0644
edit
dl
rm
patchlevel.h
1128
0644
edit
dl
rm
pgen.h
253
0644
edit
dl
rm
pgenheaders.h
1144
0644
edit
dl
rm
pyarena.h
2744
0644
edit
dl
rm
pyatomic.h
8134
0644
edit
dl
rm
pycapsule.h
1726
0644
edit
dl
rm
pyconfig-64.h
43863
0644
edit
dl
rm
pyconfig.h
162
0644
edit
dl
rm
pyctype.h
1320
0644
edit
dl
rm
pydebug.h
1140
0644
edit
dl
rm
pyerrors.h
16332
0644
edit
dl
rm
pyexpat.h
2450
0644
edit
dl
rm
pyfpe.h
8471
0644
edit
dl
rm
pygetopt.h
388
0644
edit
dl
rm
pyhash.h
4274
0644
edit
dl
rm
pylifecycle.h
3810
0644
edit
dl
rm
pymacconfig.h
2989
0644
edit
dl
rm
pymacro.h
3297
0644
edit
dl
rm
pymath.h
7219
0644
edit
dl
rm
pymem.h
7033
0644
edit
dl
rm
pyport.h
32020
0644
edit
dl
rm
pystate.h
9490
0644
edit
dl
rm
pystrcmp.h
436
0644
edit
dl
rm
pystrhex.h
443
0644
edit
dl
rm
pystrtod.h
1276
0644
edit
dl
rm
Python-ast.h
20851
0644
edit
dl
rm
Python.h
2906
0644
edit
dl
rm
pythonrun.h
6688
0644
edit
dl
rm
pythread.h
3036
0644
edit
dl
rm
pytime.h
6654
0644
edit
dl
rm
py_curses.h
4175
0644
edit
dl
rm
rangeobject.h
629
0644
edit
dl
rm
setobject.h
3290
0644
edit
dl
rm
sliceobject.h
2485
0644
edit
dl
rm
structmember.h
2068
0644
edit
dl
rm
structseq.h
1353
0644
edit
dl
rm
symtable.h
4861
0644
edit
dl
rm
sysmodule.h
1355
0644
edit
dl
rm
token.h
1943
0644
edit
dl
rm
traceback.h
2213
0644
edit
dl
rm
tupleobject.h
2444
0644
edit
dl
rm
typeslots.h
2253
0644
edit
dl
rm
ucnhash.h
1056
0644
edit
dl
rm
unicodeobject.h
79193
0644
edit
dl
rm
warnings.h
1426
0644
edit
dl
rm
weakrefobject.h
2866
0644
edit
dl
rm
Edit:
/opt/alt/python35/include/python3.5m/pyhash.h
(4274B)
#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 Objects/object.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 PY_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 PY_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; #ifdef PY_UINT64_T /* two uint64 for SipHash24 */ struct { PY_UINT64_T k0; PY_UINT64_T k1; } siphash; #endif /* 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 provide PY_UINT64_T and doesn'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 # if (defined(PY_UINT64_T) && defined(PY_UINT32_T) \ && !defined(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