summaryrefslogtreecommitdiff
path: root/src/pkg/compress/flate/inflate.go
AgeCommit message (Collapse)AuthorFilesLines
2014-06-19Imported Upstream version 1.3upstream/1.3Michael Stapelberg1-2/+2
2013-12-03Imported Upstream version 1.2upstream/1.2Michael Stapelberg1-2/+17
2013-05-14Imported Upstream version 1.1upstream/1.1Michael Stapelberg1-3/+0
2013-03-04Imported Upstream version 1.1~hg20130304upstream/1.1_hg20130304Michael Stapelberg1-133/+122
2012-04-06Imported Upstream version 1upstream/1Ondřej Surý1-22/+21
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý1-0/+708
2011-09-13Imported Upstream version 60Ondřej Surý1-708/+0
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý1-94/+155
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý1-3/+30
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-11/+20
2010-05-27changes &x -> x[0:] for array to slice conversionRuss Cox1-1/+1
R=gri CC=golang-dev http://codereview.appspot.com/1326042
2010-05-07compress: renamings.Rob Pike1-16/+16
NewDeflater -> NewWriter NewInflater -> NewReader Deflater -> Compressor Inflater -> Decompressor R=rsc CC=golang-dev http://codereview.appspot.com/1166041
2009-12-15 1) Change default gofmt default settings forRobert Griesemer1-170/+170
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 1st set of files. R=rsc CC=agl, golang-dev, iant, ken2, r http://codereview.appspot.com/180047
2009-11-09 - replaced gofmt expression formatting algorithm withRobert Griesemer1-22/+22
rsc's algorithm - applied gofmt -w misc src - partial CL (remaining files in other CLs) R=rsc, r http://go/go-review/1026036
2009-11-09remove semis after statements in one-statement statement listsRobert Griesemer1-52/+52
R=rsc, r http://go/go-review/1025029
2009-11-08assorted cleanupRuss Cox1-1/+0
R=r, iant CC=go-dev http://go/go-review/1025024
2009-11-06Typo fixes.David Symonds1-1/+1
R=rsc CC=go-dev http://go/go-review/1026014 Committer: Russ Cox <rsc@golang.org>
2009-11-06- fine-tuning of one-line func heuristic (nodes.go)Robert Griesemer1-3/+1
- enabled for function declarations (not just function literals) - applied gofmt -w $GOROOT/src (look for instance at src/pkg/debug/elf/elf.go) R=r, rsc CC=go-dev http://go/go-review/1026006
2009-11-04gofmt-ify compressRobert Griesemer1-3/+1
R=rsc http://go/go-review/1016045
2009-10-08more lgtm files from gofmtRuss Cox1-11/+11
R=gri OCL=35485 CL=35488
2009-10-06another round of gofmt applicationsRuss Cox1-48/+46
R=gri DELTA=900 (106 added, 31 deleted, 763 changed) OCL=35384 CL=35396
2009-09-29Deflate encoderIvan Krasin1-36/+0
APPROVED=rsc OCL=34514 CL=35093
2009-09-15more "declared and not used".Russ Cox1-1/+1
the last round omitted := range and only checked 1 out of N vars in a multi-var := R=r OCL=34624 CL=34638
2009-08-20Fix inflate.go's decompressing of a fixed Huffman block that hasNigel Tao1-3/+2
length-distance pairs. The new test data was generated by "gzip shesells.txt", which is presumably what you (rsc) did before, for the other test cases in gunzip_test.go. R=rsc APPROVED=rsc DELTA=21 (17 added, 2 deleted, 2 changed) OCL=33582 CL=33616
2009-08-12convert non-low-level non-google pkg codeRuss Cox1-7/+0
to whole-package compilation. R=r OCL=33070 CL=33101
2009-07-27Fixed a small bug with compress/flate/Inflater. It incorrectly checkedIvan Krasin1-1/+1
the size of chunk with uncompressed data (00 is terms of DEFLATE). APPROVED=rsc DELTA=15 (14 added, 0 deleted, 1 changed) OCL=32105 CL=32238
2009-06-25Change os.Error convention:Russ Cox1-18/+13
echo back context of call in error if likely to be useful. For example, if os.Open("/etc/passwd", os.O_RDONLY) fails with syscall.EPERM, it returns as the os.Error &PathError{ Op: "open", Path: "/etc/passwd" Error: os.EPERM } which formats as open /etc/passwd: permission denied Not converted: datafmt go/... google/... regexp tabwriter template R=r DELTA=1153 (561 added, 156 deleted, 436 changed) OCL=30738 CL=30781
2009-06-22introduce os.EOF and io.ErrUnexpectedEOF.Russ Cox1-8/+2
remove io.ErrEOF. rename io.FullRead to io.ReadFull, to match ReadAtLeast and ReadAll. remove io.FullReader, because it is now unused. R=r DELTA=295 (88 added, 105 deleted, 102 changed) OCL=30544 CL=30588
2009-06-09mv src/lib to src/pkgRob Pike1-0/+673
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102