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