equal
deleted
inserted
replaced
53 Function responsible to return the Hash value for the received string. |
53 Function responsible to return the Hash value for the received string. |
54 |
54 |
55 @internalComponent |
55 @internalComponent |
56 @released |
56 @released |
57 |
57 |
58 @param aString - const string& on which Hash value calcualtion to be done |
58 @param aString - const string& on which Hash value calcualtion |
59 */ |
59 */ |
60 int HashTable::Hash(const string& aString) { |
60 int HashTable::Hash(const string& aString) { |
61 unsigned int hashVal = 0; |
61 unsigned int hashVal = 0; |
62 int length = aString.length() ; |
62 int length = aString.length() ; |
63 /* we start our hash out at 0 */ |
63 /* we start our hash out at 0 */ |