R=r
DELTA=209 (65 added, 114 deleted, 30 changed)
OCL=35718
CL=35721
<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>
<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")
import (
"os";
- "flag";
+ "flag"; // command line option parser
)
var n_flag = flag.Bool("n", false, "don't print final newline")
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