Coverage Report

Created: 2026-04-20 06:11

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
1.54G
    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
27
28
// Macros and static inline functions, trading safety for speed
29
30
663M
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
663M
    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
663M
    return Py_SIZE(list);
36
663M
#endif
37
663M
}
bytesobject.c:PyList_GET_SIZE
Line
Count
Source
30
1.68M
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
1.68M
    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.68M
    return Py_SIZE(list);
36
1.68M
#endif
37
1.68M
}
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
153M
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
153M
    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
153M
    return Py_SIZE(list);
36
153M
#endif
37
153M
}
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.05M
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
7.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
7.05M
    return Py_SIZE(list);
36
7.05M
#endif
37
7.05M
}
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
195k
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
195k
    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
195k
    return Py_SIZE(list);
36
195k
#endif
37
195k
}
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
27.7M
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
27.7M
    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
27.7M
    return Py_SIZE(list);
36
27.7M
#endif
37
27.7M
}
unionobject.c:PyList_GET_SIZE
Line
Count
Source
30
1.37k
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
1.37k
    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.37k
    return Py_SIZE(list);
36
1.37k
#endif
37
1.37k
}
Unexecuted instantiation: weakrefobject.c:PyList_GET_SIZE
_warnings.c:PyList_GET_SIZE
Line
Count
Source
30
1.49M
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
1.49M
    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.49M
    return Py_SIZE(list);
36
1.49M
#endif
37
1.49M
}
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
459M
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
459M
    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
459M
    return Py_SIZE(list);
36
459M
#endif
37
459M
}
Unexecuted instantiation: codecs.c:PyList_GET_SIZE
codegen.c:PyList_GET_SIZE
Line
Count
Source
30
179
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
179
    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
179
    return Py_SIZE(list);
36
179
#endif
37
179
}
compile.c:PyList_GET_SIZE
Line
Count
Source
30
32.6k
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
32.6k
    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
32.6k
    return Py_SIZE(list);
36
32.6k
#endif
37
32.6k
}
Unexecuted instantiation: context.c:PyList_GET_SIZE
Unexecuted instantiation: errors.c:PyList_GET_SIZE
flowgraph.c:PyList_GET_SIZE
Line
Count
Source
30
32.4k
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
32.4k
    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
32.4k
    return Py_SIZE(list);
36
32.4k
#endif
37
32.4k
}
Unexecuted instantiation: frame.c:PyList_GET_SIZE
Unexecuted instantiation: future.c:PyList_GET_SIZE
gc.c:PyList_GET_SIZE
Line
Count
Source
30
386k
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
386k
    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
386k
    return Py_SIZE(list);
36
386k
#endif
37
386k
}
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
252
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
252
    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
252
    return Py_SIZE(list);
36
252
#endif
37
252
}
Unexecuted instantiation: importdl.c:PyList_GET_SIZE
initconfig.c:PyList_GET_SIZE
Line
Count
Source
30
36
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
36
    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
36
    return Py_SIZE(list);
36
36
#endif
37
36
}
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
1.88M
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
1.88M
    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.88M
    return Py_SIZE(list);
36
1.88M
#endif
37
1.88M
}
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
5.03k
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
5.03k
    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
5.03k
    return Py_SIZE(list);
36
5.03k
#endif
37
5.03k
}
Unexecuted instantiation: structmember.c:PyList_GET_SIZE
symtable.c:PyList_GET_SIZE
Line
Count
Source
30
36.4k
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
36.4k
    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
36.4k
    return Py_SIZE(list);
36
36.4k
#endif
37
36.4k
}
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.27M
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
9.27M
    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.27M
    return Py_SIZE(list);
36
9.27M
#endif
37
9.27M
}
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
29.7k
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
29.7k
    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
29.7k
    return Py_SIZE(list);
36
29.7k
#endif
37
29.7k
}
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.96k
static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
31
1.96k
    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.96k
    return Py_SIZE(list);
36
1.96k
#endif
37
1.96k
}
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
663M
#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
39
40
303M
#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
41
42
static inline void
43
575M
PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
44
575M
    PyListObject *list = _PyList_CAST(op);
45
575M
    assert(0 <= index);
46
575M
    assert(index < list->allocated);
47
575M
    list->ob_item[index] = value;
48
575M
}
bytesobject.c:PyList_SET_ITEM
Line
Count
Source
43
3.71M
PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
44
3.71M
    PyListObject *list = _PyList_CAST(op);
45
3.71M
    assert(0 <= index);
46
    assert(index < list->allocated);
47
3.71M
    list->ob_item[index] = value;
48
3.71M
}
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
305M
PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
44
305M
    PyListObject *list = _PyList_CAST(op);
45
305M
    assert(0 <= index);
46
    assert(index < list->allocated);
47
305M
    list->ob_item[index] = value;
48
305M
}
Unexecuted instantiation: longobject.c:PyList_SET_ITEM
dictobject.c:PyList_SET_ITEM
Line
Count
Source
43
687k
PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
44
687k
    PyListObject *list = _PyList_CAST(op);
45
687k
    assert(0 <= index);
46
    assert(index < list->allocated);
47
687k
    list->ob_item[index] = value;
48
687k
}
memoryobject.c:PyList_SET_ITEM
Line
Count
Source
43
5.54M
PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
44
5.54M
    PyListObject *list = _PyList_CAST(op);
45
5.54M
    assert(0 <= index);
46
    assert(index < list->allocated);
47
5.54M
    list->ob_item[index] = value;
48
5.54M
}
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
218k
PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
44
218k
    PyListObject *list = _PyList_CAST(op);
45
218k
    assert(0 <= index);
46
    assert(index < list->allocated);
47
218k
    list->ob_item[index] = value;
48
218k
}
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
40.5M
PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
44
40.5M
    PyListObject *list = _PyList_CAST(op);
45
40.5M
    assert(0 <= index);
46
    assert(index < list->allocated);
47
40.5M
    list->ob_item[index] = value;
48
40.5M
}
Unexecuted instantiation: unionobject.c:PyList_SET_ITEM
Unexecuted instantiation: weakrefobject.c:PyList_SET_ITEM
_warnings.c:PyList_SET_ITEM
Line
Count
Source
43
180
PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
44
180
    PyListObject *list = _PyList_CAST(op);
45
180
    assert(0 <= index);
46
    assert(index < list->allocated);
47
180
    list->ob_item[index] = value;
48
180
}
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
212M
PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
44
212M
    PyListObject *list = _PyList_CAST(op);
45
212M
    assert(0 <= index);
46
    assert(index < list->allocated);
47
212M
    list->ob_item[index] = value;
48
212M
}
Unexecuted instantiation: codecs.c:PyList_SET_ITEM
Unexecuted instantiation: codegen.c:PyList_SET_ITEM
compile.c:PyList_SET_ITEM
Line
Count
Source
43
32.2k
PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
44
32.2k
    PyListObject *list = _PyList_CAST(op);
45
32.2k
    assert(0 <= index);
46
    assert(index < list->allocated);
47
32.2k
    list->ob_item[index] = value;
48
32.2k
}
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
144
PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
44
144
    PyListObject *list = _PyList_CAST(op);
45
144
    assert(0 <= index);
46
    assert(index < list->allocated);
47
144
    list->ob_item[index] = value;
48
144
}
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
6.33k
PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
44
6.33k
    PyListObject *list = _PyList_CAST(op);
45
6.33k
    assert(0 <= index);
46
    assert(index < list->allocated);
47
6.33k
    list->ob_item[index] = value;
48
6.33k
}
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
392
PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
44
392
    PyListObject *list = _PyList_CAST(op);
45
392
    assert(0 <= index);
46
    assert(index < list->allocated);
47
392
    list->ob_item[index] = value;
48
392
}
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
6.28M
PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
44
6.28M
    PyListObject *list = _PyList_CAST(op);
45
6.28M
    assert(0 <= index);
46
    assert(index < list->allocated);
47
6.28M
    list->ob_item[index] = value;
48
6.28M
}
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
177k
PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
44
177k
    PyListObject *list = _PyList_CAST(op);
45
177k
    assert(0 <= index);
46
    assert(index < list->allocated);
47
177k
    list->ob_item[index] = value;
48
177k
}
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
575M
    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);