Coverage Report

Created: 2026-03-08 06:40

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/cpython/Include/cpython/listobject.h
Line
Count
Source
1
#ifndef Py_CPYTHON_LISTOBJECT_H
2
#  error "this header file must not be included directly"
3
#endif
4
5
typedef struct {
6
    PyObject_VAR_HEAD
7
    /* Vector of pointers to list elements.  list[0] is ob_item[0], etc. */
8
    PyObject **ob_item;
9
10
    /* ob_item contains space for 'allocated' elements.  The number
11
     * currently in use is ob_size.
12
     * Invariants:
13
     *     0 <= ob_size <= allocated
14
     *     len(list) == ob_size
15
     *     ob_item == NULL implies ob_size == allocated == 0
16
     * list.sort() temporarily sets allocated to -1 to detect mutations.
17
     *
18
     * Items must normally not be NULL, except during construction when
19
     * the list is not yet visible outside the function that builds it.
20
     */
21
    Py_ssize_t allocated;
22
} PyListObject;
23
24
/* Cast argument to PyListObject* type. */
25
#define _PyList_CAST(op) \
26
2.25G
    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
27
28
// Macros and static inline functions, trading safety for speed
29
30
1.14G
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
1.14G
    PyListObject *list = _PyList_CAST(op);
32
#ifdef Py_GIL_DISABLED
33
    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
34
#else
35
1.14G
    return Py_SIZE(list);
36
1.14G
#endif
37
1.14G
}
bytesobject.c:PyList_GET_SIZE
Line
Count
Source
30
2.05M
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
2.05M
    PyListObject *list = _PyList_CAST(op);
32
#ifdef Py_GIL_DISABLED
33
    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
34
#else
35
2.05M
    return Py_SIZE(list);
36
2.05M
#endif
37
2.05M
}
Unexecuted instantiation: call.c:PyList_GET_SIZE
Unexecuted instantiation: exceptions.c:PyList_GET_SIZE
Unexecuted instantiation: genericaliasobject.c:PyList_GET_SIZE
Unexecuted instantiation: floatobject.c:PyList_GET_SIZE
listobject.c:PyList_GET_SIZE
Line
Count
Source
30
205M
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
205M
    PyListObject *list = _PyList_CAST(op);
32
#ifdef Py_GIL_DISABLED
33
    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
34
#else
35
205M
    return Py_SIZE(list);
36
205M
#endif
37
205M
}
Unexecuted instantiation: longobject.c:PyList_GET_SIZE
dictobject.c:PyList_GET_SIZE
Line
Count
Source
30
90
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
90
    PyListObject *list = _PyList_CAST(op);
32
#ifdef Py_GIL_DISABLED
33
    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
34
#else
35
90
    return Py_SIZE(list);
36
90
#endif
37
90
}
Unexecuted instantiation: memoryobject.c:PyList_GET_SIZE
Unexecuted instantiation: moduleobject.c:PyList_GET_SIZE
object.c:PyList_GET_SIZE
Line
Count
Source
30
7.42M
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
7.42M
    PyListObject *list = _PyList_CAST(op);
32
#ifdef Py_GIL_DISABLED
33
    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
34
#else
35
7.42M
    return Py_SIZE(list);
36
7.42M
#endif
37
7.42M
}
Unexecuted instantiation: obmalloc.c:PyList_GET_SIZE
Unexecuted instantiation: picklebufobject.c:PyList_GET_SIZE
Unexecuted instantiation: rangeobject.c:PyList_GET_SIZE
Unexecuted instantiation: setobject.c:PyList_GET_SIZE
Unexecuted instantiation: sliceobject.c:PyList_GET_SIZE
Unexecuted instantiation: structseq.c:PyList_GET_SIZE
Unexecuted instantiation: templateobject.c:PyList_GET_SIZE
Unexecuted instantiation: tupleobject.c:PyList_GET_SIZE
typeobject.c:PyList_GET_SIZE
Line
Count
Source
30
174k
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
174k
    PyListObject *list = _PyList_CAST(op);
32
#ifdef Py_GIL_DISABLED
33
    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
34
#else
35
174k
    return Py_SIZE(list);
36
174k
#endif
37
174k
}
Unexecuted instantiation: typevarobject.c:PyList_GET_SIZE
Unexecuted instantiation: unicode_format.c:PyList_GET_SIZE
Unexecuted instantiation: unicode_formatter.c:PyList_GET_SIZE
Unexecuted instantiation: unicode_writer.c:PyList_GET_SIZE
Unexecuted instantiation: unicodectype.c:PyList_GET_SIZE
unicodeobject.c:PyList_GET_SIZE
Line
Count
Source
30
33.8M
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
33.8M
    PyListObject *list = _PyList_CAST(op);
