Skip to content

Commit 8928a5e

Browse files
committed
add comment for io.CopyBuffer
2 parents e129ac2 + cd24849 commit 8928a5e

File tree

290 files changed

+622
-222111
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

290 files changed

+622
-222111
lines changed

src/cmd/compile/fmtmap_test.go

Lines changed: 33 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ var knownFormats = map[string]string{
6565
"*math/big.Int %s": "",
6666
"*math/big.Int %v": "",
6767
"[16]byte %x": "",
68-
"[]*cmd/compile/internal/gc.Node %v": "",
6968
"[]*cmd/compile/internal/ssa.Block %v": "",
7069
"[]*cmd/compile/internal/ssa.Value %v": "",
7170
"[][]string %q": "",
@@ -172,36 +171,38 @@ var knownFormats = map[string]string{
172171
"interface{} %s": "",
173172
"interface{} %v": "",
174173
"map[*cmd/compile/internal/gc.Node]*cmd/compile/internal/ssa.Value %v": "",
174+
"map[*cmd/compile/internal/gc.Node][]*cmd/compile/internal/gc.Node %v": "",
175175
"map[cmd/compile/internal/ssa.ID]uint32 %v": "",
176-
"math/big.Accuracy %s": "",
177-
"reflect.Type %s": "",
178-
"rune %#U": "",
179-
"rune %c": "",
180-
"rune %q": "",
181-
"string %-*s": "",
182-
"string %-16s": "",
183-
"string %-6s": "",
184-
"string %.*s": "",
185-
"string %q": "",
186-
"string %s": "",
187-
"string %v": "",
188-
"time.Duration %d": "",
189-
"time.Duration %v": "",
190-
"uint %04x": "",
191-
"uint %5d": "",
192-
"uint %d": "",
193-
"uint %x": "",
194-
"uint16 %d": "",
195-
"uint16 %v": "",
196-
"uint16 %x": "",
197-
"uint32 %#x": "",
198-
"uint32 %d": "",
199-
"uint32 %v": "",
200-
"uint32 %x": "",
201-
"uint64 %08x": "",
202-
"uint64 %d": "",
203-
"uint64 %x": "",
204-
"uint8 %d": "",
205-
"uint8 %x": "",
206-
"uintptr %d": "",
176+
"math/big.Accuracy %s": "",
177+
"reflect.Type %s": "",
178+
"rune %#U": "",
179+
"rune %c": "",
180+
"rune %q": "",
181+
"string %-*s": "",
182+
"string %-16s": "",
183+
"string %-6s": "",
184+
"string %.*s": "",
185+
"string %q": "",
186+
"string %s": "",
187+
"string %v": "",
188+
"time.Duration %d": "",
189+
"time.Duration %v": "",
190+
"uint %04x": "",
191+
"uint %5d": "",
192+
"uint %d": "",
193+
"uint %x": "",
194+
"uint16 %d": "",
195+
"uint16 %v": "",
196+
"uint16 %x": "",
197+
"uint32 %#x": "",
198+
"uint32 %d": "",
199+
"uint32 %v": "",
200+
"uint32 %x": "",
201+
"uint64 %08x": "",
202+
"uint64 %d": "",
203+
"uint64 %x": "",
204+
"uint8 %d": "",
205+
"uint8 %v": "",
206+
"uint8 %x": "",
207+
"uintptr %d": "",
207208
}

src/cmd/compile/internal/gc/class_string.go

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/cmd/compile/internal/gc/init.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ func renameinit() *types.Sym {
3131
// 2) Initialize all the variables that have initializers.
3232
// 3) Run any init functions.
3333
func fninit(n []*Node) {
34-
nf := initfix(n)
34+
nf := initOrder(n)
3535

3636
var deps []*obj.LSym // initTask records for packages the current package depends on
3737
var fns []*obj.LSym // functions to call for package initialization

0 commit comments

Comments
 (0)