HomeSort by relevance Sort by last modified time
    Searched refs:go (Results 701 - 725 of 3824) sorted by null

<<21222324252627282930>>

  /prebuilts/go/darwin-x86/src/go/doc/
headscan.go 1 // Copyright 2011 The Go Authors. All rights reserved.
10 to the comment formatting heuristics in comment.go.
22 "go/doc"
23 "go/parser"
24 "go/token"
37 // ToHTML in comment.go assigns a (possibly blank) ID to each heading
43 return strings.HasSuffix(fi.Name(), ".go") &&
44 !strings.HasSuffix(fi.Name(), "_test.go")
  /prebuilts/go/darwin-x86/src/go/types/
sizes_test.go 1 // Copyright 2016 The Go Authors. All rights reserved.
10 "go/ast"
11 "go/importer"
12 "go/parser"
13 "go/token"
14 "go/types"
21 f, err := parser.ParseFile(fset, "x.go", src, 0)
95 f, err := parser.ParseFile(fset, "x.go", src, 0)
example_test.go 1 // Copyright 2015 The Go Authors. All rights reserved.
12 // This file shows examples of basic usage of the go/types API.
14 // To locate a Go package, use (*go/build.Context).Import.
15 // To load, parse, and type-check a complete Go program
16 // from source, use golang.org/x/tools/go/loader.
21 "go/ast"
22 "go/format"
23 "go/importer"
24 "go/parser
    [all...]
  /prebuilts/go/darwin-x86/src/runtime/
os_plan9.go 1 // Copyright 2010 The Go Authors. All rights reserved.
21 //go:noescape
24 //go:noescape
27 //go:noescape
32 //go:noescape
35 //go:noescape
42 //go:noescape
45 //go:noescape
48 //go:noescape
51 //go:noescap
    [all...]
wincallback.go 1 // Copyright 2014 The Go Authors. All rights reserved.
23 buf.WriteString(`// generated by wincallback.go; run go generate
26 // execute Go implemented callback function. It is not
31 // which Go callback function is executed later on.
48 buf.WriteString(fmt.Sprintf(`// generated by wincallback.go; run go generate
54 err := ioutil.WriteFile("zcallback_windows.go", buf.Bytes(), 0666)
  /prebuilts/go/darwin-x86/src/runtime/testdata/testprog/
deadlock.go 1 // Copyright 2015 The Go Authors. All rights reserved.
54 go func() {
68 go F()
69 go F()
87 go func() {
115 go func() {
129 go f()
149 go func() {
  /prebuilts/go/linux-x86/src/go/doc/
headscan.go 1 // Copyright 2011 The Go Authors. All rights reserved.
10 to the comment formatting heuristics in comment.go.
22 "go/doc"
23 "go/parser"
24 "go/token"
37 // ToHTML in comment.go assigns a (possibly blank) ID to each heading
43 return strings.HasSuffix(fi.Name(), ".go") &&
44 !strings.HasSuffix(fi.Name(), "_test.go")
  /prebuilts/go/linux-x86/src/go/types/
sizes_test.go 1 // Copyright 2016 The Go Authors. All rights reserved.
10 "go/ast"
11 "go/importer"
12 "go/parser"
13 "go/token"
14 "go/types"
21 f, err := parser.ParseFile(fset, "x.go", src, 0)
95 f, err := parser.ParseFile(fset, "x.go", src, 0)
  /prebuilts/go/linux-x86/src/runtime/
os_plan9.go 1 // Copyright 2010 The Go Authors. All rights reserved.
21 //go:noescape
24 //go:noescape
27 //go:noescape
32 //go:noescape
35 //go:noescape
42 //go:noescape
45 //go:noescape
48 //go:noescape
51 //go:noescap
    [all...]
  /prebuilts/go/linux-x86/src/runtime/testdata/testprog/
deadlock.go 1 // Copyright 2015 The Go Authors. All rights reserved.
54 go func() {
68 go F()
69 go F()
87 go func() {
115 go func() {
129 go f()
149 go func() {
  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/mmix/
regt-op.d 22 3c: 9f04afa1 go \$4,\$175,161
37 78: 9f170c00 go \$23,\$12,0
63 e0: 9f3b0c00 go \$59,\$12,0
89 148: 9f17de00 go \$23,\$222,0
115 1b0: 9fdfef00 go \$223,\$239,0
127 1e0: 9f170c00 go \$23,\$12,0
133 1f8: 9f172600 go \$23,\$38,0
  /prebuilts/go/darwin-x86/src/image/color/palette/
gen.go 1 // Copyright 2013 The Go Authors. All rights reserved.
9 // This program generates palette.go. Invoke it as
10 // go run gen.go -output palette.go
16 "go/format"
22 var filename = flag.String("output", "palette.go", "output file name")
29 fmt.Fprintln(&buf, `// Copyright 2013 The Go Authors. All rights reserved.
33 fmt.Fprintln(&buf, "// generated by go run gen.go -output palette.go; DO NOT EDIT"
    [all...]
  /prebuilts/go/linux-x86/src/image/color/palette/
gen.go 1 // Copyright 2013 The Go Authors. All rights reserved.
9 // This program generates palette.go. Invoke it as
10 // go run gen.go -output palette.go
16 "go/format"
22 var filename = flag.String("output", "palette.go", "output file name")
29 fmt.Fprintln(&buf, `// Copyright 2013 The Go Authors. All rights reserved.
33 fmt.Fprintln(&buf, "// generated by go run gen.go -output palette.go; DO NOT EDIT"
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/
iface_test.go 1 // Copyright 2016 The Go Authors. All rights reserved.
42 //go:noinline
55 //go:noinline
98 //go:noinline
111 //go:noinline
125 //go:noinline
  /prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/testdata/
array.go 5 //go:noinline
11 //go:noinline
17 //go:noinline
55 //go:noinline
80 //go:noinline
  /prebuilts/go/darwin-x86/src/cmd/go/
note_test.go 1 // Copyright 2015 The Go Authors. All rights reserved.
8 main "cmd/go"
9 "go/build"
34 tg.tempFile("hello.go", `package main; func main() { print("hello, world\n") }`)
36 tg.run("build", "-ldflags", "-buildid="+buildID, "-o", tg.path("hello.exe"), tg.path("hello.go"))
56 tg.run("build", "-ldflags", "-buildid="+buildID+" -linkmode=external", "-o", tg.path("hello.exe"), tg.path("hello.go"))
  /prebuilts/go/darwin-x86/src/cmd/vet/testdata/
shadow.go 1 // Copyright 2013 The Go Authors. All rights reserved.
20 _, err := f.Read(buf) // ERROR "declaration of .err. shadows declaration at testdata/shadow.go:13"
28 x := one() // ERROR "declaration of .x. shadows declaration at testdata/shadow.go:14"
29 var _, err = f.Read(buf) // ERROR "declaration of .err. shadows declaration at testdata/shadow.go:13"
36 go func() {
49 var x int // ERROR "declaration of .x. shadows declaration at testdata/shadow.go:14"
  /prebuilts/go/darwin-x86/src/go/ast/
filter_test.go 1 // Copyright 2013 The Go Authors. All rights reserved.
5 // To avoid a cyclic dependency with go/parser, this file is in a separate package.
11 "go/ast"
12 "go/format"
13 "go/parser"
14 "go/token"
  /prebuilts/go/darwin-x86/src/sync/
runtime.go 1 // Copyright 2012 The Go Authors. All rights reserved.
25 // Approximation of notifyList in runtime/sema.go. Size and alignment must
35 // See runtime/sema.go for documentation.
38 // See runtime/sema.go for documentation.
41 // See runtime/sema.go for documentation.
44 // See runtime/sema.go for documentation.
  /prebuilts/go/darwin-x86/test/fixedbugs/
bug484.go 3 // Copyright 2014 The Go Authors. All rights reserved.
26 //go:noinline
32 //go:noinline
44 //go:noinline
48 //go:noinline
61 //go:noinline
  /prebuilts/go/darwin-x86/test/
func5.go 3 // Copyright 2009 The Go Authors. All rights reserved.
17 go caller(f, a, b, c)
76 go addc(1, 2, c)
78 go fc(1, 2, c)
80 go fnc()(1, 2, c)
82 go func(a, b int, c chan int) { c <- a+b }(1, 2, c)
  /prebuilts/go/linux-x86/src/cmd/compile/internal/gc/
iface_test.go 1 // Copyright 2016 The Go Authors. All rights reserved.
42 //go:noinline
55 //go:noinline
98 //go:noinline
111 //go:noinline
125 //go:noinline
  /prebuilts/go/linux-x86/src/cmd/compile/internal/gc/testdata/
array.go 5 //go:noinline
11 //go:noinline
17 //go:noinline
55 //go:noinline
80 //go:noinline
  /prebuilts/go/linux-x86/src/cmd/go/
note_test.go 1 // Copyright 2015 The Go Authors. All rights reserved.
8 main "cmd/go"
9 "go/build"
34 tg.tempFile("hello.go", `package main; func main() { print("hello, world\n") }`)
36 tg.run("build", "-ldflags", "-buildid="+buildID, "-o", tg.path("hello.exe"), tg.path("hello.go"))
56 tg.run("build", "-ldflags", "-buildid="+buildID+" -linkmode=external", "-o", tg.path("hello.exe"), tg.path("hello.go"))
  /prebuilts/go/linux-x86/src/cmd/vet/testdata/
shadow.go 1 // Copyright 2013 The Go Authors. All rights reserved.
20 _, err := f.Read(buf) // ERROR "declaration of .err. shadows declaration at testdata/shadow.go:13"
28 x := one() // ERROR "declaration of .x. shadows declaration at testdata/shadow.go:14"
29 var _, err = f.Read(buf) // ERROR "declaration of .err. shadows declaration at testdata/shadow.go:13"
36 go func() {
49 var x int // ERROR "declaration of .x. shadows declaration at testdata/shadow.go:14"

Completed in 848 milliseconds

<<21222324252627282930>>