[squid-dev] [PATCH] coverity-fixes, part 2: SBuf hasher

Kinkie gkinkie at gmail.com
Mon Aug 24 17:13:24 UTC 2015


Hi,
  this is part 2 of the coverity-fixes merge: SBuf hash.
This code allows to have std::unordered_maps where the key is a SBuf, in
case-sensitive and case-insensitive variants. The hashing is the same as
used in the current Squid hash implementation (from lib/hash.cc) in order
not to upset the current uses. More specific algorithms can be implemented
by future users if they wish to.



-- 
    Francesco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20150824/61f38bac/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: coverity-fixes-sbufhasher.patch
Type: application/octet-stream
Size: 2685 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20150824/61f38bac/attachment.obj>


More information about the squid-dev mailing list