|
33317310
|
2016-08-08T17:24:04
|
|
Fix sign of shift operators
This one:
map->mask = (1 << (next_bit + bits_needed)) - (1 << next_bit);
before the fix, the shift was done as an int, causing overflow
if it ever got to 1 << 31. Sprinkle 'u's around.
Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=634805
|
|
46617a42
|
2012-06-09T01:18:58
|
|
Fix cache implementation
|
|
e4b6d503
|
2012-05-27T10:11:13
|
|
Don't use atomic ops in hb_cache_t
We don't care about linearizability, so unprotected int read/write
are enough, no need for expensive memory barriers. It's a cache,
that's all.
|
|
20fdb0f4
|
2012-05-17T22:04:45
|
|
Add a lock-free cache type for int->int functions
To be used for cmap and advance caching if desired.
|