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

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

Issue 855046: code review 855046: runtime: delete malx, skip_depth argument to malloc (Closed)
Patch Set: code review 855046: runtime: delete malx, skip_depth argument to malloc Created 14 years, 11 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/mprof.cgo ('k') | src/pkg/runtime/slice.c » ('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 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 void throw(int8*); 376 void throw(int8*);
377 void panicstring(int8*); 377 void panicstring(int8*);
378 uint32 rnd(uint32, uint32); 378 uint32 rnd(uint32, uint32);
379 void prints(int8*); 379 void prints(int8*);
380 void printf(int8*, ...); 380 void printf(int8*, ...);
381 byte* mchr(byte*, byte, byte*); 381 byte* mchr(byte*, byte, byte*);
382 void mcpy(byte*, byte*, uint32); 382 void mcpy(byte*, byte*, uint32);
383 int32 mcmp(byte*, byte*, uint32); 383 int32 mcmp(byte*, byte*, uint32);
384 void memmove(void*, void*, uint32); 384 void memmove(void*, void*, uint32);
385 void* mal(uintptr); 385 void* mal(uintptr);
386 void* malx(uintptr size, int32 skip_delta);
387 uint32 cmpstring(String, String); 386 uint32 cmpstring(String, String);
388 String catstring(String, String); 387 String catstring(String, String);
389 String gostring(byte*); 388 String gostring(byte*);
390 String gostringw(uint16*); 389 String gostringw(uint16*);
391 void initsig(void); 390 void initsig(void);
392 int32 gotraceback(void); 391 int32 gotraceback(void);
393 void traceback(uint8 *pc, uint8 *sp, uint8 *lr, G* gp); 392 void traceback(uint8 *pc, uint8 *sp, uint8 *lr, G* gp);
394 void tracebackothers(G*); 393 void tracebackothers(G*);
395 int32 open(byte*, int32, ...); 394 int32 open(byte*, int32, ...);
396 int32 write(int32, void*, int32); 395 int32 write(int32, void*, int32);
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
581 580
582 Hchan* makechan(Type*, uint32); 581 Hchan* makechan(Type*, uint32);
583 void chansend(Hchan*, void*, bool*); 582 void chansend(Hchan*, void*, bool*);
584 void chanrecv(Hchan*, void*, bool*); 583 void chanrecv(Hchan*, void*, bool*);
585 void chanclose(Hchan*); 584 void chanclose(Hchan*);
586 bool chanclosed(Hchan*); 585 bool chanclosed(Hchan*);
587 int32 chanlen(Hchan*); 586 int32 chanlen(Hchan*);
588 int32 chancap(Hchan*); 587 int32 chancap(Hchan*);
589 588
590 void ifaceE2I(struct InterfaceType*, Eface, Iface*); 589 void ifaceE2I(struct InterfaceType*, Eface, Iface*);
OLDNEW
« no previous file with comments | « src/pkg/runtime/mprof.cgo ('k') | src/pkg/runtime/slice.c » ('j') | no next file with comments »

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