| OLD | NEW |
| 1 # Copyright (C) 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 1 # Copyright (C) 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
| 2 # Copyright (C) 2006 Anders Carlsson <andersca@mac.com> | 2 # Copyright (C) 2006 Anders Carlsson <andersca@mac.com> |
| 3 # Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org> | 3 # Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org> |
| 4 # Copyright (C) 2006 Alexey Proskuryakov <ap@webkit.org> | 4 # Copyright (C) 2006 Alexey Proskuryakov <ap@webkit.org> |
| 5 # Copyright (C) 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. | 5 # Copyright (C) 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. |
| 6 # Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> | 6 # Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> |
| 7 # Copyright (C) Research In Motion Limited 2010. All rights reserved. | 7 # Copyright (C) Research In Motion Limited 2010. All rights reserved. |
| 8 # Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 8 # Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
| 9 # Copyright (C) 2011 Patrick Gansterer <paroga@webkit.org> | 9 # Copyright (C) 2011 Patrick Gansterer <paroga@webkit.org> |
| 10 # Copyright (C) 2012 Ericsson AB. All rights reserved. | 10 # Copyright (C) 2012 Ericsson AB. All rights reserved. |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 # This avoids ever returning a hash code of 0, since that is used to | 84 # This avoids ever returning a hash code of 0, since that is used to |
| 85 # signal "hash not computed yet". Setting the high bit maintains | 85 # signal "hash not computed yet". Setting the high bit maintains |
| 86 # reasonable fidelity to a hash code of 0 because it is likely to yield | 86 # reasonable fidelity to a hash code of 0 because it is likely to yield |
| 87 # exactly 0 when hash lookup masks out the high bits. | 87 # exactly 0 when hash lookup masks out the high bits. |
| 88 $hash = (0x80000000 >> 8) if ($hash == 0); | 88 $hash = (0x80000000 >> 8) if ($hash == 0); |
| 89 | 89 |
| 90 return $hash; | 90 return $hash; |
| 91 } | 91 } |
| 92 | 92 |
| 93 1; | 93 1; |
| OLD | NEW |