32
#ifdef Py_GIL_DISABLED
33
    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
34
#else
35
33.8M
    return Py_SIZE(list);
36
33.8M
#endif
37
33.8M
}
unionobject.c:PyList_GET_SIZE
Line
Count
Source
30
1.33k
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
1.33k
    PyListObject *list = _PyList_CAST(op);
32
#ifdef Py_GIL_DISABLED
33
    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
34
#else
35
1.33k
    return Py_SIZE(list);
36
1.33k
#endif
37
1.33k
}
Unexecuted instantiation: weakrefobject.c:PyList_GET_SIZE
_warnings.c:PyList_GET_SIZE
Line
Count
Source
30
1.25M
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
1.25M
    PyListObject *list = _PyList_CAST(op);
32
#ifdef Py_GIL_DISABLED
33
    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
34
#else
35
1.25M
    return Py_SIZE(list);
36
1.25M
#endif
37
1.25M
}
bltinmodule.c:PyList_GET_SIZE
Line
Count
Source
30
198
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
198
    PyListObject *list = _PyList_CAST(op);
32
#ifdef Py_GIL_DISABLED
33
    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
34
#else
35
198
    return Py_SIZE(list);
36
198
#endif
37
198
}
ceval.c:PyList_GET_SIZE
Line
Count
Source
30
882M
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
882M
    PyListObject *list = _PyList_CAST(op);
32
#ifdef Py_GIL_DISABLED
33
    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
34
#else
35
882M
    return Py_SIZE(list);
36
882M
#endif
37
882M
}
Unexecuted instantiation: codecs.c:PyList_GET_SIZE
codegen.c:PyList_GET_SIZE
Line
Count
Source
30
182
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
182
    PyListObject *list = _PyList_CAST(op);
32
#ifdef Py_GIL_DISABLED
33
    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
34
#else
35
182
    return Py_SIZE(list);
36
182
#endif
37
182
}
compile.c:PyList_GET_SIZE
Line
Count
Source
30
31.3k
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
31.3k
    PyListObject *list = _PyList_CAST(op);
32
#ifdef Py_GIL_DISABLED
33
    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
34
#else
35
31.3k
    return Py_SIZE(list);
36
31.3k
#endif
37
31.3k
}
Unexecuted instantiation: context.c:PyList_GET_SIZE
Unexecuted instantiation: errors.c:PyList_GET_SIZE
flowgraph.c:PyList_GET_SIZE
Line
Count
Source
30
31.2k
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
31.2k
    PyListObject *list = _PyList_CAST(op);
32
#ifdef Py_GIL_DISABLED
33
    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
34
#else
35
31.2k
    return Py_SIZE(list);
36
31.2k
#endif
37
31.2k
}
Unexecuted instantiation: frame.c:PyList_GET_SIZE
Unexecuted instantiation: future.c:PyList_GET_SIZE
gc.c:PyList_GET_SIZE
Line
Count
Source
30
376k
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
376k
    PyListObject *list = _PyList_CAST(op);
32
#ifdef Py_GIL_DISABLED
33
    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
34
#else
35
376k
    return Py_SIZE(list);
36
376k
#endif
37
376k
}
Unexecuted instantiation: gc_gil.c:PyList_GET_SIZE
Unexecuted instantiation: getargs.c:PyList_GET_SIZE
Unexecuted instantiation: ceval_gil.c:PyList_GET_SIZE
Unexecuted instantiation: hamt.c:PyList_GET_SIZE
Unexecuted instantiation: hashtable.c:PyList_GET_SIZE
import.c:PyList_GET_SIZE
Line
Count
Source
30
238
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
238
    PyListObject *list = _PyList_CAST(op);
32
#ifdef Py_GIL_DISABLED
33
    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
34
#else
35
238
    return Py_SIZE(list);
36
238
#endif
37
238
}
Unexecuted instantiation: importdl.c:PyList_GET_SIZE
initconfig.c:PyList_GET_SIZE
Line
Count
Source
30
34
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
34
    PyListObject *list = _PyList_CAST(op);
32
#ifdef Py_GIL_DISABLED
33
    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
34
#else
35
34
    return Py_SIZE(list);
36
34
#endif
37
34
}
Unexecuted instantiation: instrumentation.c:PyList_GET_SIZE
Unexecuted instantiation: instruction_sequence.c:PyList_GET_SIZE
Unexecuted instantiation: intrinsics.c:PyList_GET_SIZE
Unexecuted instantiation: legacy_tracing.c:PyList_GET_SIZE
Unexecuted instantiation: lock.c:PyList_GET_SIZE
marshal.c:PyList_GET_SIZE
Line
Count
Source
30
2.12M
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
2.12M
    PyListObject *list = _PyList_CAST(op);
32
#ifdef Py_GIL_DISABLED
33
    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
