OLD | NEW |
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 844 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
855 int32 runtime·funcspdelta(Func*, uintptr); | 855 int32 runtime·funcspdelta(Func*, uintptr); |
856 int8* runtime·funcname(Func*); | 856 int8* runtime·funcname(Func*); |
857 int32 runtime·pcdatavalue(Func*, int32, uintptr); | 857 int32 runtime·pcdatavalue(Func*, int32, uintptr); |
858 void runtime·stackinit(void); | 858 void runtime·stackinit(void); |
859 void* runtime·stackalloc(G*, uint32); | 859 void* runtime·stackalloc(G*, uint32); |
860 void runtime·stackfree(G*, void*, Stktop*); | 860 void runtime·stackfree(G*, void*, Stktop*); |
861 void runtime·shrinkstack(G*); | 861 void runtime·shrinkstack(G*); |
862 MCache* runtime·allocmcache(void); | 862 MCache* runtime·allocmcache(void); |
863 void runtime·freemcache(MCache*); | 863 void runtime·freemcache(MCache*); |
864 void runtime·mallocinit(void); | 864 void runtime·mallocinit(void); |
| 865 void runtime·chaninit(void); |
865 bool runtime·ifaceeq_c(Iface, Iface); | 866 bool runtime·ifaceeq_c(Iface, Iface); |
866 bool runtime·efaceeq_c(Eface, Eface); | 867 bool runtime·efaceeq_c(Eface, Eface); |
867 uintptr runtime·ifacehash(Iface, uintptr); | 868 uintptr runtime·ifacehash(Iface, uintptr); |
868 uintptr runtime·efacehash(Eface, uintptr); | 869 uintptr runtime·efacehash(Eface, uintptr); |
869 void* runtime·malloc(uintptr size); | 870 void* runtime·malloc(uintptr size); |
870 void runtime·free(void *v); | 871 void runtime·free(void *v); |
871 void runtime·runpanic(Panic*); | 872 void runtime·runpanic(Panic*); |
872 uintptr runtime·getcallersp(void*); | 873 uintptr runtime·getcallersp(void*); |
873 int32 runtime·mcount(void); | 874 int32 runtime·mcount(void); |
874 int32 runtime·gcount(void); | 875 int32 runtime·gcount(void); |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1130 extern float64 runtime·neginf; | 1131 extern float64 runtime·neginf; |
1131 extern uint64 ·nan; | 1132 extern uint64 ·nan; |
1132 extern uint64 ·posinf; | 1133 extern uint64 ·posinf; |
1133 extern uint64 ·neginf; | 1134 extern uint64 ·neginf; |
1134 #define ISNAN(f) ((f) != (f)) | 1135 #define ISNAN(f) ((f) != (f)) |
1135 | 1136 |
1136 enum | 1137 enum |
1137 { | 1138 { |
1138 UseSpanType = 1, | 1139 UseSpanType = 1, |
1139 }; | 1140 }; |
OLD | NEW |