Wayne Davison
11eb67eec9
Some memory allocation improvements
...
- All the memory-allocation macros now auto-check for failure and exit
with a failure message that incudes the caller's file and lineno
info. This includes strdup().
- Added the `--max-alloc=SIZE` option to be able to override the memory
allocator's sanity-check limit. It defaults to 1G (as before).
Fixes bugzilla bug 12769.
2020-06-25 20:54:21 -07:00
Wayne Davison
7dec4029ee
Convert a couple files to UTF-8; more Copyright years.
2020-06-13 02:41:04 -07:00
Wayne Davison
f800557824
Tweak the hashtable routines to be a little clearer and easier.
2020-06-12 17:42:41 -07:00
Wayne Davison
3e2e4b5a33
Tweak the copyright year.
2019-03-16 09:15:49 -07:00
Wayne Davison
ad17b21889
Silence fall-through warnings.
2019-01-04 15:06:30 -08:00
Wayne Davison
473108ae6e
Tweak copyright date.
2018-01-14 19:55:07 -08:00
Stefan Metzmacher
cc29b94d0f
hashtable: add hashlittle() from lookup3.c, by Bob Jenkins
...
Part of a patchset for bug 5324.
2016-08-14 14:20:19 -07:00
Wayne Davison
453914e35b
Update the copyright year.
2015-08-08 12:47:03 -07:00
Wayne Davison
dfa5b49110
Bump the year to 2014.
2014-01-26 09:29:15 -08:00
Wayne Davison
7e1a9c4d79
Update copyright year.
2013-01-19 11:05:53 -08:00
Wayne Davison
60c25caa64
Make sure we never try to store a 0 key and tweak key64 init.
2010-05-29 09:20:26 -07:00
Wayne Davison
df6350a8b8
Avoid type-punned compiler warnings for the byteorder.h macros
...
by using inline functions for the 4-char <-> uint32 conversions.
2009-10-13 21:10:57 -07:00
Wayne Davison
b3bf9b9df9
Update the copyright year.
2009-01-03 10:57:14 -08:00
Wayne Davison
b3347e2a03
Adding hashtable debugging output (--debug=hash).
2008-10-15 07:51:45 -07:00
Wayne Davison
aad635f766
Explicitly cast an int64 to an int32.
2008-07-21 23:11:23 -07:00
Wayne Davison
0c096e29aa
Added some HLINK debugging output and enabled it for hardlink tests.
2008-07-17 07:43:11 -07:00
Wayne Davison
4ecf3e0671
Improved handling of a system that doesn't have a 64-bit offset type.
2008-06-04 08:15:51 -07:00
Wayne Davison
d3d07a5e86
Include 2008 in the copyright years.
2008-03-01 12:01:41 -08:00
Wayne Davison
d6e6333a02
Store the key64 flag from hashtable_create() in the hashtable structure
...
so that hashtable_find() knows which hashtable is which on a 64-bit
architecture.
2008-02-04 07:29:22 -08:00
Wayne Davison
369233927c
The hashtable routines from hlink.c modified to have more generic names,
...
to support 2 sizes of key (32 and 64 bits), and to have a non-allocating
option for the find routine (returning NULL for no match).
2007-09-03 04:46:57 +00:00