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

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

Issue 157106: x[lo:] (Closed)
Patch Set: code review 157106: x[lo:] - gc and runtime. Created 15 years, 4 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/hashmap.h ('k') | src/pkg/runtime/runtime.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 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 void goargs(void); 335 void goargs(void);
336 void FLUSH(void*); 336 void FLUSH(void*);
337 void* getu(void); 337 void* getu(void);
338 void throw(int8*); 338 void throw(int8*);
339 uint32 rnd(uint32, uint32); 339 uint32 rnd(uint32, uint32);
340 void prints(int8*); 340 void prints(int8*);
341 void printf(int8*, ...); 341 void printf(int8*, ...);
342 byte* mchr(byte*, byte, byte*); 342 byte* mchr(byte*, byte, byte*);
343 void mcpy(byte*, byte*, uint32); 343 void mcpy(byte*, byte*, uint32);
344 int32 mcmp(byte*, byte*, uint32); 344 int32 mcmp(byte*, byte*, uint32);
345 void» mmov(byte*, byte*, uint32); 345 void» memmove(void*, void*, uint32);
346 void* mal(uint32); 346 void* mal(uint32);
347 uint32 cmpstring(String, String); 347 uint32 cmpstring(String, String);
348 String gostring(byte*); 348 String gostring(byte*);
349 void initsig(void); 349 void initsig(void);
350 int32 gotraceback(void); 350 int32 gotraceback(void);
351 void traceback(uint8 *pc, uint8 *sp, G* gp); 351 void traceback(uint8 *pc, uint8 *sp, G* gp);
352 void tracebackothers(G*); 352 void tracebackothers(G*);
353 int32 open(byte*, int32, ...); 353 int32 open(byte*, int32, ...);
354 int32 write(int32, void*, int32); 354 int32 write(int32, void*, int32);
355 bool cas(uint32*, uint32, uint32); 355 bool cas(uint32*, uint32, uint32);
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 505
506 Hchan* makechan(Type*, uint32); 506 Hchan* makechan(Type*, uint32);
507 void chansend(Hchan*, void*, bool*); 507 void chansend(Hchan*, void*, bool*);
508 void chanrecv(Hchan*, void*, bool*); 508 void chanrecv(Hchan*, void*, bool*);
509 void chanclose(Hchan*); 509 void chanclose(Hchan*);
510 bool chanclosed(Hchan*); 510 bool chanclosed(Hchan*);
511 int32 chanlen(Hchan*); 511 int32 chanlen(Hchan*);
512 int32 chancap(Hchan*); 512 int32 chancap(Hchan*);
513 513
514 void ifaceE2I(struct InterfaceType*, Eface, Iface*); 514 void ifaceE2I(struct InterfaceType*, Eface, Iface*);
OLDNEW
« no previous file with comments | « src/pkg/runtime/hashmap.h ('k') | src/pkg/runtime/runtime.c » ('j') | no next file with comments »

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