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
53bb548f
Kaydet (Commit)
53bb548f
authored
Eki 10, 2011
tarafından
Antoine Pitrou
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Avoid exporting private helpers
(thanks "make smelly")
üst
86fe8605
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
unicodeobject.c
Objects/unicodeobject.c
+6
-6
No files found.
Objects/unicodeobject.c
Dosyayı görüntüle @
53bb548f
...
@@ -641,7 +641,7 @@ resize_copy(PyObject *unicode, Py_ssize_t length)
...
@@ -641,7 +641,7 @@ resize_copy(PyObject *unicode, Py_ssize_t length)
*/
*/
#ifdef Py_DEBUG
#ifdef Py_DEBUG
int unicode_old_new_calls = 0;
static
int unicode_old_new_calls = 0;
#endif
#endif
static PyUnicodeObject *
static PyUnicodeObject *
...
@@ -752,7 +752,7 @@ unicode_kind_name(PyObject *unicode)
...
@@ -752,7 +752,7 @@ unicode_kind_name(PyObject *unicode)
}
}
#ifdef Py_DEBUG
#ifdef Py_DEBUG
int unicode_new_new_calls = 0;
static
int unicode_new_new_calls = 0;
/* Functions wrapping macros for use in debugger */
/* Functions wrapping macros for use in debugger */
char *_PyUnicode_utf8(void *unicode){
char *_PyUnicode_utf8(void *unicode){
...
@@ -1181,7 +1181,7 @@ find_maxchar_surrogates(const wchar_t *begin, const wchar_t *end,
...
@@ -1181,7 +1181,7 @@ find_maxchar_surrogates(const wchar_t *begin, const wchar_t *end,
}
}
#ifdef Py_DEBUG
#ifdef Py_DEBUG
int unicode_ready_calls = 0;
static
int unicode_ready_calls = 0;
#endif
#endif
static int
static int
...
@@ -1780,7 +1780,7 @@ PyUnicode_FromKindAndData(int kind, const void *buffer, Py_ssize_t size)
...
@@ -1780,7 +1780,7 @@ PyUnicode_FromKindAndData(int kind, const void *buffer, Py_ssize_t size)
/* Ensure that a string uses the most efficient storage, if it is not the
/* Ensure that a string uses the most efficient storage, if it is not the
case: create a new string with of the right kind. Write NULL into *p_unicode
case: create a new string with of the right kind. Write NULL into *p_unicode
on error. */
on error. */
void
static
void
unicode_adjust_maxchar(PyObject **p_unicode)
unicode_adjust_maxchar(PyObject **p_unicode)
{
{
PyObject *unicode, *copy;
PyObject *unicode, *copy;
...
@@ -3321,7 +3321,7 @@ PyUnicode_AsUTF8(PyObject *unicode)
...
@@ -3321,7 +3321,7 @@ PyUnicode_AsUTF8(PyObject *unicode)
}
}
#ifdef Py_DEBUG
#ifdef Py_DEBUG
int unicode_as_unicode_calls = 0;
static
int unicode_as_unicode_calls = 0;
#endif
#endif
...
@@ -5517,7 +5517,7 @@ PyUnicode_AsUTF16String(PyObject *unicode)
...
@@ -5517,7 +5517,7 @@ PyUnicode_AsUTF16String(PyObject *unicode)
pop out of ASCII range. Otherwise returns the length of the
pop out of ASCII range. Otherwise returns the length of the
required buffer to hold the string.
required buffer to hold the string.
*/
*/
Py_ssize_t
static
Py_ssize_t
length_of_escaped_ascii_string(const char *s, Py_ssize_t size)
length_of_escaped_ascii_string(const char *s, Py_ssize_t size)
{
{
const unsigned char *p = (const unsigned char *)s;
const unsigned char *p = (const unsigned char *)s;
...
...
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