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 688 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
699 extern M* runtime·allm; | 699 extern M* runtime·allm; |
700 extern P** runtime·allp; | 700 extern P** runtime·allp; |
701 extern int32 runtime·gomaxprocs; | 701 extern int32 runtime·gomaxprocs; |
702 extern uint32 runtime·needextram; | 702 extern uint32 runtime·needextram; |
703 extern uint32 runtime·panicking; | 703 extern uint32 runtime·panicking; |
704 extern uint32 runtime·gcwaiting; // gc is waiting to run | 704 extern uint32 runtime·gcwaiting; // gc is waiting to run |
705 extern int8* runtime·goos; | 705 extern int8* runtime·goos; |
706 extern int32 runtime·ncpu; | 706 extern int32 runtime·ncpu; |
707 extern bool runtime·iscgo; | 707 extern bool runtime·iscgo; |
708 extern void (*runtime·sysargs)(int32, uint8**); | 708 extern void (*runtime·sysargs)(int32, uint8**); |
709 extern» uint32» runtime·maxstring; | 709 extern» uintptr»runtime·maxstring; |
710 extern uint32 runtime·Hchansize; | 710 extern uint32 runtime·Hchansize; |
711 extern uint32 runtime·cpuid_ecx; | 711 extern uint32 runtime·cpuid_ecx; |
712 extern uint32 runtime·cpuid_edx; | 712 extern uint32 runtime·cpuid_edx; |
713 extern DebugVars runtime·debug; | 713 extern DebugVars runtime·debug; |
714 | 714 |
715 /* | 715 /* |
716 * common functions and data | 716 * common functions and data |
717 */ | 717 */ |
718 int32 runtime·strcmp(byte*, byte*); | 718 int32 runtime·strcmp(byte*, byte*); |
719 byte* runtime·strstr(byte*, byte*); | 719 byte* runtime·strstr(byte*, byte*); |
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1049 extern float64 runtime·neginf; | 1049 extern float64 runtime·neginf; |
1050 extern uint64 ·nan; | 1050 extern uint64 ·nan; |
1051 extern uint64 ·posinf; | 1051 extern uint64 ·posinf; |
1052 extern uint64 ·neginf; | 1052 extern uint64 ·neginf; |
1053 #define ISNAN(f) ((f) != (f)) | 1053 #define ISNAN(f) ((f) != (f)) |
1054 | 1054 |
1055 enum | 1055 enum |
1056 { | 1056 { |
1057 UseSpanType = 1, | 1057 UseSpanType = 1, |
1058 }; | 1058 }; |
OLD | NEW |