Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
6ea866c0
Commit
6ea866c0
authored
Nov 06, 2009
by
David Symonds
Committed by
Russ Cox
Nov 06, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Typo fixes.
R=rsc CC=go-dev
http://go/go-review/1026014
parent
f74beebb
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
src/pkg/asn1/asn1.go
src/pkg/asn1/asn1.go
+1
-1
src/pkg/compress/flate/inflate.go
src/pkg/compress/flate/inflate.go
+1
-1
src/pkg/exp/ogle/abort.go
src/pkg/exp/ogle/abort.go
+1
-1
src/pkg/exp/ogle/process.go
src/pkg/exp/ogle/process.go
+1
-1
src/pkg/log/log.go
src/pkg/log/log.go
+1
-1
src/pkg/rpc/server.go
src/pkg/rpc/server.go
+1
-1
No files found.
src/pkg/asn1/asn1.go
View file @
6ea866c0
...
...
@@ -442,7 +442,7 @@ func parseTagAndLength(bytes []byte, initOffset int) (ret tagAndLength, offset i
//
// (This is used in order to remove ambiguity with optional elements.)
//
// You can layer EXPLICIT and IMPLICIT tags to an arbitary depth, however we
// You can layer EXPLICIT and IMPLICIT tags to an arbit
r
ary depth, however we
// don't support that here. We support a single layer of EXPLICIT or IMPLICIT
// tagging with tag strings on the fields of a structure.
...
...
src/pkg/compress/flate/inflate.go
View file @
6ea866c0
...
...
@@ -358,7 +358,7 @@ func (f *inflater) readHuffman() os.Error {
// Decode a single Huffman block from f.
// hl and hd are the Huffman states for the lit/length values
// and the distance values, respectively. If hd == nil, using the
// fixed distance encoding assocated with fixed Huffman blocks.
// fixed distance encoding assoc
i
ated with fixed Huffman blocks.
func
(
f
*
inflater
)
decodeBlock
(
hl
,
hd
*
huffmanDecoder
)
os
.
Error
{
for
{
v
,
err
:=
f
.
huffSym
(
hl
);
...
...
src/pkg/exp/ogle/abort.go
View file @
6ea866c0
...
...
@@ -9,7 +9,7 @@ import (
"runtime"
;
)
// An aborter aborts the thread's current comput
ut
ation, usually
// An aborter aborts the thread's current computation, usually
// passing the error to a waiting thread.
type
aborter
interface
{
Abort
(
err
os
.
Error
);
...
...
src/pkg/exp/ogle/process.go
View file @
6ea866c0
...
...
@@ -482,7 +482,7 @@ func (p *Process) Event() Event { return p.event }
// but it's still weird if an event happens after the Cont and before
// the WaitStop that the handlers say to continue from. Or we could
// handle them on a separate thread. Then obviously you get weird
// asynchron
y
things, like prints while the user it typing a command,
// asynchron
ous
things, like prints while the user it typing a command,
// but that's not necessarily a bad thing.
// ContWait resumes process execution and waits for an event to occur
...
...
src/pkg/log/log.go
View file @
6ea866c0
...
...
@@ -147,7 +147,7 @@ func (l *Logger) Output(calldepth int, s string) {
// Logf is analogous to Printf() for a Logger.
func
(
l
*
Logger
)
Logf
(
format
string
,
v
...
)
{
l
.
Output
(
2
,
fmt
.
Sprintf
(
format
,
v
))
}
// Log is analogou
t
s to Print() for a Logger.
// Log is analogous to Print() for a Logger.
func
(
l
*
Logger
)
Log
(
v
...
)
{
l
.
Output
(
2
,
fmt
.
Sprintln
(
v
))
}
// Stdout is a helper function for easy logging to stdout. It is analogous to Print().
...
...
src/pkg/rpc/server.go
View file @
6ea866c0
...
...
@@ -168,7 +168,7 @@ type serverType struct {
// For example, rpc.Register() calls server.add().
var
server
=
&
serverType
{
serviceMap
:
make
(
map
[
string
]
*
service
)}
// Is this a publicly vis
l
ble - upper case - name?
// Is this a publicly vis
i
ble - upper case - name?
func
isPublic
(
name
string
)
bool
{
rune
,
_
:=
utf8
.
DecodeRuneInString
(
name
);
return
unicode
.
IsUpper
(
rune
);
...
...
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