LCOV - code coverage report
Current view:
top level
-
Objects
- memoryobject.c
(
source
/ functions)
Hit
Total
Coverage
Test:
CPython lcov report
Lines:
1334
1433
93.1 %
Date:
2022-07-07 18:19:46
Functions:
106
107
99.1 %
Function Name
Hit count
memoryiter_traverse
0
mbuf_clear
2
memory_clear
2
fix_struct_error_int
5
memory_item_multi
16
value_error_int
33
ptr_from_tuple
37
memory_repr
57
pylong_as_zd
62
pylong_as_zu
62
pylong_as_lld
66
pylong_as_llu
67
is_multislice
69
memoryiter_dealloc
82
memory_iter
84
is_multiindex
109
memory_hash
293
memoryiter_next
342
fix_error_int
663
type_error_int
690
memory_f_contiguous
1079
memory_contiguous
1119
pylong_as_lu
3100
memory_c_contiguous
3368
copy_single
5663
memoryview_hex_impl
11254
copy_shape
11883
cast_to_ND
11884
pylong_as_ld
16104
pack_single
21152
mbuf_copy_format
21667
memory_from_contiguous_copy
21667
zero_in_shape
26264
memory_ass_sub
26974
memoryview_toreadonly_impl
27597
struct_get_unpacker
30131
unpacker_new
30131
get_native_fmtstr
31613
PyMemoryView_GetContiguous
33789
cast_to_1D
39814
memoryview_cast_impl
40003
struct_unpack_cmp
43531
memory_exit
44966
memory_enter
44993
memoryview_release_impl
45325
mbuf_traverse
47842
memory_traverse
47908
init_fortran_strides_from_shape
51259
mbuf_add_incomplete_view
61481
memory_item
61861
memoryview_tolist_impl
66968
memory_strides_get
71524
memory_shape_get
73479
memory_ndim_get
80867
ptr_from_index
83028
lookup_dimension
83076
struct_unpack_single
87062
memory_format_get
87978
memory_obj_get
91622
memory_nbytes_get
93407
memory_readonly_get
98201
memory_suboffsets_get
100710
memory_itemsize_get
101398
PyMemoryView_FromMemory
150783
adjust_fmt
155861
memory_richcompare
162312
init_strides_from_shape
172704
buffer_to_contiguous
190416
memory_length
203874
copy_buffer
212083
last_dim_is_contiguous
216958
equiv_format
217744
equiv_structure
217744
memoryview_tobytes_impl
219503
init_len
236439
init_slice
242105
_IntTupleFromSsizet
245656
memory_subscript
298296
unpacker_free
324629
copy_base
325546
tolist_rec
326322
tolist_base
335116
equiv_shape
379809
get_native_fmtchar
396382
cmp_rec
412656
cmp_base
412999
copy_rec
418675
PyBuffer_ToContiguous
572733
memoryview_impl
644209
_PyManagedBuffer_FromObject
742211
PyMemoryView_FromObject
750039
PyMemoryView_FromBuffer
976440
mbuf_dealloc
1869390
mbuf_alloc
1869430
mbuf_add_view
2140700
memory_dealloc
2202120
memory_alloc
2202170
_memory_release
2247450
init_shape_strides
2331100
init_suboffsets
2331100
init_shared_values
2392580
init_flags
2442280
unpack_single
3060510
memory_releasebuf
3683590
memory_getbuf
3697720
mbuf_release
3738260
unpack_cmp
5407540
Generated by:
LCOV version 1.14