34
#else
35
2.12M
    return Py_SIZE(list);
36
2.12M
#endif
37
2.12M
}
Unexecuted instantiation: modsupport.c:PyList_GET_SIZE
Unexecuted instantiation: mysnprintf.c:PyList_GET_SIZE
Unexecuted instantiation: parking_lot.c:PyList_GET_SIZE
Unexecuted instantiation: preconfig.c:PyList_GET_SIZE
Unexecuted instantiation: pyarena.c:PyList_GET_SIZE
Unexecuted instantiation: pyctype.c:PyList_GET_SIZE
Unexecuted instantiation: pyhash.c:PyList_GET_SIZE
Unexecuted instantiation: pylifecycle.c:PyList_GET_SIZE
Unexecuted instantiation: pymath.c:PyList_GET_SIZE
Unexecuted instantiation: pystate.c:PyList_GET_SIZE
Unexecuted instantiation: pythonrun.c:PyList_GET_SIZE
Unexecuted instantiation: pytime.c:PyList_GET_SIZE
Unexecuted instantiation: qsbr.c:PyList_GET_SIZE
Unexecuted instantiation: bootstrap_hash.c:PyList_GET_SIZE
specialize.c:PyList_GET_SIZE
Line
Count
Source
30
4.43k
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
4.43k
    PyListObject *list = _PyList_CAST(op);
32
#ifdef Py_GIL_DISABLED
33
    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
34
#else
35
4.43k
    return Py_SIZE(list);
36
4.43k
#endif
37
4.43k
}
Unexecuted instantiation: structmember.c:PyList_GET_SIZE
symtable.c:PyList_GET_SIZE
Line
Count
Source
30
35.0k
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
35.0k
    PyListObject *list = _PyList_CAST(op);
32
#ifdef Py_GIL_DISABLED
33
    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
34
#else
35
35.0k
    return Py_SIZE(list);
36
35.0k
#endif
37
35.0k
}
Unexecuted instantiation: sysmodule.c:PyList_GET_SIZE
Unexecuted instantiation: thread.c:PyList_GET_SIZE
Unexecuted instantiation: traceback.c:PyList_GET_SIZE
Unexecuted instantiation: tracemalloc.c:PyList_GET_SIZE
Unexecuted instantiation: getopt.c:PyList_GET_SIZE
Unexecuted instantiation: pystrcmp.c:PyList_GET_SIZE
Unexecuted instantiation: pystrtod.c:PyList_GET_SIZE
Unexecuted instantiation: pystrhex.c:PyList_GET_SIZE
Unexecuted instantiation: dtoa.c:PyList_GET_SIZE
Unexecuted instantiation: fileutils.c:PyList_GET_SIZE
Unexecuted instantiation: suggestions.c:PyList_GET_SIZE
Unexecuted instantiation: perf_trampoline.c:PyList_GET_SIZE
Unexecuted instantiation: perf_jit_trampoline.c:PyList_GET_SIZE
Unexecuted instantiation: remote_debugging.c:PyList_GET_SIZE
Unexecuted instantiation: dynload_shlib.c:PyList_GET_SIZE
Unexecuted instantiation: config.c:PyList_GET_SIZE
Unexecuted instantiation: gcmodule.c:PyList_GET_SIZE
Unexecuted instantiation: _asynciomodule.c:PyList_GET_SIZE
Unexecuted instantiation: atexitmodule.c:PyList_GET_SIZE
Unexecuted instantiation: faulthandler.c:PyList_GET_SIZE
Unexecuted instantiation: posixmodule.c:PyList_GET_SIZE
Unexecuted instantiation: signalmodule.c:PyList_GET_SIZE
Unexecuted instantiation: _tracemalloc.c:PyList_GET_SIZE
Unexecuted instantiation: _suggestions.c:PyList_GET_SIZE
Unexecuted instantiation: _datetimemodule.c:PyList_GET_SIZE
Unexecuted instantiation: _codecsmodule.c:PyList_GET_SIZE
Unexecuted instantiation: _collectionsmodule.c:PyList_GET_SIZE
Unexecuted instantiation: _iomodule.c:PyList_GET_SIZE
Unexecuted instantiation: iobase.c:PyList_GET_SIZE
Unexecuted instantiation: fileio.c:PyList_GET_SIZE
Unexecuted instantiation: bytesio.c:PyList_GET_SIZE
Unexecuted instantiation: bufferedio.c:PyList_GET_SIZE
Unexecuted instantiation: textio.c:PyList_GET_SIZE
Unexecuted instantiation: stringio.c:PyList_GET_SIZE
Unexecuted instantiation: itertoolsmodule.c:PyList_GET_SIZE
sre.c:PyList_GET_SIZE
Line
Count
Source
30
9.97M
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
9.97M
    PyListObject *list = _PyList_CAST(op);
