|
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 |
1 // HASHMAP.CPP |
18 // HASHMAP.CPP |
2 // |
19 // |
3 // This file holds the class methods for the CHashMap |
20 // This file holds the class methods for the CHashMap |
4 // A hash function for hash table lookup. Assumes input data length is a multiple of 8-bits. |
21 // A hash function for hash table lookup. Assumes input data length is a multiple of 8-bits. |
5 // |
22 // |
6 // The original hash function was sourced from http://burtleburtle.net/bob/hash/index.html |
23 // The original hash function was sourced from http://burtleburtle.net/bob/hash/index.html |
7 // "By Bob Jenkins, 1996. bob_jenkins@burtleburtle.net. You may use this code any way you wish, |
24 // "By Bob Jenkins, 1996. bob_jenkins@burtleburtle.net. You may use this code any way you wish, |
8 // private, educational, or commercial. It's free." |
25 // private, educational, or commercial. It's free." |
9 // portions Copyright (c) 1995 - 2010 Nokia Corporation and/or its subsidiary(-ies). |
26 // portions Copyright (c) 1995 - 2009 Nokia Corporation. All rights reserved. |
10 // |
27 // |
11 |
28 |
12 #include "SERVER.H" |
29 #include "SERVER.H" |
13 |
30 |
14 CHashMap::CHashMap() : |
31 CHashMap::CHashMap() : |