34788756d2
build: don't use './' as an include prefix
...
GCC produces ODR error when including paths of the form './foo' and
'foo' in the same binary. Rather than managing duplication we just
universally pick the absolute form over the relative form.
2017-11-22 16:49:37 +11:00
9a798446b5
build: remove unnecessary includes
...
discovered with include-what-you-use
2016-10-12 15:08:22 +11:00
2015e71f64
build: workaround enum-to-int cast warnings in LOG calls
2016-10-11 21:44:04 +11:00
c4daffc001
build: add forgotten includes
2016-07-28 13:39:27 +10:00
73579f57aa
hash: remove uint8/size_t update functions
2016-06-17 16:27:16 +10:00
ce26ce1238
hash: style
2016-06-17 16:20:09 +10:00
5e6155a51a
hash: make use of restrict and noexcept consistent
2016-06-17 16:06:46 +10:00
aeba9033e0
hash: prefer iterator style over base/length
2016-06-17 15:46:11 +10:00
640b4aa6ca
build: fix switch/enum coverage warnings
...
uncovered using clang's -Wswitch-enum
2016-05-12 17:45:29 +10:00
9bbcfa6e63
make header paths more explicit
2016-04-05 11:06:35 +10:00
424e6e8701
cast: move types/casts to cast
2015-11-17 16:19:27 +11:00
7b083df977
maths: tighten up type requirements for almost_equal
...
almost_equal only operates on two reals, or two integers (and even then
only on the same signedness).
2015-11-13 17:18:10 +11:00
2658b41ea1
relicence under Apache-2.0
2015-04-13 18:05:28 +10:00
c4df8bf905
t/casts: simplify trunc_cast, combine size_cast
2015-02-17 16:20:46 +11:00
a9bffcff08
sha1: give state enum a print operator
2014-07-02 15:40:20 +10:00
ca9db30ab4
sha1: style and whitespace
2014-07-02 15:39:53 +10:00
3c9c245075
sha1: remove dead store warning
2014-05-20 13:44:36 +10:00
304ddbfedd
whitespace
2014-05-20 13:44:27 +10:00
fc935863ef
sha1: cleanup and fix test cases
2014-04-16 18:35:09 +10:00
a601b20683
Fix bitshifting wide types on 32bit platforms
2013-08-05 16:38:47 +10:00
9bdc50df3c
Add SHA1 implementation
2013-03-11 20:47:48 +11:00