lib/bitrotate.h


Log

Author Commit Date CI Message
Jim Meyering b2e2010c 2010-01-01T10:31:12 update nearly all FSF copyright year lists to include 2010 Use the same procedure as for 2009, outlined in http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/20081
Eric Blake 3ea71492 2009-06-18T13:31:11 hash: make rotation more obvious * modules/hash (Depends-on): Add bitrotate and stdint. * lib/bitrotate.h (rotl_sz, rotr_sz): New functions. * lib/hash.c (headers): Drop limits.h. Add stdint.h. (SIZE_MAX): Rely on headers for definition. (hash_string) [USE_DIFF_HASH]: Use rotl_sz. (raw_hasher): Use rotr_sz. Suggested by Jim Meyering. Signed-off-by: Eric Blake <ebb9@byu.net>
Simon Josefsson e6f0227e 2008-09-08T12:15:14 bitrotate: Use UINT*_MAX constants. Doc string improvement.
Simon Josefsson b729ee98 2008-09-02T16:59:57 bitrotate: Code improvements.
Simon Josefsson 4316d00d 2008-09-02T15:53:09 bitrotate: Add 64-bit rotates. Suggested by Bruce Korb <bruce.korb@gmail.com> with ideas from Ben Pfaff <blp@cs.stanford.edu> and Bruno Haible <bruno@clisp.org>.
Simon Josefsson e6a0d376 2008-09-01T13:55:05 bitrotate: Add 8 bit rotate functions.
Simon Josefsson 69009347 2008-09-01T09:27:04 Fix bitrotate module.
Simon Josefsson ca19d955 2008-08-29T14:51:37 Add bitrotate module.