Check-in [e1778aba98]
Overview
Comment:Fixed SizedWriter behavior so that it follows io.Writer's Write(...) contract. Added more tests for 100% CC on the ioutil package. Predictor's compressor now uses SizedWriter and no longer has to do any internal buffering.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: e1778aba9806c59c858de655886f0802045e6e7a
User & Date: spaskalev on 2014-12-24 21:40:11
Other Links: manifest | tags
Context
2014-12-24
22:32
Use 0dev.org/ioutil.SizedWriter as an output buffer for pdc in both compress and decompress modes. check-in: 1717bfae3b user: spaskalev tags: trunk
21:40
Fixed SizedWriter behavior so that it follows io.Writer's Write(...) contract. Added more tests for 100% CC on the ioutil package. Predictor's compressor now uses SizedWriter and no longer has to do any internal buffering. check-in: e1778aba98 user: spaskalev tags: trunk
19:07
Implemented ioutil/SizedWriter. CC at 100%. check-in: c28a763d5e user: spaskalev tags: trunk
Changes

Modified src/0dev.org/ioutil/ioutil.go from [9da21d39e0] to [bca057263b].    [diff]

Modified src/0dev.org/ioutil/ioutil_test.go from [ac59af05f3] to [91aaac4713].    [diff]

Modified src/0dev.org/predictor/predictor.go from [1bc0c5d728] to [43e7f751ed].    [diff]

Modified src/0dev.org/predictor/predictor_test.go from [d9c16d84c9] to [0fb2d9a4c8].    [diff]