/prebuilts/go/linux-x86/misc/cgo/testsanitizers/ |
test.bash | 2 # Copyright 2015 The Go Authors. All rights reserved. 6 # This directory is intended to test the use of Go with sanitizers 42 # don't work with Go. 72 goos=$(go env GOOS) 78 go build -msan -buildmode=c-shared $suffix -o ${TMPDIR}/libmsanshared.$libext msan_shared.go 81 $CC $(go env GOGCCFLAGS) -fsanitize=memory -o ${TMPDIR}/testmsanshared ${TMPDIR}/testmsanshared.c ${TMPDIR}/libmsanshared.$libext 91 if ! go build -msan std; then 96 if ! go run -msan msan.go; the [all...] |
/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug206.go | 3 // Copyright 2009 The Go Authors. All rights reserved. 9 import "go/ast"; 36 throw+0x33 /home/gri/go/src/pkg/runtime/runtime.c:71 38 sys·throwindex+0x1c /home/gri/go/src/pkg/runtime/runtime.c:45 40 main·f+0x26 /home/gri/go/test/bugs/bug206.go:16 42 main·main+0xc3 /home/gri/go/test/bugs/bug206.go:23 44 mainstart+0xf /home/gri/go/src/pkg/runtime/amd64/asm.s:55 46 goexit /home/gri/go/src/pkg/runtime/proc.c:13 [all...] |
bug248.go | 4 // Copyright 2009 The Go Authors. All rights reserved. 25 run("go", "tool", "compile", "bug0.go") 26 run("go", "tool", "compile", "bug1.go") 27 run("go", "tool", "compile", "bug2.go") 28 run(errchk, "go", "tool", "compile", "-e", "bug3.go") 29 run("go", "tool", "link", "bug2.o" [all...] |
issue9862_run.go | 4 // Copyright 2015 The Go Authors. All rights reserved. 18 out, err := exec.Command("go", "run", "fixedbugs/issue9862.go").CombinedOutput() 21 println("go run issue9862.go succeeded, should have failed\n", outstr) 25 println("go run issue9862.go gave unexpected error; want symbol too large:\n", outstr)
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
bug206.go | 3 // Copyright 2009 The Go Authors. All rights reserved. 9 import "go/ast"; 36 throw+0x33 /home/gri/go/src/pkg/runtime/runtime.c:71 38 sys·throwindex+0x1c /home/gri/go/src/pkg/runtime/runtime.c:45 40 main·f+0x26 /home/gri/go/test/bugs/bug206.go:16 42 main·main+0xc3 /home/gri/go/test/bugs/bug206.go:23 44 mainstart+0xf /home/gri/go/src/pkg/runtime/amd64/asm.s:55 46 goexit /home/gri/go/src/pkg/runtime/proc.c:13 [all...] |
bug248.go | 4 // Copyright 2009 The Go Authors. All rights reserved. 25 run("go", "tool", "compile", "bug0.go") 26 run("go", "tool", "compile", "bug1.go") 27 run("go", "tool", "compile", "bug2.go") 28 run(errchk, "go", "tool", "compile", "-e", "bug3.go") 29 run("go", "tool", "link", "bug2.o" [all...] |
issue9862_run.go | 4 // Copyright 2015 The Go Authors. All rights reserved. 18 out, err := exec.Command("go", "run", "fixedbugs/issue9862.go").CombinedOutput() 21 println("go run issue9862.go succeeded, should have failed\n", outstr) 25 println("go run issue9862.go gave unexpected error; want symbol too large:\n", outstr)
|
/prebuilts/go/darwin-x86/src/runtime/race/testdata/ |
comp_test.go | 1 // Copyright 2012 The Go Authors. All rights reserved. 22 go func() { 33 go func() { 44 go func() { 55 go func() { 66 go func() { 78 go func() { 92 go func() { 103 go func() { 115 go func() [all...] |
chan_test.go | 1 // Copyright 2011 The Go Authors. All rights reserved. 16 go func() { 27 go func() { 38 go func() { 49 go func() { 60 go func() { 76 go func() { 87 go func() { 99 go func() { 115 go func() [all...] |
/prebuilts/go/darwin-x86/test/ |
linkmain_run.go | 4 // Copyright 2014 The Go Authors. All rights reserved. 54 // helloworld.go is package main 55 run("go tool compile -o linkmain.o helloworld.go") 56 run("go tool compile -pack -o linkmain.a helloworld.go") 57 run("go tool link -o linkmain.exe linkmain.o") 58 run("go tool link -o linkmain.exe linkmain.a") 60 // linkmain.go is not 61 run("go tool compile -o linkmain1.o linkmain.go" [all...] |
/prebuilts/go/linux-x86/src/runtime/race/testdata/ |
comp_test.go | 1 // Copyright 2012 The Go Authors. All rights reserved. 22 go func() { 33 go func() { 44 go func() { 55 go func() { 66 go func() { 78 go func() { 92 go func() { 103 go func() { 115 go func() [all...] |
chan_test.go | 1 // Copyright 2011 The Go Authors. All rights reserved. 16 go func() { 27 go func() { 38 go func() { 49 go func() { 60 go func() { 76 go func() { 87 go func() { 99 go func() { 115 go func() [all...] |
/prebuilts/go/linux-x86/test/ |
linkmain_run.go | 4 // Copyright 2014 The Go Authors. All rights reserved. 54 // helloworld.go is package main 55 run("go tool compile -o linkmain.o helloworld.go") 56 run("go tool compile -pack -o linkmain.a helloworld.go") 57 run("go tool link -o linkmain.exe linkmain.o") 58 run("go tool link -o linkmain.exe linkmain.a") 60 // linkmain.go is not 61 run("go tool compile -o linkmain1.o linkmain.go" [all...] |
/prebuilts/go/darwin-x86/src/runtime/testdata/testprog/ |
map.go | 1 // Copyright 2016 The Go Authors. All rights reserved. 18 go func() { 25 go func() { 39 go func() { 46 go func() { 60 go func() { 67 go func() {
|
/prebuilts/go/linux-x86/src/runtime/testdata/testprog/ |
map.go | 1 // Copyright 2016 The Go Authors. All rights reserved. 18 go func() { 25 go func() { 39 go func() { 46 go func() { 60 go func() { 67 go func() {
|
/prebuilts/go/darwin-x86/src/runtime/ |
runtime.go | 1 // Copyright 2009 The Go Authors. All rights reserved. 9 _ "unsafe" // for go:linkname 12 //go:generate go run wincallback.go 13 //go:generate go run mkduff.go 14 //go:generate go run mkfastlog2table.g [all...] |
/prebuilts/go/linux-x86/src/runtime/ |
runtime.go | 1 // Copyright 2009 The Go Authors. All rights reserved. 9 _ "unsafe" // for go:linkname 12 //go:generate go run wincallback.go 13 //go:generate go run mkduff.go 14 //go:generate go run mkfastlog2table.g [all...] |
/external/flatbuffers/samples/ |
go_sample.sh | 17 # Note: This script runs on Mac and Linux. It requires `go` to be installed 33 ../flatc --go monster.fbs 35 ../Debug/flatc --go monster.fbs 42 echo Compiling and running the Go sample. 44 # Go requires a particular layout of files in order to link the necessary 48 mkdir -p ${sampledir}/go_gen/src/github.com/google/flatbuffers/go 49 cp MyGame/Sample/*.go ${sampledir}/go_gen/src/MyGame/Sample/ 50 cp ${sampledir}/../go/* ${sampledir}/go_gen/src/github.com/google/flatbuffers/go 52 # Export the `GOPATH`, so that `go` will know which directories to search fo [all...] |
/external/protobuf/examples/ |
Makefile | 8 go: add_person_go list_people_go 18 rm -f protoc_middleman_go tutorial/*.pb.go add_person_go list_people_go 29 mkdir tutorial # make directory for go package 41 add_person_go: add_person.go protoc_middleman_go 42 go build -o add_person_go add_person.go 44 add_person_gotest: add_person_test.go add_person_go 45 go test add_person.go add_person_test.go [all...] |
/prebuilts/go/darwin-x86/src/cmd/internal/obj/ |
zbootstrap.go | 1 // auto generated by go tool dist 7 const defaultGOROOT = `./prebuilts/go/darwin-x86`
|
/prebuilts/go/darwin-x86/src/ |
run.bash | 2 # Copyright 2009 The Go Authors. All rights reserved. 8 eval $(go env) 39 exec go tool dist test -rebuild "$@"
|
/prebuilts/go/darwin-x86/src/runtime/internal/sys/ |
zgoos_android.go | 1 // generated by gengoos.go using 'go generate'
|
zgoos_darwin.go | 1 // generated by gengoos.go using 'go generate'
|
zgoos_dragonfly.go | 1 // generated by gengoos.go using 'go generate'
|
zgoos_freebsd.go | 1 // generated by gengoos.go using 'go generate'
|