/
opt
/
alt
/
python38
/
include
/
python3.8
/
/opt/alt/python38/include/python3.8
mkdir
upload
Name
Size
Mode
Actions
cpython/
-
0755
rm
internal/
-
0755
rm
abstract.h
30286
0644
edit
dl
rm
asdl.h
1229
0644
edit
dl
rm
ast.h
948
0644
edit
dl
rm
bitset.h
468
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
8366
0644
edit
dl
rm
classobject.h
1710
0644
edit
dl
rm
code.h
7178
0644
edit
dl
rm
codecs.h
6793
0644
edit
dl
rm
compile.h
3582
0644
edit
dl
rm
complexobject.h
1807
0644
edit
dl
rm
context.h
2014
0644
edit
dl
rm
datetime.h
9260
0644
edit
dl
rm
descrobject.h
3019
0644
edit
dl
rm
dictobject.h
3716
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
1571
0644
edit
dl
rm
fileutils.h
4352
0644
edit
dl
rm
floatobject.h
4794
0644
edit
dl
rm
frameobject.h
3317
0644
edit
dl
rm
funcobject.h
4200
0644
edit
dl
rm
genobject.h
3720
0644
edit
dl
rm
graminit.h
2118
0644
edit
dl
rm
grammar.h
1821
0644
edit
dl
rm
import.h
4926
0644
edit
dl
rm
interpreteridobject.h
334
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
9520
0644
edit
dl
rm
marshal.h
803
0644
edit
dl
rm
memoryobject.h
2765
0644
edit
dl
rm
methodobject.h
4406
0644
edit
dl
rm
modsupport.h
9591
0644
edit
dl
rm
moduleobject.h
2362
0644
edit
dl
rm
namespaceobject.h
349
0644
edit
dl
rm
node.h
1328
0644
edit
dl
rm
object.h
29599
0644
edit
dl
rm
objimpl.h
10537
0644
edit
dl
rm
odictobject.h
1300
0644
edit
dl
rm
opcode.h
5164
0644
edit
dl
rm
osdefs.h
737
0644
edit
dl
rm
osmodule.h
291
0644
edit
dl
rm
parsetok.h
2958
0644
edit
dl
rm
patchlevel.h
1299
0644
edit
dl
rm
picklebufobject.h
847
0644
edit
dl
rm
pyarena.h
2744
0644
edit
dl
rm
pycapsule.h
1726
0644
edit
dl
rm
pyconfig-64.h
47579
0644
edit
dl
rm
pyconfig.h
161
0644
edit
dl
rm
pyctype.h
1387
0644
edit
dl
rm
pydebug.h
1214
0644
edit
dl
rm
pydtrace.h
2413
0644
edit
dl
rm
pyerrors.h
12786
0644
edit
dl
rm
pyexpat.h
2572
0644
edit
dl
rm
pyfpe.h
341
0644
edit
dl
rm
pyhash.h
4140
0644
edit
dl
rm
pylifecycle.h
2081
0644
edit
dl
rm
pymacconfig.h
2989
0644
edit
dl
rm
pymacro.h
3778
0644
edit
dl
rm
pymath.h
8312
0644
edit
dl
rm
pymem.h
5406
0644
edit
dl
rm
pyport.h
30221
0644
edit
dl
rm
pystate.h
4686
0644
edit
dl
rm
pystrcmp.h
436
0644
edit
dl
rm
pystrhex.h
849
0644
edit
dl
rm
pystrtod.h
1483
0644
edit
dl
rm
Python-ast.h
26491
0644
edit
dl
rm
Python.h
3615
0644
edit
dl
rm
pythonrun.h
7645
0644
edit
dl
rm
pythread.h
5660
0644
edit
dl
rm
pytime.h
8926
0644
edit
dl
rm
py_curses.h
2477
0644
edit
dl
rm
rangeobject.h
629
0644
edit
dl
rm
setobject.h
3362
0644
edit
dl
rm
sliceobject.h
2517
0644
edit
dl
rm
structmember.h
2030
0644
edit
dl
rm
structseq.h
1377
0644
edit
dl
rm
symtable.h
5308
0644
edit
dl
rm
sysmodule.h
1242
0644
edit
dl
rm
token.h
2429
0644
edit
dl
rm
traceback.h
601
0644
edit
dl
rm
tracemalloc.h
1114
0644
edit
dl
rm
tupleobject.h
1661
0644
edit
dl
rm
typeslots.h
2253
0644
edit
dl
rm
ucnhash.h
1056
0644
edit
dl
rm
unicodeobject.h
35732
0644
edit
dl
rm
warnings.h
1776
0644
edit
dl
rm
weakrefobject.h
2866
0644
edit
dl
rm
Edit:
/opt/alt/python38/include/python3.8/setobject.h
(3362B)
/* Set object interface */ #ifndef Py_SETOBJECT_H #define Py_SETOBJECT_H #ifdef __cplusplus extern "C" { #endif #ifndef Py_LIMITED_API /* There are three kinds of entries in the table: 1. Unused: key == NULL and hash == 0 2. Dummy: key == dummy and hash == -1 3. Active: key != NULL and key != dummy and hash != -1 The hash field of Unused slots is always zero. The hash field of Dummy slots are set to -1 meaning that dummy entries can be detected by either entry->key==dummy or by entry->hash==-1. */ #define PySet_MINSIZE 8 typedef struct { PyObject *key; Py_hash_t hash; /* Cached hash code of the key */ } setentry; /* The SetObject data structure is shared by set and frozenset objects. Invariant for sets: - hash is -1 Invariants for frozensets: - data is immutable. - hash is the hash of the frozenset or -1 if not computed yet. */ typedef struct { PyObject_HEAD Py_ssize_t fill; /* Number active and dummy entries*/ Py_ssize_t used; /* Number active entries */ /* The table contains mask + 1 slots, and that's a power of 2. * We store the mask instead of the size because the mask is more * frequently needed. */ Py_ssize_t mask; /* The table points to a fixed-size smalltable for small tables * or to additional malloc'ed memory for bigger tables. * The table pointer is never NULL which saves us from repeated * runtime null-tests. */ setentry *table; Py_hash_t hash; /* Only used by frozenset objects */ Py_ssize_t finger; /* Search finger for pop() */ setentry smalltable[PySet_MINSIZE]; PyObject *weakreflist; /* List of weak references */ } PySetObject; #define PySet_GET_SIZE(so) (assert(PyAnySet_Check(so)),(((PySetObject *)(so))->used)) PyAPI_DATA(PyObject *) _PySet_Dummy; PyAPI_FUNC(int) _PySet_NextEntry(PyObject *set, Py_ssize_t *pos, PyObject **key, Py_hash_t *hash); PyAPI_FUNC(int) _PySet_Update(PyObject *set, PyObject *iterable); PyAPI_FUNC(int) PySet_ClearFreeList(void); #endif /* Section excluded by Py_LIMITED_API */ PyAPI_DATA(PyTypeObject) PySet_Type; PyAPI_DATA(PyTypeObject) PyFrozenSet_Type; PyAPI_DATA(PyTypeObject) PySetIter_Type; PyAPI_FUNC(PyObject *) PySet_New(PyObject *); PyAPI_FUNC(PyObject *) PyFrozenSet_New(PyObject *); PyAPI_FUNC(int) PySet_Add(PyObject *set, PyObject *key); PyAPI_FUNC(int) PySet_Clear(PyObject *set); PyAPI_FUNC(int) PySet_Contains(PyObject *anyset, PyObject *key); PyAPI_FUNC(int) PySet_Discard(PyObject *set, PyObject *key); PyAPI_FUNC(PyObject *) PySet_Pop(PyObject *set); PyAPI_FUNC(Py_ssize_t) PySet_Size(PyObject *anyset); #define PyFrozenSet_CheckExact(ob) (Py_TYPE(ob) == &PyFrozenSet_Type) #define PyAnySet_CheckExact(ob) \ (Py_TYPE(ob) == &PySet_Type || Py_TYPE(ob) == &PyFrozenSet_Type) #define PyAnySet_Check(ob) \ (Py_TYPE(ob) == &PySet_Type || Py_TYPE(ob) == &PyFrozenSet_Type || \ PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \ PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type)) #define PySet_Check(ob) \ (Py_TYPE(ob) == &PySet_Type || \ PyType_IsSubtype(Py_TYPE(ob), &PySet_Type)) #define PyFrozenSet_Check(ob) \ (Py_TYPE(ob) == &PyFrozenSet_Type || \ PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type)) #ifdef __cplusplus } #endif #endif /* !Py_SETOBJECT_H */
Save
cmd:
run