Searched refs:hash (Results 1 – 4 of 4) sorted by relevance
76 new_hash = (unsigned*) calloc(d->size * 2, sizeof * d->hash); in dictionary_grow()90 memcpy(new_hash, d->hash, d->size * sizeof(unsigned)); in dictionary_grow()94 free(d->hash); in dictionary_grow()99 d->hash = new_hash; in dictionary_grow()121 unsigned hash ; in dictionary_hash() local128 for (hash = 0, i = 0 ; i < len ; i++) { in dictionary_hash()129 hash += (unsigned)key[i] ; in dictionary_hash()130 hash += (hash << 10); in dictionary_hash()131 hash ^= (hash >> 6) ; in dictionary_hash()133 hash += (hash << 3); in dictionary_hash()[all …]
50 unsigned * hash ; /** List of hash values for keys */ member
304 RK_U32 hash = val * GOLDEN_RATIO_32; in hash_32() local307 return hash >> (32 - bits); in hash_32()
6 # All text after a double hash (##) is considered a comment and is placed in9 # All text after a single hash (#) is considered a comment and will be ignored.