32
#ifdef Py_GIL_DISABLED
33
    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
34
#else
35
9.97M
    return Py_SIZE(list);
36
9.97M
#endif
37
9.97M
}
Unexecuted instantiation: _sysconfig.c:PyList_GET_SIZE
Unexecuted instantiation: _threadmodule.c:PyList_GET_SIZE
Unexecuted instantiation: timemodule.c:PyList_GET_SIZE
Unexecuted instantiation: _typesmodule.c:PyList_GET_SIZE
Unexecuted instantiation: _typingmodule.c:PyList_GET_SIZE
Unexecuted instantiation: _weakref.c:PyList_GET_SIZE
_abc.c:PyList_GET_SIZE
Line
Count
Source
30
28.9k
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
28.9k
    PyListObject *list = _PyList_CAST(op);
32
#ifdef Py_GIL_DISABLED
33
    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
34
#else
35
28.9k
    return Py_SIZE(list);
36
28.9k
#endif
37
28.9k
}
Unexecuted instantiation: _functoolsmodule.c:PyList_GET_SIZE
Unexecuted instantiation: _localemodule.c:PyList_GET_SIZE
Unexecuted instantiation: _opcode.c:PyList_GET_SIZE
Unexecuted instantiation: _operator.c:PyList_GET_SIZE
Unexecuted instantiation: symtablemodule.c:PyList_GET_SIZE
Unexecuted instantiation: pwdmodule.c:PyList_GET_SIZE
Unexecuted instantiation: getpath.c:PyList_GET_SIZE
Unexecuted instantiation: frozen.c:PyList_GET_SIZE
Unexecuted instantiation: getbuildinfo.c:PyList_GET_SIZE
Unexecuted instantiation: peg_api.c:PyList_GET_SIZE
Unexecuted instantiation: file_tokenizer.c:PyList_GET_SIZE
Unexecuted instantiation: helpers.c:PyList_GET_SIZE
Unexecuted instantiation: myreadline.c:PyList_GET_SIZE
Unexecuted instantiation: abstract.c:PyList_GET_SIZE
Unexecuted instantiation: boolobject.c:PyList_GET_SIZE
Unexecuted instantiation: bytes_methods.c:PyList_GET_SIZE
bytearrayobject.c:PyList_GET_SIZE
Line
Count
Source
30
1.83k
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
1.83k
    PyListObject *list = _PyList_CAST(op);
32
#ifdef Py_GIL_DISABLED
33
    return _Py_atomic_load_ssize_relaxed(&(_PyVarObject_CAST(list)->ob_size));
34
#else
35
1.83k
    return Py_SIZE(list);
36
1.83k
#endif
37
1.83k
}
Unexecuted instantiation: capsule.c:PyList_GET_SIZE
Unexecuted instantiation: cellobject.c:PyList_GET_SIZE
Unexecuted instantiation: classobject.c:PyList_GET_SIZE
Unexecuted instantiation: codeobject.c:PyList_GET_SIZE
Unexecuted instantiation: complexobject.c:PyList_GET_SIZE
Unexecuted instantiation: descrobject.c:PyList_GET_SIZE
Unexecuted instantiation: enumobject.c:PyList_GET_SIZE
Unexecuted instantiation: genobject.c:PyList_GET_SIZE
Unexecuted instantiation: fileobject.c:PyList_GET_SIZE
Unexecuted instantiation: frameobject.c:PyList_GET_SIZE
Unexecuted instantiation: funcobject.c:PyList_GET_SIZE
Unexecuted instantiation: interpolationobject.c:PyList_GET_SIZE
Unexecuted instantiation: iterobject.c:PyList_GET_SIZE
Unexecuted instantiation: lazyimportobject.c:PyList_GET_SIZE
Unexecuted instantiation: odictobject.c:PyList_GET_SIZE
Unexecuted instantiation: methodobject.c:PyList_GET_SIZE
Unexecuted instantiation: namespaceobject.c:PyList_GET_SIZE
Unexecuted instantiation: _contextvars.c:PyList_GET_SIZE
Unexecuted instantiation: Python-ast.c:PyList_GET_SIZE
Unexecuted instantiation: Python-tokenize.c:PyList_GET_SIZE
Unexecuted instantiation: asdl.c:PyList_GET_SIZE
Unexecuted instantiation: assemble.c:PyList_GET_SIZE
Unexecuted instantiation: ast.c:PyList_GET_SIZE
Unexecuted instantiation: ast_preprocess.c:PyList_GET_SIZE
Unexecuted instantiation: ast_unparse.c:PyList_GET_SIZE
Unexecuted instantiation: critical_section.c:PyList_GET_SIZE
Unexecuted instantiation: crossinterp.c:PyList_GET_SIZE
Unexecuted instantiation: getcopyright.c:PyList_GET_SIZE
Unexecuted instantiation: getplatform.c:PyList_GET_SIZE
Unexecuted instantiation: getversion.c:PyList_GET_SIZE
Unexecuted instantiation: optimizer.c:PyList_GET_SIZE
Unexecuted instantiation: pathconfig.c:PyList_GET_SIZE
Unexecuted instantiation: pegen.c:PyList_GET_SIZE
Unexecuted instantiation: pegen_errors.c:PyList_GET_SIZE
Unexecuted instantiation: parser.c:PyList_GET_SIZE
Unexecuted instantiation: buffer.c:PyList_GET_SIZE
Unexecuted instantiation: lexer.c:PyList_GET_SIZE
Unexecuted instantiation: state.c:PyList_GET_SIZE
Unexecuted instantiation: readline_tokenizer.c:PyList_GET_SIZE
Unexecuted instantiation: string_tokenizer.c:PyList_GET_SIZE
Unexecuted instantiation: utf8_tokenizer.c:PyList_GET_SIZE
Unexecuted instantiation: getcompiler.c:PyList_GET_SIZE
Unexecuted instantiation: mystrtoul.c:PyList_GET_SIZE
Unexecuted instantiation: token.c:PyList_GET_SIZE
Unexecuted instantiation: action_helpers.c:PyList_GET_SIZE
Unexecuted instantiation: string_parser.c:PyList_GET_SIZE
38
1.14G
#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
39
40
427M
#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
41
42
static inline void
43
684M
PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
44
684M
    PyListObject *list = _PyList_CAST(op);
