1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 // |
|
16 // |
|
17 |
|
18 // HASHMAP.CPP |
1 // HASHMAP.CPP |
19 // |
2 // |
20 // This file holds the class methods for the CHashMap |
3 // This file holds the class methods for the CHashMap |
21 // A hash function for hash table lookup. Assumes input data length is a multiple of 8-bits. |
4 // A hash function for hash table lookup. Assumes input data length is a multiple of 8-bits. |
22 // |
5 // |
23 // The original hash function was sourced from http://burtleburtle.net/bob/hash/index.html |
6 // The original hash function was sourced from http://burtleburtle.net/bob/hash/index.html |
24 // "By Bob Jenkins, 1996. bob_jenkins@burtleburtle.net. You may use this code any way you wish, |
7 // "By Bob Jenkins, 1996. bob_jenkins@burtleburtle.net. You may use this code any way you wish, |
25 // private, educational, or commercial. It's free." |
8 // private, educational, or commercial. It's free." |
26 // portions Copyright (c) 1995 - 2009 Nokia Corporation. All rights reserved. |
9 // portions Copyright (c) 1995 - 2010 Nokia Corporation and/or its subsidiary(-ies). |
27 // |
10 // |
28 |
11 |
29 #include "SERVER.H" |
12 #include "SERVER.H" |
30 |
13 |
31 CHashMap::CHashMap() : |
14 CHashMap::CHashMap() : |