aboutsummaryrefslogtreecommitdiff
path: root/src/lib/hash
AgeCommit message (Collapse)Author
2009-06-09mv src/lib to src/pkgRob Pike
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102
2009-06-05rebuilt Makefiles for CL 29923Russ Cox
R=r DELTA=761 (1 added, 433 deleted, 327 changed) OCL=29927 CL=29966
2009-05-21I guess I forgot there was a unary ^ operator.Russ Cox
R=r DELTA=3 (0 added, 1 deleted, 2 changed) OCL=29151 CL=29176
2009-05-21fix build again; this time for sure.Russ Cox
(this time i ran g4 nothave) TBR=r OCL=29156 CL=29156
2009-05-21missed Makefile before; fix buildRuss Cox
TBR=dsymonds OCL=29155 CL=29155
2009-05-20hash reorg.Russ Cox
* new package hash defining interfaces Hash and Hash32. * adler32 and crc32 return Hash32 instead of specific types. * adler32 and crc32 provide non-allocating methods for single slices. * sha1 and md5 move to crypto, return Hash. * sum.go, a simple test program, moves to /usr/rsc. * refresh Make.deps R=r DELTA=1908 (935 added, 923 deleted, 50 changed) OCL=29095 CL=29135
2009-05-07make go/src/lib/hash one directory per packageRob Pike
(slipped through the cracks last time) R=rsc DELTA=2436 (1337 added, 1090 deleted, 9 changed) OCL=28427 CL=28443
2009-04-17Step 1 of the Big Error Shift: make os.Error an interface and replace ↵Rob Pike
*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-16Convert go tree to hierarchical pkg directory:Russ Cox
import ( "vector" -> "container/vector" "ast" -> "go/ast" "sha1" -> "hash/sha1" etc. ) and update Makefiles. Because I did the conversion semi-automatically, I sorted all the import blocks as a post-processing. Some files have therefore changed that didn't strictly need to. Rename local packages to lower case. The upper/lower distinction doesn't work on OS X and complicates the "single-package directories with the same package name as directory name" heuristic used by gobuild and godoc to create the correlation between source and binary locations. Now that we have a plan to avoid globally unique names, the upper/lower is unnecessary. The renamings will cause trouble for a few users, but so will the change in import paths. This way, the two maintenance fixes are rolled into one inconvenience. R=r OCL=27573 CL=27575
2009-04-16regenerate Makefiles.Russ Cox
fix bug in RPC.go (import "RPC" not "rpc.pb") R=r DELTA=483 (261 added, 64 deleted, 158 changed) OCL=27547 CL=27549
2009-04-15code changes for array conversion.Russ Cox
as a reminder, the old conversion was that you could write var arr [10]byte; var slice []byte; slice = arr; but now you have to write slice = &arr; the change eliminates an implicit &, so that the only implicit &s left are in the . operator and in string(arr). also, removed utf8.EncodeRuneToString in favor of string(rune). R=r DELTA=83 (1 added, 23 deleted, 59 changed) OCL=27531 CL=27534
2009-03-18Make adler32 cleaner.Tom Szymanski
R=rsc APPROVED=rsc DELTA=22 (9 added, 6 deleted, 7 changed) OCL=26498 CL=26500
2009-03-07document hashRob Pike
R=rsc DELTA=50 (33 added, 4 deleted, 13 changed) OCL=25878 CL=25887
2009-03-03Automated g4 rollback of changelist 25024,Russ Cox
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 Cox
only non-trivial changes are in convlit1.go golden.out R=gri OCL=25019 CL=25024
2009-01-20delete exportRuss Cox
TBR=r OCL=23121 CL=23127
2009-01-16casify hashRuss Cox
R=r DELTA=235 (6 added, 26 deleted, 203 changed) OCL=22907 CL=22938
2009-01-06new new & makeRuss Cox
R=r OCL=22166 CL=22166
2008-12-19change *map to map; *chan to chan; new(T) to new(*T)Russ Cox
fix bugs left over from *[] to [] conversion. TBR=r OCL=21576 CL=21581
2008-12-18convert *[] to [].Russ Cox
R=r OCL=21563 CL=21571
2008-11-24add missing fileRob Pike
R=rsc OCL=19926 CL=19926
2008-11-24hash writers: adler32, crc32, md5, sha1.Russ Cox
all could probably be made faster. R=r DELTA=929 (929 added, 0 deleted, 0 changed) OCL=19879 CL=19911