45
684M
    assert(0 <= index);
46
684M
    assert(index < list->allocated);
47
684M
    list->ob_item[index] = value;
48
684M
}
bytesobject.c:PyList_SET_ITEM
Line
Count
Source
43
3.98M
PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
44
3.98M
    PyListObject *list = _PyList_CAST(op);
45
3.98M
    assert(0 <= index);
46
    assert(index < list->allocated);
47
3.98M
    list->ob_item[index] = value;
48
3.98M
}
Unexecuted instantiation: call.c:PyList_SET_ITEM
Unexecuted instantiation: exceptions.c:PyList_SET_ITEM
Unexecuted instantiation: genericaliasobject.c:PyList_SET_ITEM
Unexecuted instantiation: floatobject.c:PyList_SET_ITEM
listobject.c:PyList_SET_ITEM
Line
Count
Source
43
302M
PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
44
302M
    PyListObject *list = _PyList_CAST(op);
45
302M
    assert(0 <= index);
46
    assert(index < list->allocated);
47
302M
    list->ob_item[index] = value;
48
302M
}
Unexecuted instantiation: longobject.c:PyList_SET_ITEM
dictobject.c:PyList_SET_ITEM
Line
Count
Source
43
684k
PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
44
684k
    PyListObject *list = _PyList_CAST(op);
45
684k
    assert(0 <= index);
46
    assert(index < list->allocated);
47
684k
    list->ob_item[index] = value;
48
684k
}
memoryobject.c:PyList_SET_ITEM
Line
Count
Source
43
5.40M
PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
44
5.40M
    PyListObject *list = _PyList_CAST(op);
45
5.40M
    assert(0 <= index);
46
    assert(index < list->allocated);
47
5.40M
    list->ob_item[index] = value;
48
5.40M
}
Unexecuted instantiation: moduleobject.c:PyList_SET_ITEM
Unexecuted instantiation: object.c:PyList_SET_ITEM
Unexecuted instantiation: obmalloc.c:PyList_SET_ITEM
Unexecuted instantiation: picklebufobject.c:PyList_SET_ITEM
Unexecuted instantiation: rangeobject.c:PyList_SET_ITEM
Unexecuted instantiation: setobject.c:PyList_SET_ITEM
Unexecuted instantiation: sliceobject.c:PyList_SET_ITEM
Unexecuted instantiation: structseq.c:PyList_SET_ITEM
Unexecuted instantiation: templateobject.c:PyList_SET_ITEM
Unexecuted instantiation: tupleobject.c:PyList_SET_ITEM
typeobject.c:PyList_SET_ITEM
Line
Count
Source
43
228k
PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
44
228k
    PyListObject *list = _PyList_CAST(op);
45
228k
    assert(0 <= index);
46
    assert(index < list->allocated);
47
228k
    list->ob_item[index] = value;
48
228k
}
Unexecuted instantiation: typevarobject.c:PyList_SET_ITEM
Unexecuted instantiation: unicode_format.c:PyList_SET_ITEM
Unexecuted instantiation: unicode_formatter.c:PyList_SET_ITEM
Unexecuted instantiation: unicode_writer.c:PyList_SET_ITEM
Unexecuted instantiation: unicodectype.c:PyList_SET_ITEM
unicodeobject.c:PyList_SET_ITEM
Line
Count
Source
43
50.2M
PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
44
50.2M
    PyListObject *list = _PyList_CAST(op);
