summaryrefslogtreecommitdiff
path: root/src/lib/bufio_test.go
AgeCommit message (Collapse)AuthorFilesLines
2009-04-17Step 1 of the Big Error Shift: make os.Error an interface and replace ↵Rob Pike1-6/+6
*os.Errors with os.Errors. lib/template updated to use new setup; its clients also updated. Step 2 will make os's error support internally much cleaner. R=rsc OCL=27586 CL=27586
2009-04-06make NewBufRead etc. idempotentRob Pike1-0/+47
R=rsc DELTA=63 (59 added, 0 deleted, 4 changed) OCL=27143 CL=27143
2009-04-06an early 6g limitation forced the use ofRuss Cox1-1/+1
string(b)[0:n] instead of the more direct string(b[0:n]). convert to the more direct form. R=r DELTA=5 (0 added, 0 deleted, 5 changed) OCL=27082 CL=27140
2009-03-07document bufioRob Pike1-3/+3
R=rsc DELTA=61 (27 added, 2 deleted, 32 changed) OCL=25877 CL=25889
2009-03-06delete vestigial references to package syscallRob Pike1-1/+0
R=rsc DELTA=8 (0 added, 5 deleted, 3 changed) OCL=25857 CL=25861
2009-03-03Automated g4 rollback of changelist 25024,Russ Cox1-20/+20
plus significant hand editing. Back to T{x} for composite literals. R=r OCL=25612 CL=25632
2009-02-13convert composite literals from { } to ( ).Russ Cox1-20/+20
only non-trivial changes are in convlit1.go golden.out R=gri OCL=25019 CL=25024
2009-02-03bufio:Russ Cox1-2/+2
* avoid large copies * NewBufRead, NewBufWrite never fail * add BufReadWrite io: * add io.Close http, google/net/rpc: * add, use http.Conn.Hijack R=r DELTA=416 (202 added, 123 deleted, 91 changed) OCL=24153 CL=24238
2009-01-30update go code tree to new func rules.Russ Cox1-7/+7
R=r DELTA=367 (111 added, 59 deleted, 197 changed) OCL=23957 CL=23960
2009-01-20delete exportRuss Cox1-3/+3
TBR=r OCL=23121 CL=23127
2009-01-15casify fixup for bufioRob Pike1-67/+59
R=rsc DELTA=88 (0 added, 12 deleted, 76 changed) OCL=22884 CL=22890
2009-01-15printf->Printf etc.Rob Pike1-1/+1
the raw fmt routines will be another, smaller but subtler pass. R=rsc DELTA=157 (0 added, 0 deleted, 157 changed) OCL=22851 CL=22851
2009-01-06new new & makeRuss Cox1-8/+8
R=r OCL=22166 CL=22166
2008-12-19change *map to map; *chan to chan; new(T) to new(*T)Russ Cox1-5/+5
fix bugs left over from *[] to [] conversion. TBR=r OCL=21576 CL=21581
2008-12-18convert *[] to [].Russ Cox1-24/+23
R=r OCL=21563 CL=21571
2008-11-24convert tests.Russ Cox1-0/+342
refine gotest's test selection criteria. R=r DELTA=1590 (745 added, 844 deleted, 1 changed) OCL=19903 CL=19936