summaryrefslogtreecommitdiff
path: root/test/chan/powser1.go
Commit message (Collapse)AuthorAgeFilesLines
* test/chan: document testsRob Pike2012-02-191-0/+2
| | | | | | R=golang-dev, bradfitz CC=golang-dev http://codereview.appspot.com/5677094
* test: use testlib (first 100)Russ Cox2012-02-161-1/+1
| | | | | | | | | | | X ,s;^// \$G (\$D/)?\$F\.go *$;// compile;g X ,s;^// \$G (\$D/)?\$F\.go && \$L \$F\.\$A *$;// build;g X ,s;^// \$G (\$D/)?\$F\.go && \$L \$F\.\$A && \./\$A\.out *$;// run;g X ,s;^// errchk \$G( -e)? (\$D/)?\$F\.go *$;// errorcheck;g R=golang-dev, bradfitz CC=golang-dev http://codereview.appspot.com/5656082
* test: remove semiocolons.Rob Pike2010-09-041-290/+289
| | | | | | | | The ken directory is untouched so we have some examples with explicit semis. R=gri CC=golang-dev http://codereview.appspot.com/2157041
* making some more non-gofmt'ed files save for new semicolon ruleRobert Griesemer2009-12-091-12/+24
| | | | | R=rsc, r http://codereview.appspot.com/171051
* convert non-pkg go files to whole-package compilation.Russ Cox2009-08-121-4/+2
| | | | | | | | | mostly removing forward declarations. R=r DELTA=138 (2 added, 127 deleted, 9 changed) OCL=33068 CL=33099
* move things out of sys into os and runtimeRuss Cox2009-05-081-1/+3
| | | | | | R=r OCL=28569 CL=28573
* Automated g4 rollback of changelist 25024,Russ Cox2009-03-031-1/+1
| | | | | | | | | | plus significant hand editing. Back to T{x} for composite literals. R=r OCL=25612 CL=25632
* convert composite literals from { } to ( ).Russ Cox2009-02-131-1/+1
| | | | | | | | | | only non-trivial changes are in convlit1.go golden.out R=gri OCL=25019 CL=25024
* powser cleanup.Rob Pike2009-02-061-111/+98
| | | | | | | | | | | | | | - don't need *struct - don't need item/rat both - closures make the inner slaves easier - delete some old BUG comments powser2 is left mostly alone, for variety. R=rsc DELTA=134 (2 added, 20 deleted, 112 changed) OCL=24579 CL=24581
* delete exportRuss Cox2009-01-201-28/+28
| | | | | | TBR=r OCL=23121 CL=23127
* convert tests; nothing interesting.Russ Cox2009-01-161-29/+28
| | | | | | R=r OCL=23012 CL=23014
* casify, cleanup sysRuss Cox2009-01-161-2/+2
| | | | | | R=r OCL=22978 CL=22984
* new new & makeRuss Cox2009-01-061-12/+12
| | | | | | R=r OCL=22166 CL=22166
* change *map to map; *chan to chan; new(T) to new(*T)Russ Cox2008-12-191-16/+13
| | | | | | | | fix bugs left over from *[] to [] conversion. TBR=r OCL=21576 CL=21581
* convert *[] to [].Russ Cox2008-12-181-4/+4
| | | | | | R=r OCL=21563 CL=21571
* Fix powser1.go to compile with the current 6g, which doesn'tIan Lance Taylor2008-11-051-2/+2
| | | | | | | | | | recognize methods for a variable whose type is a named type which is a pointer type. Add bug117 to test this case. R=r DELTA=24 (22 added, 0 deleted, 2 changed) OCL=18547 CL=18554
* Don't use a named pointer type as a receiver type. TheIan Lance Taylor2008-11-051-2/+2
| | | | | | | | | | | | | current spec forbids it: The type specified by the type name is called ``receiver base type''. The receiver base type must be a type declared in the current file, and it must not be a pointer type. R=r DELTA=2 (0 added, 0 deleted, 2 changed) OCL=18527 CL=18541
* update code to follow new semicolon rules:Russ Cox2008-10-071-4/+4
| | | | | | | | | | | | | * 1. all statements and declarations are terminated by semicolons * 2. semicolons can be omitted at top level. * 3. semicolons can be omitted before and after the closing ) or } * on a list of statements or declarations. /home/rsc/bin/addsemi and then diff+tweak. R=r,gri OCL=16620 CL=16643
* fix method use bug in powser1.Russ Cox2008-10-041-6/+6
| | | | | | | R=r DELTA=7 (2 added, 2 deleted, 3 changed) OCL=16495 CL=16499
* update tests to new communications syntaxRob Pike2008-09-161-30/+30
| | | | | | | | powser1.go has not been tested - waiting for compiler to catch up R=ken OCL=15415 CL=15415
* fixes for funcs without returnsRob Pike2008-09-111-1/+1
| | | | | | R=ken OCL=15170 CL=15170
* arraysKen Thompson2008-08-271-3/+3
| | | | | | R=r OCL=14603 CL=14603
* fix bug depot:Rob Pike2008-08-111-21/+21
| | | | | | | | | 1) fix print statements, panic statements (parentheses required) 2) len is now allowed as a var name (bug053) R=gri OCL=14106 CL=14106
* workaround for compiler bug: len(a) is zeroRob Pike2008-08-051-3/+3
| | | | | | TBR=iant OCL=13873 CL=13873
* use real selectRob Pike2008-07-281-64/+15
| | | | | | R=ken OCL=13519 CL=13519
* start of selectKen Thompson2008-07-201-20/+18
| | | | | | random bugs fixed SVN=128149
* add an eval function (written by ken)Rob Pike2008-07-191-0/+18
| | | | SVN=128122
* add doug's power series packageRob Pike2008-07-181-0/+748
SVN=128063