mirror of
https://github.com/golang/go
synced 2024-11-25 03:07:56 -07:00
excise some internal references.
R=r DELTA=209 (65 added, 114 deleted, 30 changed) OCL=35718 CL=35721
This commit is contained in:
parent
68c921e25c
commit
a68592a4dd
@ -1696,8 +1696,10 @@ used by both <code>TestEncoder</code> and <code>TestDecoder</code>.
|
||||
|
||||
<p>
|
||||
This data-driven style dominates in the Go package tests.
|
||||
<!--
|
||||
<br>
|
||||
<!-- search for for.*range here -->
|
||||
link to go code search for 'for.*range' here
|
||||
-->
|
||||
</p>
|
||||
|
||||
<h3 id="reflect.DeepEqual">Use reflect.DeepEqual to compare complex values</h3>
|
||||
|
@ -57,7 +57,7 @@ Next up, here's a version of the Unix utility <code>echo(1)</code>:
|
||||
<p>
|
||||
07 import (
|
||||
08 "os";
|
||||
09 "flag";
|
||||
09 "flag"; // command line option parser
|
||||
10 )
|
||||
<p>
|
||||
12 var n_flag = flag.Bool("n", false, "don't print final newline")
|
||||
|
@ -6,7 +6,7 @@ package main
|
||||
|
||||
import (
|
||||
"os";
|
||||
"flag";
|
||||
"flag"; // command line option parser
|
||||
)
|
||||
|
||||
var n_flag = flag.Bool("n", false, "don't print final newline")
|
||||
|
BIN
doc/sieve.gif
Normal file
BIN
doc/sieve.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
@ -413,8 +413,7 @@ void lock(Lock*);
|
||||
void unlock(Lock*);
|
||||
|
||||
/*
|
||||
* sleep and wakeup on one-time events, like
|
||||
* Notification (but shorter to type).
|
||||
* sleep and wakeup on one-time events.
|
||||
* before any calls to notesleep or notewakeup,
|
||||
* must call noteclear to initialize the Note.
|
||||
* then, any number of threads can call notesleep
|
||||
|
Loading…
Reference in New Issue
Block a user