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 624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
635 int32 runtime·gentraceback(byte*, byte*, byte*, G*, int32, uintptr*, int32); | 635 int32 runtime·gentraceback(byte*, byte*, byte*, G*, int32, uintptr*, int32); |
636 int64 runtime·nanotime(void); | 636 int64 runtime·nanotime(void); |
637 void runtime·dopanic(int32); | 637 void runtime·dopanic(int32); |
638 void runtime·startpanic(void); | 638 void runtime·startpanic(void); |
639 void runtime·unwindstack(G*, byte*); | 639 void runtime·unwindstack(G*, byte*); |
640 void runtime·sigprof(uint8 *pc, uint8 *sp, uint8 *lr, G *gp); | 640 void runtime·sigprof(uint8 *pc, uint8 *sp, uint8 *lr, G *gp); |
641 void runtime·resetcpuprofiler(int32); | 641 void runtime·resetcpuprofiler(int32); |
642 void runtime·setcpuprofilerate(void(*)(uintptr*, int32), int32); | 642 void runtime·setcpuprofilerate(void(*)(uintptr*, int32), int32); |
643 void runtime·usleep(uint32); | 643 void runtime·usleep(uint32); |
644 int64 runtime·cputicks(void); | 644 int64 runtime·cputicks(void); |
| 645 int64 runtime·tickspersecond(void); |
| 646 void runtime·blockevent(int64, int32); |
| 647 extern int64 runtime·blockprofilerate; |
645 | 648 |
646 #pragma varargck argpos runtime·printf 1 | 649 #pragma varargck argpos runtime·printf 1 |
647 #pragma varargck type "d" int32 | 650 #pragma varargck type "d" int32 |
648 #pragma varargck type "d" uint32 | 651 #pragma varargck type "d" uint32 |
649 #pragma varargck type "D" int64 | 652 #pragma varargck type "D" int64 |
650 #pragma varargck type "D" uint64 | 653 #pragma varargck type "D" uint64 |
651 #pragma varargck type "x" int32 | 654 #pragma varargck type "x" int32 |
652 #pragma varargck type "x" uint32 | 655 #pragma varargck type "x" uint32 |
653 #pragma varargck type "X" int64 | 656 #pragma varargck type "X" int64 |
654 #pragma varargck type "X" uint64 | 657 #pragma varargck type "X" uint64 |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
837 extern float64 runtime·neginf; | 840 extern float64 runtime·neginf; |
838 extern uint64 ·nan; | 841 extern uint64 ·nan; |
839 extern uint64 ·posinf; | 842 extern uint64 ·posinf; |
840 extern uint64 ·neginf; | 843 extern uint64 ·neginf; |
841 #define ISNAN(f) ((f) != (f)) | 844 #define ISNAN(f) ((f) != (f)) |
842 | 845 |
843 enum | 846 enum |
844 { | 847 { |
845 UseSpanType = 1, | 848 UseSpanType = 1, |
846 }; | 849 }; |
LEFT | RIGHT |