Robert Griesemer 1b9734b995 1) Fix a problem with tabwriter.Flush: any pending text not yet
in a cell makes a final cell in that line
   (this showed up as occasionally missing single spaces in
   godoc-formatted declarations that fit on a single line)

2) Cleaned up tabwriter implementation a bit:
   - replaced local unicodeLen() with utf8.RuneCount()
   - instead of having 2 parallel arrays for line widths and sizes,
     have a single array of cells containing a width and size
   - factored code a bit better
   - added more comments
   - added testnames to tabwriter tests
   - added more test cases and fixed a broken test case that
     now works correctly

R=r
DELTA=279  (133 added, 62 deleted, 84 changed)
OCL=30509
CL=30514
2009-06-18 17:06:08 -07:00
2009-06-18 13:51:14 -07:00
2009-06-16 13:49:40 -07:00
2009-05-20 11:12:05 -07:00
2009-06-16 12:03:32 -07:00
Description
The Go programming language
BSD-3-Clause 629 MiB
Languages
Go 94.3%
Assembly 5.3%
C 0.2%
Shell 0.1%