LEFT | RIGHT |
(no file at all) | |
1 // Copyright 2009 The Go Authors. All rights reserved. | 1 // Copyright 2009 The Go Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style | 2 // Use of this source code is governed by a BSD-style |
3 // license that can be found in the LICENSE file. | 3 // license that can be found in the LICENSE file. |
4 | 4 |
5 /* | 5 /* |
6 * basic types | 6 * basic types |
7 */ | 7 */ |
8 typedef signed char int8; | 8 typedef signed char int8; |
9 typedef unsigned char uint8; | 9 typedef unsigned char uint8; |
10 typedef signed short int16; | 10 typedef signed short int16; |
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
643 int32 runtime·mcount(void); | 643 int32 runtime·mcount(void); |
644 int32 runtime·gcount(void); | 644 int32 runtime·gcount(void); |
645 void runtime·mcall(void(*)(G*)); | 645 void runtime·mcall(void(*)(G*)); |
646 uint32 runtime·fastrand1(void); | 646 uint32 runtime·fastrand1(void); |
647 | 647 |
648 void runtime·exit(int32); | 648 void runtime·exit(int32); |
649 void runtime·breakpoint(void); | 649 void runtime·breakpoint(void); |
650 void runtime·gosched(void); | 650 void runtime·gosched(void); |
651 void runtime·park(void(*)(Lock*), Lock*, int8*); | 651 void runtime·park(void(*)(Lock*), Lock*, int8*); |
652 void runtime·tsleep(int64, int8*); | 652 void runtime·tsleep(int64, int8*); |
| 653 void runtime·addtimer(Timer*); |
| 654 bool runtime·deltimer(Timer*); |
653 M* runtime·newm(void); | 655 M* runtime·newm(void); |
654 void runtime·goexit(void); | 656 void runtime·goexit(void); |
655 void runtime·asmcgocall(void (*fn)(void*), void*); | 657 void runtime·asmcgocall(void (*fn)(void*), void*); |
656 void runtime·entersyscall(void); | 658 void runtime·entersyscall(void); |
657 void runtime·exitsyscall(void); | 659 void runtime·exitsyscall(void); |
658 G* runtime·newproc1(byte*, byte*, int32, int32, void*); | 660 G* runtime·newproc1(byte*, byte*, int32, int32, void*); |
659 bool runtime·sigsend(int32 sig); | 661 bool runtime·sigsend(int32 sig); |
660 int32 runtime·callers(int32, uintptr*, int32); | 662 int32 runtime·callers(int32, uintptr*, int32); |
661 int32 runtime·gentraceback(byte*, byte*, byte*, G*, int32, uintptr*, int32); | 663 int32 runtime·gentraceback(byte*, byte*, byte*, G*, int32, uintptr*, int32); |
662 int64 runtime·nanotime(void); | 664 int64 runtime·nanotime(void); |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
866 extern float64 runtime·neginf; | 868 extern float64 runtime·neginf; |
867 extern uint64 ·nan; | 869 extern uint64 ·nan; |
868 extern uint64 ·posinf; | 870 extern uint64 ·posinf; |
869 extern uint64 ·neginf; | 871 extern uint64 ·neginf; |
870 #define ISNAN(f) ((f) != (f)) | 872 #define ISNAN(f) ((f) != (f)) |
871 | 873 |
872 enum | 874 enum |
873 { | 875 { |
874 UseSpanType = 1, | 876 UseSpanType = 1, |
875 }; | 877 }; |
LEFT | RIGHT |