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
ac965ca1
Kaydet (Commit)
ac965ca1
authored
Eyl 19, 2016
tarafından
Benjamin Peterson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
stop using Py_LL and Py_ULL
üst
41e35f37
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
7 deletions
+3
-7
pyport.h
Include/pyport.h
+0
-4
pythread.h
Include/pythread.h
+2
-2
_datetimemodule.c
Modules/_datetimemodule.c
+1
-1
sha512module.c
Modules/sha512module.c
+0
-0
No files found.
Include/pyport.h
Dosyayı görüntüle @
ac965ca1
...
@@ -715,10 +715,6 @@ extern pid_t forkpty(int *, char *, struct termios *, struct winsize *);
...
@@ -715,10 +715,6 @@ extern pid_t forkpty(int *, char *, struct termios *, struct winsize *);
#pragma error_messages (off,E_END_OF_LOOP_CODE_NOT_REACHED)
#pragma error_messages (off,E_END_OF_LOOP_CODE_NOT_REACHED)
#endif
#endif
/*
* Older Microsoft compilers don't support the C99 long long literal suffixes,
* so these will be defined in PC/pyconfig.h for those compilers.
*/
#ifndef Py_LL
#ifndef Py_LL
#define Py_LL(x) x##LL
#define Py_LL(x) x##LL
#endif
#endif
...
...
Include/pythread.h
Dosyayı görüntüle @
ac965ca1
...
@@ -42,9 +42,9 @@ PyAPI_FUNC(int) PyThread_acquire_lock(PyThread_type_lock, int);
...
@@ -42,9 +42,9 @@ PyAPI_FUNC(int) PyThread_acquire_lock(PyThread_type_lock, int);
/* In the NT API, the timeout is a DWORD and is expressed in milliseconds */
/* In the NT API, the timeout is a DWORD and is expressed in milliseconds */
#if defined (NT_THREADS)
#if defined (NT_THREADS)
#if
(Py_LL(0xFFFFFFFF) * 1000 < PY_TIMEOUT_MAX)
#if
0xFFFFFFFFLL * 1000 < PY_TIMEOUT_MAX
#undef PY_TIMEOUT_MAX
#undef PY_TIMEOUT_MAX
#define PY_TIMEOUT_MAX (
Py_LL(0xFFFFFFFF)
* 1000)
#define PY_TIMEOUT_MAX (
0xFFFFFFFFLL
* 1000)
#endif
#endif
#endif
#endif
...
...
Modules/_datetimemodule.c
Dosyayı görüntüle @
ac965ca1
...
@@ -4206,7 +4206,7 @@ typedef struct tm *(*TM_FUNC)(const time_t *timer, struct tm*);
...
@@ -4206,7 +4206,7 @@ typedef struct tm *(*TM_FUNC)(const time_t *timer, struct tm*);
* 23 hours at 1969-09-30 13:00:00 in Kwajalein. */
* 23 hours at 1969-09-30 13:00:00 in Kwajalein. */
static
long
long
max_fold_seconds
=
24
*
3600
;
static
long
long
max_fold_seconds
=
24
*
3600
;
/* NB: date(1970,1,1).toordinal() == 719163 */
/* NB: date(1970,1,1).toordinal() == 719163 */
static
long
long
epoch
=
Py_LL
(
719163
)
*
24
*
60
*
60
;
static
long
long
epoch
=
719163LL
*
24
*
60
*
60
;
static
long
long
static
long
long
utc_to_seconds
(
int
year
,
int
month
,
int
day
,
utc_to_seconds
(
int
year
,
int
month
,
int
day
,
...
...
Modules/sha512module.c
Dosyayı görüntüle @
ac965ca1
This diff is collapsed.
Click to expand it.
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