X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fhash%2Fhash.c;h=88d88fcc74614fa4a86e3bb5038329c5a8d4c21a;hb=d1a951b82386391b82e48b32403891f85e253565;hp=59c4d24b3b989013a6ef7004f99e62151dc6ebfc;hpb=233190071e5834e1a701d6d2ef4bc0a46cecc537;p=ccan diff --git a/ccan/hash/hash.c b/ccan/hash/hash.c index 59c4d24b..88d88fcc 100644 --- a/ccan/hash/hash.c +++ b/ccan/hash/hash.c @@ -1,3 +1,4 @@ +/* CC0 (Public domain) - see LICENSE file for details */ /* ------------------------------------------------------------------------------- lookup3.c, by Bob Jenkins, May 2006, Public Domain. @@ -280,7 +281,7 @@ static uint32_t hashlittle( const void *key, size_t length, uint32_t *val2 ) * rest of the string. Every machine with memory protection I've seen * does it on word boundaries, so is OK with this. But VALGRIND will * still catch it and complain. The masking trick does make the hash - * noticably faster for short strings (like English words). + * noticeably faster for short strings (like English words). * * Not on my testing with gcc 4.5 on an intel i5 CPU, at least --RR. */ @@ -457,7 +458,7 @@ static uint32_t hashbig( const void *key, size_t length, uint32_t *val2) * rest of the string. Every machine with memory protection I've seen * does it on word boundaries, so is OK with this. But VALGRIND will * still catch it and complain. The masking trick does make the hash - * noticably faster for short strings (like English words). + * noticeably faster for short strings (like English words). * * Not on my testing with gcc 4.5 on an intel i5 CPU, at least --RR. */