45
50.2M
    assert(0 <= index);
46
    assert(index < list->allocated);
47
50.2M
    list->ob_item[index] = value;
48
50.2M
}
Unexecuted instantiation: unionobject.c:PyList_SET_ITEM
Unexecuted instantiation: weakrefobject.c:PyList_SET_ITEM
_warnings.c:PyList_SET_ITEM
Line
Count
Source
43
170
PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
44
170
    PyListObject *list = _PyList_CAST(op);
45
170
    assert(0 <= index);
46
    assert(index < list->allocated);
47
170
    list->ob_item[index] = value;
48
170
}
bltinmodule.c:PyList_SET_ITEM
Line
Count
Source
43
16
PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
44
16
    PyListObject *list = _PyList_CAST(op);
45
16
    assert(0 <= index);
46
    assert(index < list->allocated);
47
16
    list->ob_item[index] = value;
48
16
}
ceval.c:PyList_SET_ITEM
Line
Count
Source
43
321M
PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
44
321M
    PyListObject *list = _PyList_CAST(op);
45
321M
    assert(0 <= index);
46
    assert(index < list->allocated);
47
321M
    list->ob_item[index] = value;
48
321M
}
Unexecuted instantiation: codecs.c:PyList_SET_ITEM
Unexecuted instantiation: codegen.c:PyList_SET_ITEM
compile.c:PyList_SET_ITEM
Line
Count
Source
43
30.8k
PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
44
30.8k
    PyListObject *list = _PyList_CAST(op);
45
30.8k
    assert(0 <= index);
46
    assert(index < list->allocated);
47
30.8k
    list->ob_item[index] = value;
48
30.8k
}
Unexecuted instantiation: context.c:PyList_SET_ITEM
Unexecuted instantiation: errors.c:PyList_SET_ITEM
Unexecuted instantiation: flowgraph.c:PyList_SET_ITEM
Unexecuted instantiation: frame.c:PyList_SET_ITEM
Unexecuted instantiation: future.c:PyList_SET_ITEM
Unexecuted instantiation: gc.c:PyList_SET_ITEM
Unexecuted instantiation: gc_gil.c:PyList_SET_ITEM
Unexecuted instantiation: getargs.c:PyList_SET_ITEM
Unexecuted instantiation: ceval_gil.c:PyList_SET_ITEM
Unexecuted instantiation: hamt.c:PyList_SET_ITEM
Unexecuted instantiation: hashtable.c:PyList_SET_ITEM
Unexecuted instantiation: import.c:PyList_SET_ITEM
Unexecuted instantiation: importdl.c:PyList_SET_ITEM
initconfig.c:PyList_SET_ITEM
Line
Count
Source
43
136
PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
44
136
    PyListObject *list = _PyList_CAST(op);
45
136
    assert(0 <= index);
46
    assert(index < list->allocated);
47
136
    list->ob_item[index] = value;
48
136
}
Unexecuted instantiation: instrumentation.c:PyList_SET_ITEM
Unexecuted instantiation: instruction_sequence.c:PyList_SET_ITEM
Unexecuted instantiation: intrinsics.c:PyList_SET_ITEM
Unexecuted instantiation: legacy_tracing.c:PyList_SET_ITEM
Unexecuted instantiation: lock.c:PyList_SET_ITEM
marshal.c:PyList_SET_ITEM
Line
Count
Source
43
7.78k
PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
44
7.78k
    PyListObject *list = _PyList_CAST(op);
45
7.78k
    assert(0 <= index);
46
    assert(index < list->allocated);
47
7.78k
    list->ob_item[index] = value;
