mirror of
https://github.com/golang/go
synced 2024-11-23 05:50:05 -07:00
all: fixed a handful of typos
Change-Id: Ib0683f27b44e2f107cca7a8dcc01d230cbcd5700 Reviewed-on: https://go-review.googlesource.com/23404 Reviewed-by: Alan Donovan <adonovan@google.com>
This commit is contained in:
parent
a640d95172
commit
93e8e70499
@ -63,19 +63,19 @@ architectures.
|
|||||||
<code>arm64</code> (<code>AArch64</code>)
|
<code>arm64</code> (<code>AArch64</code>)
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
Supports Linux and Darwin binaries. New in 1.5 and not as well excercised as other ports.
|
Supports Linux and Darwin binaries. New in 1.5 and not as well exercised as other ports.
|
||||||
</dd>
|
</dd>
|
||||||
<dt>
|
<dt>
|
||||||
<code>ppc64, ppc64le</code> (64-bit PowerPC big- and little-endian)
|
<code>ppc64, ppc64le</code> (64-bit PowerPC big- and little-endian)
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
Supports Linux binaries. New in 1.5 and not as well excercised as other ports.
|
Supports Linux binaries. New in 1.5 and not as well exercised as other ports.
|
||||||
</dd>
|
</dd>
|
||||||
<dt>
|
<dt>
|
||||||
<code>mips64, mips64le</code> (64-bit MIPS big- and little-endian)
|
<code>mips64, mips64le</code> (64-bit MIPS big- and little-endian)
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
Supports Linux binaries. New in 1.6 and not as well excercised as other ports.
|
Supports Linux binaries. New in 1.6 and not as well exercised as other ports.
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
|
@ -326,7 +326,7 @@ func TestInsertAfterUnknownMark(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Test that a list l is not modified when calling MoveAfter or MoveBefore with a mark that is not an element of l.
|
// Test that a list l is not modified when calling MoveAfter or MoveBefore with a mark that is not an element of l.
|
||||||
func TestMoveUnkownMark(t *testing.T) {
|
func TestMoveUnknownMark(t *testing.T) {
|
||||||
var l1 List
|
var l1 List
|
||||||
e1 := l1.PushBack(1)
|
e1 := l1.PushBack(1)
|
||||||
|
|
||||||
|
@ -234,7 +234,7 @@ func (r *Reader) parseRecord() (fields []string, err error) {
|
|||||||
for {
|
for {
|
||||||
haveField, delim, err := r.parseField()
|
haveField, delim, err := r.parseField()
|
||||||
if haveField {
|
if haveField {
|
||||||
// If FieldsPerRecord is greater then 0 we can assume the final
|
// If FieldsPerRecord is greater than 0 we can assume the final
|
||||||
// length of fields to be equal to FieldsPerRecord.
|
// length of fields to be equal to FieldsPerRecord.
|
||||||
if r.FieldsPerRecord > 0 && fields == nil {
|
if r.FieldsPerRecord > 0 && fields == nil {
|
||||||
fields = make([]string, 0, r.FieldsPerRecord)
|
fields = make([]string, 0, r.FieldsPerRecord)
|
||||||
|
@ -1388,7 +1388,7 @@ func gcBgMarkWorker(_p_ *p) {
|
|||||||
notewakeup(&work.bgMarkReady)
|
notewakeup(&work.bgMarkReady)
|
||||||
|
|
||||||
for {
|
for {
|
||||||
// Go to sleep until woken by gcContoller.findRunnable.
|
// Go to sleep until woken by gcController.findRunnable.
|
||||||
// We can't releasem yet since even the call to gopark
|
// We can't releasem yet since even the call to gopark
|
||||||
// may be preempted.
|
// may be preempted.
|
||||||
gopark(func(g *g, parkp unsafe.Pointer) bool {
|
gopark(func(g *g, parkp unsafe.Pointer) bool {
|
||||||
|
Loading…
Reference in New Issue
Block a user