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
8f06247b
Kaydet (Commit)
8f06247b
authored
Agu 14, 1997
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Added buffer_info() docs.
üst
98046b90
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
libarray.tex
Doc/lib/libarray.tex
+10
-0
libarray.tex
Doc/libarray.tex
+10
-0
No files found.
Doc/lib/libarray.tex
Dosyayı görüntüle @
8f06247b
...
@@ -60,6 +60,16 @@ The length in bytes of one array item in the internal representation.
...
@@ -60,6 +60,16 @@ The length in bytes of one array item in the internal representation.
Append a new item with value
\var
{
x
}
to the end of the array.
Append a new item with value
\var
{
x
}
to the end of the array.
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
buffer
_
info
}{}
Return a tuple
\code
{
(
\var
{
address
}
, var
{
length
}
)
}
giving the current
memory address and the length in bytes of the buffer used to hold
array's contents. This is occasionally useful when working with
low-level (and inherently unsafe) I/O interfaces that require memory
addresses, such as certain
\code
{
ioctl
}
operations. The returned
numbers are valid as long as the array exists and no length-changing
operations are applied to it.
\end{funcdesc}
\begin{funcdesc}
{
byteswap
}{
x
}
\begin{funcdesc}
{
byteswap
}{
x
}
``Byteswap'' all items of the array. This is only supported for
``Byteswap'' all items of the array. This is only supported for
integer values. It is useful when reading data from a file written
integer values. It is useful when reading data from a file written
...
...
Doc/libarray.tex
Dosyayı görüntüle @
8f06247b
...
@@ -60,6 +60,16 @@ The length in bytes of one array item in the internal representation.
...
@@ -60,6 +60,16 @@ The length in bytes of one array item in the internal representation.
Append a new item with value
\var
{
x
}
to the end of the array.
Append a new item with value
\var
{
x
}
to the end of the array.
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
buffer
_
info
}{}
Return a tuple
\code
{
(
\var
{
address
}
, var
{
length
}
)
}
giving the current
memory address and the length in bytes of the buffer used to hold
array's contents. This is occasionally useful when working with
low-level (and inherently unsafe) I/O interfaces that require memory
addresses, such as certain
\code
{
ioctl
}
operations. The returned
numbers are valid as long as the array exists and no length-changing
operations are applied to it.
\end{funcdesc}
\begin{funcdesc}
{
byteswap
}{
x
}
\begin{funcdesc}
{
byteswap
}{
x
}
``Byteswap'' all items of the array. This is only supported for
``Byteswap'' all items of the array. This is only supported for
integer values. It is useful when reading data from a file written
integer values. It is useful when reading data from a file written
...
...
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