summaryrefslogtreecommitdiff
path: root/source3/smbd/mangle_hash2.c
AgeCommit message (Collapse)AuthorFilesLines
2002-04-12- added a mangling test suite that measures the collision rate onAndrew Tridgell1-0/+14
randomised filenames - fixed several mangling bugs that the test suite pointed out (This used to be commit 858fa7efc34f6e7cdf8500900aed3f7943c91348)
2002-04-11- the 36^6 hash space gives 31 bits, not 32 bits. We need to mask theAndrew Tridgell1-2/+4
hash to suit - the prefix ends at the last dot, not the first (This used to be commit 91a3ccd3e790f980421c1ee93388e19e87026b29)
2002-04-11a few debug statements (disabled)Andrew Tridgell1-2/+7
(This used to be commit 582f753eac7a111a93a8d6c049398a0998af848f)
2002-04-11don't treat '.' as FLAG_ASCII, instead handle it separatelyAndrew Tridgell1-2/+2
(This used to be commit ecdddd674f2ffad16eaa01a68c9c91ff3b355b3f)
2002-04-11- tidier flag checking codeAndrew Tridgell1-8/+40
- finished the is_mangled() function (This used to be commit 128bec2071d640c775b58322256ac6bb03363741)
2002-04-11added some more commentsAndrew Tridgell1-5/+15
(This used to be commit 8d6f2e239940cbac44f6f0e9d584a47553acbc56)
2002-04-11some optimisations to the new mangling systemAndrew Tridgell1-16/+44
(This used to be commit 30b35d0c1f41f72ebe230905f76db8807802a6cc)
2002-04-11this adds a completely new hash based mangling schemeAndrew Tridgell1-0/+510
the hash for this scheme is *much* larger (approximately 31 bits) and the code is written to be very fast, correctly handling multibyte while not doing any actual multi-byte conversions in the vast majority of cases you can select this scheme using "mangling method = hash2", although I may make it the default if it works out well. (This used to be commit bb173c1a7e2408ced967ebac40b5e3f852ccd3a1)