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 883 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
894 void runtime·gosched_m(G*); | 894 void runtime·gosched_m(G*); |
895 void runtime·schedtrace(bool); | 895 void runtime·schedtrace(bool); |
896 void runtime·park(bool(*)(G*, void*), void*, String); | 896 void runtime·park(bool(*)(G*, void*), void*, String); |
897 void runtime·parkunlock(Mutex*, String); | 897 void runtime·parkunlock(Mutex*, String); |
898 void runtime·tsleep(int64, String); | 898 void runtime·tsleep(int64, String); |
899 M* runtime·newm(void); | 899 M* runtime·newm(void); |
900 void runtime·goexit(void); | 900 void runtime·goexit(void); |
901 void runtime·asmcgocall(void (*fn)(void*), void*); | 901 void runtime·asmcgocall(void (*fn)(void*), void*); |
902 int32 runtime·asmcgocall_errno(void (*fn)(void*), void*); | 902 int32 runtime·asmcgocall_errno(void (*fn)(void*), void*); |
903 void runtime·entersyscall(void); | 903 void runtime·entersyscall(void); |
| 904 void runtime·reentersyscall(uintptr, uintptr); |
904 void runtime·entersyscallblock(void); | 905 void runtime·entersyscallblock(void); |
905 void runtime·exitsyscall(void); | 906 void runtime·exitsyscall(void); |
906 G* runtime·newproc1(FuncVal*, byte*, int32, int32, void*); | 907 G* runtime·newproc1(FuncVal*, byte*, int32, int32, void*); |
907 bool runtime·sigsend(int32 sig); | 908 bool runtime·sigsend(int32 sig); |
908 intgo runtime·callers(intgo, uintptr*, intgo); | 909 intgo runtime·callers(intgo, uintptr*, intgo); |
909 intgo runtime·gcallers(G*, intgo, uintptr*, intgo); | 910 intgo runtime·gcallers(G*, intgo, uintptr*, intgo); |
910 int64 runtime·nanotime(void); // monotonic time | 911 int64 runtime·nanotime(void); // monotonic time |
911 int64 runtime·unixnanotime(void); // real time, can skip | 912 int64 runtime·unixnanotime(void); // real time, can skip |
912 void runtime·dopanic(int32); | 913 void runtime·dopanic(int32); |
913 void runtime·startpanic(void); | 914 void runtime·startpanic(void); |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1108 extern float64 runtime·neginf; | 1109 extern float64 runtime·neginf; |
1109 extern uint64 ·nan; | 1110 extern uint64 ·nan; |
1110 extern uint64 ·posinf; | 1111 extern uint64 ·posinf; |
1111 extern uint64 ·neginf; | 1112 extern uint64 ·neginf; |
1112 #define ISNAN(f) ((f) != (f)) | 1113 #define ISNAN(f) ((f) != (f)) |
1113 | 1114 |
1114 enum | 1115 enum |
1115 { | 1116 { |
1116 UseSpanType = 1, | 1117 UseSpanType = 1, |
1117 }; | 1118 }; |
LEFT | RIGHT |