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

Side by Side Diff: src/cmd/gc/runtime.go

Issue 5149045: code review 5149045: runtime: append([]byte, string...) (Closed)
Patch Set: diff -r 2904af657e75 https://go.googlecode.com/hg/ Created 13 years, 5 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/cmd/gc/builtin.c.boot ('k') | src/cmd/gc/typecheck.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 // NOTE: If you change this file you must run "./mkbuiltin" 5 // NOTE: If you change this file you must run "./mkbuiltin"
6 // to update builtin.c.boot. This is not done automatically 6 // to update builtin.c.boot. This is not done automatically
7 // to avoid depending on having a working compiler binary. 7 // to avoid depending on having a working compiler binary.
8 8
9 package PACKAGE 9 package PACKAGE
10 10
(...skipping 22 matching lines...) Expand all
33 func printnl() 33 func printnl()
34 func printsp() 34 func printsp()
35 func goprintf() 35 func goprintf()
36 36
37 // filled in by compiler: int n, string, string, ... 37 // filled in by compiler: int n, string, string, ...
38 func concatstring() 38 func concatstring()
39 39
40 // filled in by compiler: Type*, int n, Slice, ... 40 // filled in by compiler: Type*, int n, Slice, ...
41 func append() 41 func append()
42 func appendslice(typ *byte, x any, y []any) any 42 func appendslice(typ *byte, x any, y []any) any
43 func appendstr(typ *byte, x []byte, y string) []byte
43 44
44 func cmpstring(string, string) int 45 func cmpstring(string, string) int
45 func slicestring(string, int, int) string 46 func slicestring(string, int, int) string
46 func slicestring1(string, int) string 47 func slicestring1(string, int) string
47 func intstring(int64) string 48 func intstring(int64) string
48 func slicebytetostring([]byte) string 49 func slicebytetostring([]byte) string
49 func sliceinttostring([]int) string 50 func sliceinttostring([]int) string
50 func stringtoslicebyte(string) []byte 51 func stringtoslicebyte(string) []byte
51 func stringtosliceint(string) []int 52 func stringtosliceint(string) []int
52 func stringiter(string, int) int 53 func stringiter(string, int) int
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 func int64div(int64, int64) int64 122 func int64div(int64, int64) int64
122 func uint64div(uint64, uint64) uint64 123 func uint64div(uint64, uint64) uint64
123 func int64mod(int64, int64) int64 124 func int64mod(int64, int64) int64
124 func uint64mod(uint64, uint64) uint64 125 func uint64mod(uint64, uint64) uint64
125 func float64toint64(float64) int64 126 func float64toint64(float64) int64
126 func float64touint64(float64) uint64 127 func float64touint64(float64) uint64
127 func int64tofloat64(int64) float64 128 func int64tofloat64(int64) float64
128 func uint64tofloat64(uint64) float64 129 func uint64tofloat64(uint64) float64
129 130
130 func complex128div(num complex128, den complex128) (quo complex128) 131 func complex128div(num complex128, den complex128) (quo complex128)
OLDNEW
« no previous file with comments | « src/cmd/gc/builtin.c.boot ('k') | src/cmd/gc/typecheck.c » ('j') | no next file with comments »

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