Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
de7361bf
Commit
de7361bf
authored
Mar 02, 2012
by
Robert Griesemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
all: more typos
R=golang-dev, bradfitz, r CC=golang-dev
https://golang.org/cl/5720044
parent
a3caf073
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
build.go
src/cmd/go/build.go
+1
-1
ecdsa.go
src/pkg/crypto/ecdsa/ecdsa.go
+1
-1
parser.go
src/pkg/go/printer/testdata/parser.go
+1
-1
pipe.go
src/pkg/io/pipe.go
+1
-1
exec_plan9.go
src/pkg/syscall/exec_plan9.go
+2
-2
No files found.
src/cmd/go/build.go
View file @
de7361bf
...
...
@@ -992,7 +992,7 @@ func relPaths(paths []string) []string {
var
errPrintedOutput
=
errors
.
New
(
"already printed output - no need to show error"
)
// run runs the command given by cmdline in the directory dir.
// If the commnd fails, run prints information about the failure
// If the comm
a
nd fails, run prints information about the failure
// and returns a non-nil error.
func
(
b
*
builder
)
run
(
dir
,
shortenDir
string
,
desc
string
,
cmdargs
...
interface
{})
error
{
out
,
err
:=
b
.
runOut
(
dir
,
desc
,
cmdargs
...
)
...
...
src/pkg/crypto/ecdsa/ecdsa.go
View file @
de7361bf
...
...
@@ -7,7 +7,7 @@
package
ecdsa
// References:
// [NSA]: Suite B implement
o
r's guide to FIPS 186-3,
// [NSA]: Suite B implement
e
r's guide to FIPS 186-3,
// http://www.nsa.gov/ia/_files/ecdsa.pdf
// [SECG]: SECG, SEC1
// http://www.secg.org/download/aid-780/sec1-v2.pdf
...
...
src/pkg/go/printer/testdata/parser.go
View file @
de7361bf
...
...
@@ -52,7 +52,7 @@ type parser struct {
// Non-syntactic parser control
exprLev
int
// < 0: in control clause, >= 0: in expression
// Ordinary identifer scopes
// Ordinary identif
i
er scopes
pkgScope
*
ast
.
Scope
// pkgScope.Outer == nil
topScope
*
ast
.
Scope
// top-most scope; may be pkgScope
unresolved
[]
*
ast
.
Ident
// unresolved identifiers
...
...
src/pkg/io/pipe.go
View file @
de7361bf
...
...
@@ -178,7 +178,7 @@ func (w *PipeWriter) CloseWithError(err error) error {
// It is safe to call Read and Write in parallel with each other or with
// Close. Close will complete once pending I/O is done. Parallel calls to
// Read, and parallel calls to Write, are also safe:
// the invidual calls will be gated sequentially.
// the in
di
vidual calls will be gated sequentially.
func
Pipe
()
(
*
PipeReader
,
*
PipeWriter
)
{
p
:=
new
(
pipe
)
p
.
rwait
.
L
=
&
p
.
l
...
...
src/pkg/syscall/exec_plan9.go
View file @
de7361bf
...
...
@@ -71,13 +71,13 @@ func StringSlicePtr(ss []string) []*byte {
return
bb
}
// gbit16 reads a 16-bit numeric value from a 9P protocol message st
r
ored in b,
// gbit16 reads a 16-bit numeric value from a 9P protocol message stored in b,
// returning the value and the remaining slice of b.
func
gbit16
(
b
[]
byte
)
(
uint16
,
[]
byte
)
{
return
uint16
(
b
[
0
])
|
uint16
(
b
[
1
])
<<
8
,
b
[
2
:
]
}
// gstring reads a string from a 9P protocol message st
r
ored in b,
// gstring reads a string from a 9P protocol message stored in b,
// returning the value as a Go string and the remaining slice of b.
func
gstring
(
b
[]
byte
)
(
string
,
[]
byte
)
{
n
,
b
:=
gbit16
(
b
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment