777 Commits

Author SHA1 Message Date
Yann Collet
d4c6af7ef1 Added : null length support even for invalid pointers
Added : test : null length input on invalid pointers
2014-08-06 20:33:58 +01:00
Yann Collet
c4de51307f minor formatting changes 2014-08-06 09:11:52 +01:00
Cyan4973
fa48fc2f4a Merge pull request #3 from Cyan4973/dev
Dev
2014-07-19 11:05:20 +02:00
Cyan4973
59d6f69e79 Merge pull request #2 from t-mat/dev
Fix Travis CI URLs
2014-07-18 10:18:53 +02:00
Takayuki MATSUOKA
d1886fe41e Fix Travis CI URLs
- Fix badge image URL
 - Fix branch status URL
2014-07-17 20:05:37 +09:00
Cyan4973
fb3a75cfa1 Merge pull request #1 from Cyan4973/dev
Dev
r35
2014-07-16 13:55:36 +02:00
Yann Collet
7a0ba00df8 Makefile : added -Wstrict-prototype 2014-07-15 18:37:36 +01:00
Yann Collet
26c55b1ab5 UI : minor : tester indicates 32/64 bits mode 2014-07-14 19:49:45 +01:00
Yann Collet
8d9171e957 updated : siphash results 2014-07-14 19:28:30 +01:00
Yann Collet
e551459538 Fixed : issue 18 (null input pointer)
Changed : API : length uses unsigned int
2014-07-14 16:54:56 +01:00
Yann Collet
f0f007f042 Added : Travis automated tests
and license
and readme
2014-07-10 22:44:08 +02:00
Yann Collet
70ba044ded New : XXH64, 64-bits version, thanks to Mathias Westerdahl 2014-07-10 08:28:57 +01:00
yann.collet.73@gmail.com
b22de6c9be Issue 17 : strict prototype definition for XXH32_sizeofState()
git-svn-id: https://xxhash.googlecode.com/svn/trunk@34 a90a0800-428d-89a3-ac20-94765a7798ee
2014-03-09 23:53:42 +00:00
yann.collet.73@gmail.com
7c14a40411 Corrected : aligned input detection on strict-align CPU (issue 15)
git-svn-id: https://xxhash.googlecode.com/svn/trunk@33 a90a0800-428d-89a3-ac20-94765a7798ee
2013-12-05 22:47:05 +00:00
yann.collet.73@gmail.com
6d95829a7b Corrected a bug in the compact version of XXH32. Thanks Adrien Grand for detecting it. Update is recommended.
Bench.c now also checks results integrity as part of starting sequence.

git-svn-id: https://xxhash.googlecode.com/svn/trunk@32 a90a0800-428d-89a3-ac20-94765a7798ee
2013-08-07 14:34:28 +00:00
yann.collet.73@gmail.com
99a867a14a Runtime endianess detection
removed typecast warnings for 64-bits CPU with aligned-only memory accesses
made bench.c compatible with tcc
small bench.c optimisation, reducing impact of timer calls 


git-svn-id: https://xxhash.googlecode.com/svn/trunk@31 a90a0800-428d-89a3-ac20-94765a7798ee
2013-07-25 08:40:23 +00:00
yann.collet.73@gmail.com
681ea2aad6 Support non-aligned input on strict-align CPU systems, as requested by Gregory Pakosz
Type XXH32_stateSpace_t, for static allocation ( typically for stack allocation, or freestanding systems). Suggested by Christoph Cullmann and Takayuki Matsuoka
User definable memory-related functions (malloc, free, memcpy)
Changed enum OK into XXH_OK
Restricted intrinsic _rotl to MSVC, due to poor performance under minGW

git-svn-id: https://xxhash.googlecode.com/svn/trunk@30 a90a0800-428d-89a3-ac20-94765a7798ee
2013-06-04 12:01:50 +00:00
yann.collet.73@gmail.com
107fd8f2a6 Corrected : compatibility with older GCC versions, reported by Vasiliy Ermolovich.
git-svn-id: https://xxhash.googlecode.com/svn/trunk@29 a90a0800-428d-89a3-ac20-94765a7798ee
2013-05-16 07:07:10 +00:00
yann.collet.73@gmail.com
56314ee122 New functions XXH32_sizeofState() and XXH32_resetState(), for external allocation. Thanks to Takayuki Matsuoka for suggestion.
Slightly improved speed of XXH32_update()
New mode XXH_ACCEPT_NULL_INPUT_POINTER (as a #define), suggested by Brian White and Thomas Kaiser.
Added : Makefile, for GCC
Modified Basic Types and C99 detection.

git-svn-id: https://xxhash.googlecode.com/svn/trunk@28 a90a0800-428d-89a3-ac20-94765a7798ee
2013-05-11 11:22:55 +00:00
yann.collet.73@gmail.com
70e65c925a re-enabled fast version of XXH32()
git-svn-id: https://xxhash.googlecode.com/svn/trunk@11 a90a0800-428d-89a3-ac20-94765a7798ee
2013-04-17 23:15:37 +00:00
yann.collet.73@gmail.com
ca59c9d11f Modified function names
Added null-pointer check to update()
Removed a few warnings

git-svn-id: https://xxhash.googlecode.com/svn/trunk@7 a90a0800-428d-89a3-ac20-94765a7798ee
2013-04-12 08:24:54 +00:00
yann.collet.73@gmail.com
e3fca4f187 Corrected : issue with providing a wrong hash for input of size between 4GB+1 et 4GB+15 bytes
Corrected : macro to define hardware 32-bits swap with GCC
Thanks to Adrien Grand for both issues raised.

git-svn-id: https://xxhash.googlecode.com/svn/trunk@6 a90a0800-428d-89a3-ac20-94765a7798ee
2012-12-18 16:57:42 +00:00
yann.collet.73@gmail.com
ad2c867c87 - Added : Endian-independant result
- Added : Get intermediate hashes

git-svn-id: https://xxhash.googlecode.com/svn/trunk@5 a90a0800-428d-89a3-ac20-94765a7798ee
2012-12-14 23:00:21 +00:00
yann.collet.73@gmail.com
d6a6bd9e72 New version
Added : capability to provide input in several consecutive blocks
Single version provided : XXH32() (Speed 5.4 GB/s), with a Q.Score of 10

git-svn-id: https://xxhash.googlecode.com/svn/trunk@4 a90a0800-428d-89a3-ac20-94765a7798ee
2012-12-12 19:06:11 +00:00
yann.collet.73@gmail.com
db3c9f7f3b Added : benchmark program, for easier evaluation
Corrected : _rotl() support limited to Windows; replaced with software-defined for other targets

git-svn-id: https://xxhash.googlecode.com/svn/trunk@3 a90a0800-428d-89a3-ac20-94765a7798ee
2012-05-10 01:22:58 +00:00
yann.collet.73@gmail.com
ab856b12b8 initial release
git-svn-id: https://xxhash.googlecode.com/svn/trunk@2 a90a0800-428d-89a3-ac20-94765a7798ee
2012-04-30 15:49:54 +00:00
(no author)
8a09add47b Initial directory structure.
git-svn-id: https://xxhash.googlecode.com/svn/trunk@1 a90a0800-428d-89a3-ac20-94765a7798ee
2012-04-12 21:20:40 +00:00