48
7.78k
}
Unexecuted instantiation: modsupport.c:PyList_SET_ITEM
Unexecuted instantiation: mysnprintf.c:PyList_SET_ITEM
Unexecuted instantiation: parking_lot.c:PyList_SET_ITEM
Unexecuted instantiation: preconfig.c:PyList_SET_ITEM
Unexecuted instantiation: pyarena.c:PyList_SET_ITEM
Unexecuted instantiation: pyctype.c:PyList_SET_ITEM
Unexecuted instantiation: pyhash.c:PyList_SET_ITEM
Unexecuted instantiation: pylifecycle.c:PyList_SET_ITEM
Unexecuted instantiation: pymath.c:PyList_SET_ITEM
Unexecuted instantiation: pystate.c:PyList_SET_ITEM
Unexecuted instantiation: pythonrun.c:PyList_SET_ITEM
Unexecuted instantiation: pytime.c:PyList_SET_ITEM
Unexecuted instantiation: qsbr.c:PyList_SET_ITEM
Unexecuted instantiation: bootstrap_hash.c:PyList_SET_ITEM
Unexecuted instantiation: specialize.c:PyList_SET_ITEM
Unexecuted instantiation: structmember.c:PyList_SET_ITEM
Unexecuted instantiation: symtable.c:PyList_SET_ITEM
Unexecuted instantiation: sysmodule.c:PyList_SET_ITEM
Unexecuted instantiation: thread.c:PyList_SET_ITEM
Unexecuted instantiation: traceback.c:PyList_SET_ITEM
Unexecuted instantiation: tracemalloc.c:PyList_SET_ITEM
Unexecuted instantiation: getopt.c:PyList_SET_ITEM
Unexecuted instantiation: pystrcmp.c:PyList_SET_ITEM
Unexecuted instantiation: pystrtod.c:PyList_SET_ITEM
Unexecuted instantiation: pystrhex.c:PyList_SET_ITEM
Unexecuted instantiation: dtoa.c:PyList_SET_ITEM
Unexecuted instantiation: fileutils.c:PyList_SET_ITEM
Unexecuted instantiation: suggestions.c:PyList_SET_ITEM
Unexecuted instantiation: perf_trampoline.c:PyList_SET_ITEM
Unexecuted instantiation: perf_jit_trampoline.c:PyList_SET_ITEM
Unexecuted instantiation: remote_debugging.c:PyList_SET_ITEM
Unexecuted instantiation: dynload_shlib.c:PyList_SET_ITEM
Unexecuted instantiation: config.c:PyList_SET_ITEM
Unexecuted instantiation: gcmodule.c:PyList_SET_ITEM
Unexecuted instantiation: _asynciomodule.c:PyList_SET_ITEM
Unexecuted instantiation: atexitmodule.c:PyList_SET_ITEM
Unexecuted instantiation: faulthandler.c:PyList_SET_ITEM
Unexecuted instantiation: posixmodule.c:PyList_SET_ITEM
Unexecuted instantiation: signalmodule.c:PyList_SET_ITEM
Unexecuted instantiation: _tracemalloc.c:PyList_SET_ITEM
Unexecuted instantiation: _suggestions.c:PyList_SET_ITEM
Unexecuted instantiation: _datetimemodule.c:PyList_SET_ITEM
Unexecuted instantiation: _codecsmodule.c:PyList_SET_ITEM
Unexecuted instantiation: _collectionsmodule.c:PyList_SET_ITEM
Unexecuted instantiation: _iomodule.c:PyList_SET_ITEM
Unexecuted instantiation: iobase.c:PyList_SET_ITEM
Unexecuted instantiation: fileio.c:PyList_SET_ITEM
Unexecuted instantiation: bytesio.c:PyList_SET_ITEM
Unexecuted instantiation: bufferedio.c:PyList_SET_ITEM
Unexecuted instantiation: textio.c:PyList_SET_ITEM
Unexecuted instantiation: stringio.c:PyList_SET_ITEM
Unexecuted instantiation: itertoolsmodule.c:PyList_SET_ITEM
Unexecuted instantiation: sre.c:PyList_SET_ITEM
Unexecuted instantiation: _sysconfig.c:PyList_SET_ITEM
Unexecuted instantiation: _threadmodule.c:PyList_SET_ITEM
Unexecuted instantiation: timemodule.c:PyList_SET_ITEM
Unexecuted instantiation: _typesmodule.c:PyList_SET_ITEM
Unexecuted instantiation: _typingmodule.c:PyList_SET_ITEM
Unexecuted instantiation: _weakref.c:PyList_SET_ITEM
Unexecuted instantiation: _abc.c:PyList_SET_ITEM
Unexecuted instantiation: _functoolsmodule.c:PyList_SET_ITEM
Unexecuted instantiation: _localemodule.c:PyList_SET_ITEM
_opcode.c:PyList_SET_ITEM
Line
Count
Source
43
294
PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
44
294
    PyListObject *list = _PyList_CAST(op);
45
294
    assert(0 <= index);
46
    assert(index < list->allocated);
47
294
    list->ob_item[index] = value;
48
294
}
Unexecuted instantiation: _operator.c:PyList_SET_ITEM
Unexecuted instantiation: symtablemodule.c:PyList_SET_ITEM
Unexecuted instantiation: pwdmodule.c:PyList_SET_ITEM
Unexecuted instantiation: getpath.c:PyList_SET_ITEM
Unexecuted instantiation: frozen.c:PyList_SET_ITEM
Unexecuted instantiation: getbuildinfo.c:PyList_SET_ITEM
Unexecuted instantiation: peg_api.c:PyList_SET_ITEM
Unexecuted instantiation: file_tokenizer.c:PyList_SET_ITEM
Unexecuted instantiation: helpers.c:PyList_SET_ITEM
Unexecuted instantiation: myreadline.c:PyList_SET_ITEM
abstract.c:PyList_SET_ITEM
Line
Count
Source
43
2.37k
PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
44
2.37k
    PyListObject *list = _PyList_CAST(op);
