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
78cee46f
Commit
78cee46f
authored
Dec 15, 2012
by
Mikio Hara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src: gofmt -w -s
R=golang-dev, dsymonds CC=golang-dev
https://golang.org/cl/6935059
parent
0b50a5da
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
colelem.go
src/pkg/exp/locale/collate/colelem.go
+1
-1
map_test.go
src/pkg/runtime/race/testdata/map_test.go
+2
-2
slice_test.go
src/pkg/runtime/race/testdata/slice_test.go
+3
-3
No files found.
src/pkg/exp/locale/collate/colelem.go
View file @
78cee46f
...
...
@@ -128,7 +128,7 @@ func (ce colElem) tertiary() uint8 {
}
else
if
ce
&
ceTypeMask
==
ceType1
{
return
defaultTertiary
}
// ce is a quaternary value.
// ce is a quaternary value.
return
0
}
...
...
src/pkg/runtime/race/testdata/map_test.go
View file @
78cee46f
...
...
@@ -57,7 +57,7 @@ func TestRaceMapRange2(t *testing.T) {
m
:=
make
(
map
[
int
]
int
)
ch
:=
make
(
chan
bool
,
1
)
go
func
()
{
for
_
,
_
=
range
m
{
for
_
=
range
m
{
}
ch
<-
true
}()
...
...
@@ -77,7 +77,7 @@ func TestNoRaceMapRangeRange(t *testing.T) {
}
ch
<-
true
}()
for
_
,
_
=
range
m
{
for
_
=
range
m
{
}
<-
ch
}
...
...
src/pkg/runtime/race/testdata/slice_test.go
View file @
78cee46f
...
...
@@ -252,7 +252,7 @@ func TestRaceSliceRangeAppend(t *testing.T) {
s
=
append
(
s
,
3
)
c
<-
true
}()
for
_
,
_
=
range
s
{
for
_
=
range
s
{
}
<-
c
}
...
...
@@ -264,7 +264,7 @@ func TestNoRaceSliceRangeAppend(t *testing.T) {
_
=
append
(
s
,
3
)
c
<-
true
}()
for
_
,
_
=
range
s
{
for
_
=
range
s
{
}
<-
c
}
...
...
@@ -295,7 +295,7 @@ func TestRaceSliceVarRange(t *testing.T) {
c
:=
make
(
chan
bool
,
1
)
s
:=
make
([]
int
,
10
)
go
func
()
{
for
_
,
_
=
range
s
{
for
_
=
range
s
{
}
c
<-
true
}()
...
...
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