Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
6169f09d
Kaydet (Commit)
6169f09d
authored
Nis 01, 2002
tarafından
Tim Peters
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed errors in two comments.
üst
f4dd65db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
obmalloc.c
Objects/obmalloc.c
+4
-3
No files found.
Objects/obmalloc.c
Dosyayı görüntüle @
6169f09d
...
...
@@ -1208,7 +1208,7 @@ _PyMalloc_DebugDumpStats(void)
/* # of free blocks per class index */
ulong
numfreeblocks
[
SMALL_REQUEST_THRESHOLD
>>
ALIGNMENT_SHIFT
];
ulong
grandtotal
;
/* total # of allocated bytes */
ulong
freegrandtotal
;
/* total # of available bytes in used
block
s */
ulong
freegrandtotal
;
/* total # of available bytes in used
pool
s */
fprintf
(
stderr
,
"%u arenas * %d bytes/arena = %lu total bytes.
\n
"
,
narenas
,
ARENA_SIZE
,
narenas
*
(
ulong
)
ARENA_SIZE
);
...
...
@@ -1220,8 +1220,9 @@ _PyMalloc_DebugDumpStats(void)
for
(
i
=
0
;
i
<
numclasses
;
++
i
)
numpools
[
i
]
=
numblocks
[
i
]
=
numfreeblocks
[
i
]
=
0
;
/* Because empty pools aren't linked to from anything, it's easiest
* to march over all the arenas.
/* Because full pools aren't linked to from anything, it's easiest
* to march over all the arenas. If we're lucky, most of the memory
* will be living in full pools -- would be a shame to miss them.
*/
for
(
i
=
0
;
i
<
narenas
;
++
i
)
{
uint
poolsinarena
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment