imgtools/imgcheck/src/hash.cpp
changeset 713 7b7f0409fc00
parent 703 a23be6984256
equal deleted inserted replaced
712:df89378e9223 713:7b7f0409fc00
    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 */