Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(653)

Side by Side Diff: src/pkg/runtime/runtime.h

Issue 12519044: code review 12519044: runtime: change int32 to intgo in maxstring and concatstring (Closed)
Patch Set: diff -r da11b2a1cbc1 https://code.google.com/p/go/ Created 11 years, 7 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/pkg/runtime/print.c ('k') | src/pkg/runtime/string.goc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 };
OLDNEW
« no previous file with comments | « src/pkg/runtime/print.c ('k') | src/pkg/runtime/string.goc » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b