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
20c8a04a
Kaydet (Commit)
20c8a04a
authored
Tem 11, 2002
tarafından
Tim Peters
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Some clarifications.
üst
889f61dc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
SpecialBuilds.txt
Misc/SpecialBuilds.txt
+9
-3
No files found.
Misc/SpecialBuilds.txt
Dosyayı görüntüle @
20c8a04a
...
@@ -80,7 +80,9 @@ ASCII strings.
...
@@ -80,7 +80,9 @@ ASCII strings.
8 bytes are added at each end of each block of N bytes requested. The
8 bytes are added at each end of each block of N bytes requested. The
memory layout is like so, where p represents the address returned by a
memory layout is like so, where p represents the address returned by a
malloc-like or realloc-like function:
malloc-like or realloc-like function (p[i:j] means the slice of bytes
from *(p+i) inclusive up to *(p+j) exclusive; note that the treatment
of negative indices differs from a Python slice):
p[-8:-4]
p[-8:-4]
Number of bytes originally asked for. 4-byte unsigned integer,
Number of bytes originally asked for. 4-byte unsigned integer,
...
@@ -104,7 +106,9 @@ p[N+4:N+8]
...
@@ -104,7 +106,9 @@ p[N+4:N+8]
4-byte unsigned integer, big-endian.
4-byte unsigned integer, big-endian.
If "bad memory" is detected later, the serial number gives an
If "bad memory" is detected later, the serial number gives an
excellent way to set a breakpoint on the next run, to capture the
excellent way to set a breakpoint on the next run, to capture the
instant at which this block was passed out.
instant at which this block was passed out. The static function
bumpserialno() in obmalloc.c is the only place the serial number
is incremented, and exists so you can set such a breakpoint easily.
A malloc-like or free-like function first checks that the FORBIDDENBYTEs
A malloc-like or free-like function first checks that the FORBIDDENBYTEs
at each end are intact. If they've been altered, diagnostic output is
at each end are intact. If they've been altered, diagnostic output is
...
@@ -124,7 +128,9 @@ Py_DEBUG
...
@@ -124,7 +128,9 @@ Py_DEBUG
This is what is generally meant by "a debug build" of Python.
This is what is generally meant by "a debug build" of Python.
Py_DEBUG implies Py_REF_DEBUG, Py_TRACE_REFS, and PYMALLOC_DEBUG (if
Py_DEBUG implies Py_REF_DEBUG, Py_TRACE_REFS, and PYMALLOC_DEBUG (if
WITH_PYMALLOC is enabled).
WITH_PYMALLOC is enabled). In addition, C assert()s are enabled (via
the C way: by not defining NDEBUG), and some routines do additional
sanity checks inside "#ifdef Py_DEBUG" blocks.
---------------------------------------------------------------------------
---------------------------------------------------------------------------
COUNT_ALLOCS
COUNT_ALLOCS
...
...
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