☰
Debian Codegraph
@
1.25.14-1
/
/
test
/
linkname.dir
/
linkname1.go
☽
☼
test/linkname.dir/linkname1.go
code
plain
raw
Go
© 2009, 2010, The Go Authors. All rights reserved.
debian/copyright
1
package x
2
3
func indexByte(xs []byte, b byte) int { // ERROR "xs does not escape" "can inline indexByte"
4
for i, x := range xs {
5
if x == b {
6
return i
7
}
8
}
9
return -1
10
}