reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
167 key_bits = isl_hash_bits(key_hash, table->bits); 168 size = 1 << table->bits; 169 for (h = key_bits; table->entries[h].data; h = (h+1) % size) 170 if (table->entries[h].hash == key_hash && 171 eq(table->entries[h].data, val)) 172 return &table->entries[h]; 177 if (4 * table->n >= 3 * size) { 178 if (grow_table(ctx, table) < 0) 180 return isl_hash_table_find(ctx, table, key_hash, eq, val, 1); 183 table->n++; 184 table->entries[h].hash = key_hash; 186 return &table->entries[h];