45
2.37k
    assert(0 <= index);
46
    assert(index < list->allocated);
47
2.37k
    list->ob_item[index] = value;
48
2.37k
}
Unexecuted instantiation: boolobject.c:PyList_SET_ITEM
Unexecuted instantiation: bytes_methods.c:PyList_SET_ITEM
Unexecuted instantiation: bytearrayobject.c:PyList_SET_ITEM
Unexecuted instantiation: capsule.c:PyList_SET_ITEM
Unexecuted instantiation: cellobject.c:PyList_SET_ITEM
Unexecuted instantiation: classobject.c:PyList_SET_ITEM
Unexecuted instantiation: codeobject.c:PyList_SET_ITEM
Unexecuted instantiation: complexobject.c:PyList_SET_ITEM
Unexecuted instantiation: descrobject.c:PyList_SET_ITEM
Unexecuted instantiation: enumobject.c:PyList_SET_ITEM
Unexecuted instantiation: genobject.c:PyList_SET_ITEM
Unexecuted instantiation: fileobject.c:PyList_SET_ITEM
Unexecuted instantiation: frameobject.c:PyList_SET_ITEM
Unexecuted instantiation: funcobject.c:PyList_SET_ITEM
Unexecuted instantiation: interpolationobject.c:PyList_SET_ITEM
Unexecuted instantiation: iterobject.c:PyList_SET_ITEM
Unexecuted instantiation: lazyimportobject.c:PyList_SET_ITEM
Unexecuted instantiation: odictobject.c:PyList_SET_ITEM
Unexecuted instantiation: methodobject.c:PyList_SET_ITEM
Unexecuted instantiation: namespaceobject.c:PyList_SET_ITEM
Unexecuted instantiation: _contextvars.c:PyList_SET_ITEM
Python-ast.c:PyList_SET_ITEM
Line
Count
Source
43
163k
PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
44
163k
    PyListObject *list = _PyList_CAST(op);
45
163k
    assert(0 <= index);
46
    assert(index < list->allocated);
47
163k
    list->ob_item[index] = value;
48
163k
}
Unexecuted instantiation: Python-tokenize.c:PyList_SET_ITEM
Unexecuted instantiation: asdl.c:PyList_SET_ITEM
Unexecuted instantiation: assemble.c:PyList_SET_ITEM
Unexecuted instantiation: ast.c:PyList_SET_ITEM
Unexecuted instantiation: ast_preprocess.c:PyList_SET_ITEM
Unexecuted instantiation: ast_unparse.c:PyList_SET_ITEM
Unexecuted instantiation: critical_section.c:PyList_SET_ITEM
Unexecuted instantiation: crossinterp.c:PyList_SET_ITEM
Unexecuted instantiation: getcopyright.c:PyList_SET_ITEM
Unexecuted instantiation: getplatform.c:PyList_SET_ITEM
Unexecuted instantiation: getversion.c:PyList_SET_ITEM
Unexecuted instantiation: optimizer.c:PyList_SET_ITEM
Unexecuted instantiation: pathconfig.c:PyList_SET_ITEM
Unexecuted instantiation: pegen.c:PyList_SET_ITEM
Unexecuted instantiation: pegen_errors.c:PyList_SET_ITEM
Unexecuted instantiation: parser.c:PyList_SET_ITEM
Unexecuted instantiation: buffer.c:PyList_SET_ITEM
Unexecuted instantiation: lexer.c:PyList_SET_ITEM
Unexecuted instantiation: state.c:PyList_SET_ITEM
Unexecuted instantiation: readline_tokenizer.c:PyList_SET_ITEM
Unexecuted instantiation: string_tokenizer.c:PyList_SET_ITEM
Unexecuted instantiation: utf8_tokenizer.c:PyList_SET_ITEM
Unexecuted instantiation: getcompiler.c:PyList_SET_ITEM
Unexecuted instantiation: mystrtoul.c:PyList_SET_ITEM
Unexecuted instantiation: token.c:PyList_SET_ITEM
Unexecuted instantiation: action_helpers.c:PyList_SET_ITEM
Unexecuted instantiation: string_parser.c:PyList_SET_ITEM
49
#define PyList_SET_ITEM(op, index, value) \
50
684M
    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
51
52
PyAPI_FUNC(int) PyList_Extend(PyObject *self, PyObject *iterable);
53
PyAPI_FUNC(int) PyList_Clear(PyObject *self);